CHERIoT RTOS
A compartmentalised RTOS for CHERIoT hardware
Toggle main menu visibility
Loading...
Searching...
No Matches
sdk
include
platform
sunburst
platform-early_boot.inc
1
/*
2
* The shadow memory may not be zeroed; ensure it is before we start or
3
* random capability loads will fail.
4
*
5
* boot.S will have ensured that ca4 holds the RW root cap at this point,
6
* and provides the .Lfill_block symbol.
7
*/
8
la_abs a0, __export_mem_shadow
9
csetaddr ca0, ca4, a0
10
la_abs a1, __export_mem_shadow_end
11
.Lzero_shadow:
12
csc c0, 0(ca0)
13
cincoffset ca0, ca0, 8
14
bltu a0, a1, .Lzero_shadow
Generated by
1.18.0