Home
last modified time | relevance | path

Searched refs:trap (Results 1 – 25 of 106) sorted by relevance

12345

/arch/m68k/68000/
Dromvec.S15 .global trap symbol
21 .long CONFIG_RAMBASE+CONFIG_RAMSIZE-4, _start, buserr, trap
22 .long trap, trap, trap, trap
23 .long trap, trap, trap, trap
24 .long trap, trap, trap, trap
25 .long trap, trap, trap, trap
26 .long trap, trap, trap, trap
27 .long trap, trap, trap, trap
28 .long trap, trap, trap, trap
30 .long system_call, trap, trap, trap
[all …]
/arch/m68k/68360/
Dhead-rom.S297 .long trap /* Address Error - 3. */
298 .long trap /* Illegal Instruction - 4. */
299 .long trap /* Divide by zero - 5. */
300 .long trap /* CHK, CHK2 Instructions - 6. */
301 .long trap /* TRAPcc, TRAPV Instructions - 7. */
302 .long trap /* Privilege Violation - 8. */
303 .long trap /* Trace - 9. */
304 .long trap /* Line 1010 Emulator - 10. */
305 .long trap /* Line 1111 Emualtor - 11. */
306 .long trap /* Harware Breakpoint - 12. */
[all …]
Dhead-ram.S286 .long trap /* Address Error - 3. */
287 .long trap /* Illegal Instruction - 4. */
288 .long trap /* Divide by zero - 5. */
289 .long trap /* CHK, CHK2 Instructions - 6. */
290 .long trap /* TRAPcc, TRAPV Instructions - 7. */
291 .long trap /* Privilege Violation - 8. */
292 .long trap /* Trace - 9. */
293 .long trap /* Line 1010 Emulator - 10. */
294 .long trap /* Line 1111 Emualtor - 11. */
295 .long trap /* Harware Breakpoint - 12. */
[all …]
Dints.c31 asmlinkage void trap(void);
67 _ramvec[3] = trap; in trap_init()
68 _ramvec[4] = trap; in trap_init()
69 _ramvec[5] = trap; in trap_init()
70 _ramvec[6] = trap; in trap_init()
71 _ramvec[7] = trap; in trap_init()
72 _ramvec[8] = trap; in trap_init()
73 _ramvec[9] = trap; in trap_init()
74 _ramvec[10] = trap; in trap_init()
75 _ramvec[11] = trap; in trap_init()
[all …]
/arch/frv/kernel/
Dentry-table.S19 # Declare the main trap and vector tables
23 # (1) The trap table for debug mode
24 # (2) The trap table for kernel mode
25 # (3) The trap table for user mode
35 # The user and kernel trap tables use the same prologue for normal
39 # (5) The fixup table for kernel-trap single-step
40 # (6) The fixup table for user-trap single-step
47 # The linker script places the user mode and kernel mode trap tables on to
53 # trap table for entry from debug mode
54 .section .trap.break,"ax"
[all …]
Dvmlinux.lds.S45 .trap : {
49 *(.trap.user) argument
50 *(.trap.kernel)
52 *(.trap.break)
82 *(.trap.vector)
86 *(.trap.fixup.user .trap.fixup.kernel)
/arch/powerpc/include/asm/
Dptrace.h130 #define FULL_REGS(regs) (((regs)->trap & 1) == 0)
132 #define IS_CRITICAL_EXC(regs) (((regs)->trap & 2) != 0)
133 #define IS_MCHECK_EXC(regs) (((regs)->trap & 4) != 0)
134 #define IS_DEBUG_EXC(regs) (((regs)->trap & 8) != 0)
136 #define TRAP(regs) ((regs)->trap & ~0xF)
139 #define CHECK_FULL_REGS(regs) BUG_ON(regs->trap & 1)
144 if ((regs)->trap & 1) \
Dtrace.h149 TP_PROTO(unsigned long addr, unsigned long access, unsigned long trap),
150 TP_ARGS(addr, access, trap),
154 __field(unsigned long, trap)
160 __entry->trap = trap;
164 __entry->addr, __entry->access, __entry->trap)
Dmmu-hash64.h325 unsigned long vsid, pte_t *ptep, unsigned long trap,
328 unsigned long vsid, pte_t *ptep, unsigned long trap,
331 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap);
333 unsigned long access, unsigned long trap,
335 extern int hash_page(unsigned long ea, unsigned long access, unsigned long trap,
338 pte_t *ptep, unsigned long trap, unsigned long flags,
342 unsigned long vsid, pmd_t *pmdp, unsigned long trap,
347 unsigned long trap, unsigned long flags, in __hash_page_thp() argument
355 unsigned long vsid, unsigned long trap,
/arch/m68k/coldfire/
Dvectors.c38 asmlinkage void trap(void);
53 _ramvec[i] = trap; in trap_init()
55 _ramvec[i] = trap; in trap_init()
/arch/m68k/ifpsp060/
Dfskeleton.S83 bral trap | jump to trap handler
102 bral trap | jump to trap handler
121 bral trap | jump to trap handler
140 bral trap | jump to trap handler
159 bral trap | jump to trap handler
178 bral trap | jump to trap handler
200 bral trap | jump to trap handler
214 bral trap | jump to trap handler
246 | discovers that the trap condition is true and it should branch to the operating
247 | system handler for the trap exception vector number 7.
[all …]
/arch/powerpc/mm/
Dhugetlbpage-hash64.c22 pte_t *ptep, unsigned long trap, unsigned long flags, in __hash_page_huge() argument
70 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_huge()
116 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_huge()
Dhash_utils_64.c852 unsigned int hash_page_do_lazy_icache(unsigned int pp, pte_t pte, int trap) in hash_page_do_lazy_icache() argument
863 if (trap == 0x400) { in hash_page_do_lazy_icache()
960 unsigned long vsid, unsigned long trap, in hash_failure_debug() argument
968 trap, vsid, ssize, psize, lpsize, pte); in hash_failure_debug()
994 unsigned long access, unsigned long trap, in hash_page_mm() argument
1008 ea, access, trap); in hash_page_mm()
1009 trace_hash_fault(ea, access, trap); in hash_page_mm()
1094 trap, flags, ssize, psize); in hash_page_mm()
1097 rc = __hash_page_huge(ea, access, vsid, ptep, trap, in hash_page_mm()
1157 rc = __hash_page_64K(ea, access, vsid, ptep, trap, in hash_page_mm()
[all …]
Dhugepage-hash64.c22 pmd_t *pmdp, unsigned long trap, unsigned long flags, in __hash_page_thp() argument
77 rflags = hash_page_do_lazy_icache(rflags, __pte(old_pte), trap); in __hash_page_thp()
171 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_thp()
Dmem.c505 unsigned long access = 0, trap; in update_mmu_cache() local
520 trap = TRAP(current->thread.regs); in update_mmu_cache()
521 if (trap == 0x400) in update_mmu_cache()
523 else if (trap != 0x300) in update_mmu_cache()
525 hash_preload(vma->vm_mm, address, access, trap); in update_mmu_cache()
Dfault.c220 int trap = TRAP(regs); in do_page_fault() local
221 int is_exec = trap == 0x400; in do_page_fault()
232 if (trap == 0x400) in do_page_fault()
524 switch (regs->trap) { in bad_page_fault()
/arch/m68k/kernel/
Dvectors.c33 asmlinkage void trap(void);
70 vectors[VEC_ILLEGAL] = trap; in base_trap_init()
83 vectors[i] = trap; in trap_init()
/arch/mips/kernel/
Dkgdb.c310 int trap = (regs->cp0_cause & 0x7c) >> 2; in kgdb_mips_notify() local
333 if (kgdb_handle_exception(trap, compute_signal(trap), cmd, regs)) { in kgdb_mips_notify()
339 if ((trap == 9) && (regs->cp0_epc == (unsigned long)breakinst)) in kgdb_mips_notify()
352 struct pt_regs *regs, long err, int trap, int sig) in kgdb_ll_trap() argument
358 .trapnr = trap, in kgdb_ll_trap()
/arch/unicore32/include/asm/
Dbug.h20 struct siginfo *info, unsigned long err, unsigned long trap);
/arch/avr32/mm/
Dfault.c24 static inline int notify_page_fault(struct pt_regs *regs, int trap) in notify_page_fault() argument
29 if (kprobe_running() && kprobe_fault_handler(regs, trap)) in notify_page_fault()
36 static inline int notify_page_fault(struct pt_regs *regs, int trap) in notify_page_fault() argument
/arch/mips/loongson32/
DPlatform3 -Wa,-mips32r2 -Wa,--trap
/arch/powerpc/kernel/
Dsignal.c117 regs->trap = 0; in do_signal()
143 regs->trap = 0; in do_signal()
/arch/ia64/mm/
Dfault.c22 static inline int notify_page_fault(struct pt_regs *regs, int trap) in notify_page_fault() argument
29 if (kprobe_running() && kprobe_fault_handler(regs, trap)) in notify_page_fault()
37 static inline int notify_page_fault(struct pt_regs *regs, int trap) in notify_page_fault() argument
/arch/sparc/kernel/
Dcherrs.S181 rdpr %tl, %g1 ! Save original trap level
184 1: wrpr %g2, %tl ! Set trap level to check
188 wrpr %g1, %tl ! Restore original trap level
189 add %g2, 1, %g2 ! Next trap level
193 wrpr %g1, %tl ! Restore original trap level
232 rdpr %tl, %g1 ! Save original trap level
235 1: wrpr %g2, %tl ! Set trap level to check
239 wrpr %g1, %tl ! Restore original trap level
240 add %g2, 1, %g2 ! Next trap level
244 wrpr %g1, %tl ! Restore original trap level
/arch/m68k/fpsp040/
Dkernel_ex.S49 | if dz trap disabled
56 | else dz trap enabled
105 | if (operr trap disabled)
110 | else (operr trap enabled)
343 btstb #snan_bit,FPCR_ENABLE(%a6) |check if trap enabled

12345