We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bf8e4b commit 7999841Copy full SHA for 7999841
sw/cheri/CMakeLists.txt
@@ -42,3 +42,4 @@ add_subdirectory(common)
42
add_subdirectory(checks)
43
add_subdirectory(tests)
44
add_subdirectory(error_leds)
45
+add_subdirectory(cap_modification_instructions_testing)
sw/cheri/common/boot.S
@@ -89,6 +89,14 @@ start:
89
csetaddr cgp, cs0, t0
90
91
cmove ca0, cs0
92
+ cspecialr cs0, mscratchc
93
+ cmove ca1, cs0
94
+
95
+ auipcc cs1, 0 // Get PCC with offset = 0 (i.e., code root)
96
+ li t0, 0
97
+ csetaddr cs1, cs1, t0 // Setting the address of the execute root to 0
98
+ cmove ca2, cs1 // Pass it in ca2
99
100
ccall entry_point
101
102
// Infinite loop if the entry point ever returns
0 commit comments