1 /* SPDX-License-Identifier: GPL-2.0 */
8 * Write random or indexed TLB entry, and care about the hazards from
9 * the preceding mtc0 and for the following eret.
11 enum tlb_write_entry
{
18 void build_get_pmde64(u32
**p
, struct uasm_label
**l
, struct uasm_reloc
**r
,
19 unsigned int tmp
, unsigned int ptr
);
20 void build_get_pgde32(u32
**p
, unsigned int tmp
, unsigned int ptr
);
21 void build_get_ptep(u32
**p
, unsigned int tmp
, unsigned int ptr
);
22 void build_update_entries(u32
**p
, unsigned int tmp
, unsigned int ptep
);
23 void build_tlb_write_entry(u32
**p
, struct uasm_label
**l
,
24 struct uasm_reloc
**r
,
25 enum tlb_write_entry wmode
);
26 void build_tlb_refill_handler(void);
28 extern void handle_tlbl(void);
29 extern char handle_tlbl_end
[];
31 extern void handle_tlbs(void);
32 extern char handle_tlbs_end
[];
34 extern void handle_tlbm(void);
35 extern char handle_tlbm_end
[];
37 #endif /* __ASM_TLBEX_H */