mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 15:13:55 +08:00
e3bf4c61da
Like other JITs, sparc64 maintains an array of instruction offsets but stores the entries off by one. This is done because jumps to the exit block are indexed to one past the last BPF instruction. So if we size the array by the program length, we need to record the previous instruction in order to stay within the array bounds. This is explained in ARM JIT commit |
||
---|---|---|
.. | ||
bpf_jit_32.h | ||
bpf_jit_64.h | ||
bpf_jit_asm_32.S | ||
bpf_jit_asm_64.S | ||
bpf_jit_comp_32.c | ||
bpf_jit_comp_64.c | ||
Makefile |