Searched refs:trap (Results 1 - 25 of 36) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dtrap.h60 /* maximum number of arguments to a syscall trap */
80 extern struct savearea* trap(int trapno,
H A Ddb_machdep.h70 #include <ppc/trap.h>
H A Dinterrupt.c42 #include <ppc/trap.h>
51 perfCallback perfIntHook; /* Pointer to CHUD trap hook routine */
H A Dhibernate_ppc.c49 #include <ppc/trap.h>
H A Dhw_exception.s35 * Interrupt, trap, system call and debugger entry. Each has it's own
52 #include <ppc/trap.h>
87 * another trap is taken. We need at least enough space for a saved state
185 /* call trap handler proper, with
202 crnor cr7_eq,cr0_eq,cr2_gt ; We should intercept if in VM and is a true trap (cr7_eq == 1 if yes)
217 beq- exitFromVM ; Any true trap but T_MACHINE_CHECK exits us from the VM...
220 * to do except generate a trap
229 bl EXT(trap)
241 * interrupt and went immediatly into trap.
358 noassist: cmplwi r15,0x7000 ; Do we have a fast path trap
[all...]
H A Datomic_switch.s35 * Classic atomic switch and fast trap code
67 * an ultra-fast trap in lowmem_vectors.
82 lwz r5,bbTrap(r13) ; Pick up the trap vector
99 * and the start of the Trap dispatch table address to verify the trap exception
100 * as a atomic_switch trap. If a trap exception is verified as a atomic_switch
101 * trap we enter here with the following registers loaded.
H A Dtrap.c51 #include <ppc/trap.h>
65 perfCallback perfTrapHook; /* Pointer to CHUD trap hook routine */
72 perfCallback tempDTraceTrapHook = NULL; /* Pointer to DTrace fbt trap hook routine */
126 struct savearea *trap(int trapno, function
189 case T_PREEMPT: /* Handle a preempt trap */
203 * These trap types should never be seen by trap()
308 panic("trap: disallowed access to cache inhibited memory - %016llX\n", dar);
476 * These trap types should never be seen by trap()
[all...]
H A DDiagnostics.c75 #include <ppc/trap.h>
H A Ddb_interface.c46 #include <ppc/trap.h>
91 * Enter KDB through a keyboard trap.
155 * kdb_trap - field a TRACE or BPT trap
185 db_printf(" trap, pc = %llx\n",
229 * Print trap reason.
244 db_printf(" trap, code=%x pc@%x = %x sp=%x\n",
H A Dlowmem_vectors.s292 * Program - floating point exception, illegal inst, priv inst, user trap
367 addi r11,r11,8 ; make a 0 iff this is a 0xFFFFFFF8 trap
368 cntlzw r13,r13 ; set bit 0x20 iff a 0x7FFx trap
369 cntlzw r11,r11 ; set bit 0x20 iff a 0xFFFFFFF8 trap
585 * 2. If (syscall & 0xFFFFF000) == 0x00006000, then it is a PPC-only trap.
592 * Firmware.s, though the special "Cut Trace" trap (0x80000000) is handled here as an ultra
593 * fast trap.
2300 ; This is set by an emulation routine to trap any faults when it is fetching data or
2843 ; When the program check is a trap instruction and it happens when
2844 ; we are executing injected code, we need to check if it is an exit trap
[all...]
H A Dmodel_dep.c103 #include <machine/trap.h>
196 "Debugging trap", /* failDebug */
269 * Cause a breakpoint trap to the debugger before proceeding
757 instr = ml_phys_read_64(instr_ptr); /* Get the trap that caused entry */
797 directcall = 0; /* We had a trap not a direct call */
799 switch (instr) { /* Select trap type */
825 default: /* Unknown/bogus trap type */
876 if ((instr == TRAP_DEBUGGER_INST) || /* Did we trap to enter debugger? */
877 (instr == TRAP_DIRECT_INST)) saved_state->save_srr0 += TRAP_INST_SIZE; /* Yes, point past trap */
H A Dpcb.c77 #include <ppc/trap.h>
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dast.c82 #include <machine/trap.h> // for CHUD AST hook
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/architecture/ppc/
H A Dbasic_regs.h149 unsigned trap:BIT_WIDTH(17); // trap program interrupt member in struct:__anon14
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/i386/
H A Dchud_cpu_i386.c40 #include <i386/trap.h>
H A Dchud_osfmk_callback_i386.c42 #include <machine/trap.h>
220 #pragma mark **** trap ****
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Ddb_machdep.h71 #include <i386/trap.h>
H A Dfpu.c75 #include <i386/trap.h>
477 FPC_PE); /* No trap for precision loss */
695 * aren't satisfied by overly general trap code in the
H A Dlapic.c53 #include <i386/trap.h>
H A Dbsd_i386.c67 #include <i386/trap.h>
H A Didt.s62 #include <i386/trap.h>
98 * No error code. Clear error code and push trap number.
111 * Interrupt from user. Clear error code and push trap number.
152 * Error code has been pushed. Push trap number.
491 * trap number
544 addl $8,%esp /* discard trap number and error code */
562 pushl $0 /* clear trap number slot */
570 pushl $0 /* clear trap number slot */
578 pushl $0 /* clear trap number slot */
586 pushl $0 // Clear trap numbe
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/chud/ppc/
H A Dchud_osfmk_callback_ppc.c44 #include <ppc/trap.h>
170 #pragma mark **** trap ****
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOUserClient.cpp1088 IOExternalTrap *trap = getExternalTrapForIndex(index); local
1090 if (trap) {
1091 *targetP = trap->object;
1094 return trap;
3939 IOExternalTrap *trap; local
3942 trap = userClient->getTargetAndTrapForIndex(&target, args->index);
3944 if (trap && target) {
3947 func = trap->func;
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/i386/
H A Dkdp_machdep.c34 #include <i386/trap.h>
395 kprintf("Debugger: Unexpected kernel trap number: "
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/AT386/
H A Dmodel_dep.c94 #include <i386/trap.h>
194 * Cause a breakpoint trap to the debugger before proceeding

Completed in 142 milliseconds

12