1 /* SPDX-License-Identifier: GPL-2.0 */
3 .globl arch_kgdb_breakpoint
4 .type arch_kgdb_breakpoint,#function
9 .size arch_kgdb_breakpoint,.-arch_kgdb_breakpoint
12 .type __do_privact,#function
15 stxa %g0, [%g3] ASI_DMMU ! Clear FaultValid bit
19 109: or %g7, %lo(109b), %g7
21 add %sp, PTREGS_OFF, %o0
23 .size __do_privact,.-__do_privact
25 .type do_mna,#function
30 /* Setup %g4/%g5 now as they are used in the
35 ldxa [%g4] ASI_DMMU, %g4
36 ldxa [%g3] ASI_DMMU, %g5
37 stxa %g0, [%g3] ASI_DMMU ! Clear FaultValid bit
39 bgu,pn %icc, winfix_mna
42 1: sethi %hi(109f), %g7
44 109: or %g7, %lo(109b), %g7
47 call mem_address_unaligned
48 add %sp, PTREGS_OFF, %o0
52 .type do_lddfmna,#function
56 ldxa [%g4] ASI_DMMU, %g5
57 stxa %g0, [%g4] ASI_DMMU ! Clear FaultValid bit
60 ldxa [%g4] ASI_DMMU, %g4
62 109: or %g7, %lo(109b), %g7
66 add %sp, PTREGS_OFF, %o0
68 .size do_lddfmna,.-do_lddfmna
70 .type do_stdfmna,#function
74 ldxa [%g4] ASI_DMMU, %g5
75 stxa %g0, [%g4] ASI_DMMU ! Clear FaultValid bit
78 ldxa [%g4] ASI_DMMU, %g4
80 109: or %g7, %lo(109b), %g7
84 add %sp, PTREGS_OFF, %o0
87 .size do_stdfmna,.-do_stdfmna
89 .type breakpoint_trap,#function
92 add %sp, PTREGS_OFF, %o0
95 .size breakpoint_trap,.-breakpoint_trap