6 * %g2 : Secondary temporary used by SKB data helper stubs.
7 * %g3 : packet offset passed into SKB data helper stubs.
8 * %o0 : pointer to skb (first argument given to JIT function)
9 * %o1 : BPF A accumulator
10 * %o2 : BPF X accumulator
11 * %o3 : Holds saved %o7 so we can call helper functions without needing
12 * to allocate a register window.
13 * %o4 : skb->len - skb->data_len
42 /* assembly code in arch/sparc/net/bpf_jit_asm.S */
43 extern u32 bpf_jit_load_word
[];
44 extern u32 bpf_jit_load_half
[];
45 extern u32 bpf_jit_load_byte
[];
46 extern u32 bpf_jit_load_byte_msh
[];
47 extern u32 bpf_jit_load_word_positive_offset
[];
48 extern u32 bpf_jit_load_half_positive_offset
[];
49 extern u32 bpf_jit_load_byte_positive_offset
[];
50 extern u32 bpf_jit_load_byte_msh_positive_offset
[];
51 extern u32 bpf_jit_load_word_negative_offset
[];
52 extern u32 bpf_jit_load_half_negative_offset
[];
53 extern u32 bpf_jit_load_byte_negative_offset
[];
54 extern u32 bpf_jit_load_byte_msh_negative_offset
[];
60 #define r_saved_O7 %o3
62 #define r_SKB_DATA %o5
68 #endif /* _BPF_JIT_H */