Skip to content

Commit ae298b0

Browse files
committed
Don't require R10 to be read-only
Leave it up to the verifier Signed-off-by: Dave Thaler <[email protected]>
1 parent a9bf07c commit ae298b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

isa/kernel.org/instruction-set.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ The eBPF calling convention is defined as:
3030
* R0: return value from function calls, and exit value for eBPF programs
3131
* R1 - R5: arguments for function calls
3232
* R6 - R9: callee saved registers that function calls will preserve
33-
* R10: read-only frame pointer to access stack
33+
* R10: frame pointer to access stack
3434

3535
Registers R0 - R5 are scratch registers, meaning the BPF program needs to either
3636
spill them to the BPF stack or move them to callee saved registers if these

0 commit comments

Comments
 (0)