Proposal: Magic number in boot register
Jonathan Behrens <behrensj@...>
To start off discussion about requirements that should go into the platform spec, I propose a simple change to current software:
When entering S-mode for the first time, the a2 register should contain the value 0x54414c5058494e55 ("UNIXPLAT").
The intention here is that software should be able to look for this value and know that it has been booted in a Supervisor Execution Environment that is compliant with the Unix-class platform spec. This would distinguish both from old implementations that only support SBI v0.1, but also possible future execution environments designed by other groups.