1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef __ASM_TLBEX_H 3 #define __ASM_TLBEX_H 4 5 #include <asm/uasm.h> 6 7 /* 8 * Write random or indexed TLB entry, and care 9 * the preceding mtc0 and for the following er 10 */ 11 enum tlb_write_entry { 12 tlb_random, 13 tlb_indexed 14 }; 15 16 extern int pgd_reg; 17 18 void build_get_pmde64(u32 **p, struct uasm_lab 19 unsigned int tmp, unsign 20 void build_get_pgde32(u32 **p, unsigned int tm 21 void build_get_ptep(u32 **p, unsigned int tmp, 22 void build_update_entries(u32 **p, unsigned in 23 void build_tlb_write_entry(u32 **p, struct uas 24 struct uasm_reloc * 25 enum tlb_write_entr 26 void build_tlb_refill_handler(void); 27 28 extern void handle_tlbl(void); 29 extern char handle_tlbl_end[]; 30 31 extern void handle_tlbs(void); 32 extern char handle_tlbs_end[]; 33 34 extern void handle_tlbm(void); 35 extern char handle_tlbm_end[]; 36 37 #endif /* __ASM_TLBEX_H */ 38
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.