/macosx-10.5.8/xnu-1228.15.4/pexpert/i386/ |
H A D | pe_interrupt.c | 58 i386_interrupt_handler_t *vector; local 84 vector = &PE_interrupt_handler; 87 DTRACE_INT5(interrupt_start, void *, vector->nub, int, 0, 88 void *, vector->target, IOInterruptHandler, vector->handler, 89 void *, vector->refCon); 93 vector->handler(vector->target, NULL, vector->nub, interrupt); 97 DTRACE_INT5(interrupt_complete, void *, vector 113 i386_interrupt_handler_t *vector; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/Examples/drvGenericInterruptController/ |
H A D | GenericInterruptController.cpp | 126 IOInterruptVector *vector; local 135 // Get the vector's date from the controller's array. 136 vector = &vectors[vectorNumber]; 138 // Set the vector as active. This store must compleat before 141 vector->interruptActive = 1; 145 // If the vector is not disabled soft, handle it. 146 if (!vector->interruptDisabledSoft) { 151 if (vector->interruptRegistered) { 152 vector->handler(vector 168 vectorCanBeShared(long vectorNumber, IOInterruptVector *vector) argument 175 initVector(long vectorNumber, IOInterruptVector *vector) argument 183 disableVectorHard(long vectorNumber, IOInterruptVector *vector) argument 190 enableVector(long vectorNumber, IOInterruptVector *vector) argument 197 causeVector(long vectorNumber, IOInterruptVector *vector) argument [all...] |
H A D | GenericInterruptController.h | 50 // Returns the type of a vector: level or edge. This will probably get 64 // Should return true if this vector can be shared. 68 virtual bool vectorCanBeShared(long vectorNumber, IOInterruptVector *vector); 70 // Do any hardware initalization for this vector. Leave the vector 72 virtual void initVector(long vectorNumber, IOInterruptVector *vector); 74 // Disable this vector at the hardware. 75 virtual void disableVectorHard(long vectorNumber, IOInterruptVector *vector); 77 // Enable this vector at the hardware. 78 virtual void enableVector(long vectorNumber, IOInterruptVector *vector); [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOInterruptController.cpp | 70 IOInterruptVector *vector; local 82 vector = &vectors[vectorNumber]; 84 // Get the lock for this vector. 85 IOTakeLock(vector->interruptLock); 88 canBeShared = vectorCanBeShared(vectorNumber, vector); 100 wasAlreadyRegisterd = vector->interruptRegistered; 102 // If the vector is registered and can not be shared return error. 104 IOUnlock(vector->interruptLock); 108 // If this vector is already in use, and can be shared (implied), 112 // If this vector i 227 IOInterruptVector *vector; local 270 IOInterruptVector *vector; local 289 IOInterruptVector *vector; local 324 IOInterruptVector *vector; local 352 IOInterruptVector *vector; local 498 IOInterruptVector *vector = 0; local 563 IOInterruptVector *vector; local 622 IOInterruptVector *vector; local 654 IOInterruptVector *vector; local 695 IOInterruptVector *vector; local [all...] |
H A D | IOCPU.cpp | 670 IOInterruptVector *vector; local 674 vector = &vectors[source]; 676 // Get the lock for this vector. 677 IOTakeLock(vector->interruptLock); 679 // Make sure the vector is not in use. 680 if (vector->interruptRegistered) { 681 IOUnlock(vector->interruptLock); 685 // Fill in vector with the client's info. 686 vector->handler = handler; 687 vector 743 IOInterruptVector *vector; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IOInterruptController.h | 94 virtual bool vectorCanBeShared(long vectorNumber, IOInterruptVector *vector); 95 virtual void initVector(long vectorNumber, IOInterruptVector *vector); 96 virtual int getVectorType(long vectorNumber, IOInterruptVector *vector); 97 virtual void disableVectorHard(long vectorNumber, IOInterruptVector *vector); 98 virtual void enableVector(long vectorNumber, IOInterruptVector *vector); 99 virtual void causeVector(long vectorNumber, IOInterruptVector *vector);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | atomic_switch.s | 69 lwz r5,bbSysCall(r13) ; Pick up the syscall vector 82 lwz r5,bbTrap(r13) ; Pick up the trap vector 85 * void CallPseudoKernel ( int vector, thread_act_t * act, BEDA_t * beda, savearea *sv ) 95 * which vector should be taken. 117 lwz r1,BTTD_INTERRUPT_VECTOR(r6) ; Get interrupt vector 124 beq .L_CallFromPreemptiveThread ; No int vector means preemptive thread 154 stw r5,savesrr0+4(r4) ; Save vector as PC 187 lwz r2,BTTD_INTERRUPT_VECTOR(r6) ; Get the interrupt vector
|
H A D | skiplists.s | 86 * This is the fast call, that does not set up the previous-ptr vector or make 129 ; r8 = ptr to skip list vector of mapping pointed to by r9 (or pmap, if r9==0) 139 la r8,mpList0(r3) ; point to skip list vector in this mapping 217 ; r8 = ptr to skip list vector of mapping pointed to by r9 (or pmap, if r9==0) 227 la r8,mpList0+4(r3) ; point to skip list vector in this mapping 321 * This is the "full" call, that sets up a vector of ptrs to the previous node 350 la r12,skipListPrev+4(r12) ; point to vector of prev ptrs, assuming 32-bit machine 369 ; r8 = ptr to skip list vector of mapping pointed to by r9 372 ; r12 = ptr to the skipListPrev vector in the per-proc 397 la r8,mpList0(r3) ; point to skip list vector i [all...] |
H A D | AltiAssist.s | 74 li r10,emvr0 ; Point to the vector savearea
|
H A D | misc_asm.s | 62 lis r8,hi16(MASK(MSR_VEC)) ; Get the vector flag 90 lis r8,hi16(MASK(MSR_VEC)) ; Get the vector flag
|
H A D | cswtch.s | 172 lwz r9,VMXowner(r12) ; Grab the owner of the vector 181 cmplw cr5,r9,r2 ; Do we have the live vector context? 182 rlwinm r6,r6,0,MSR_VEC_BIT+1,MSR_VEC_BIT-1 ; Turn off the vector 244 oris r6,r6,hi16(MASK(MSR_VEC)) ; Enable vector 309 ; any float or vector states for the ditched level. 387 lis r2,hi16(MASK(MSR_VEC)) ; Get the vector enable 1075 * mask. VRSAVE is set by the vector user and represents the VRs that they 1076 * say that they are using. The vrvalid mask indicates which vector registers 1104 oris r2,r2,hi16(MASK(MSR_VEC)) ; Enable the vector facility for now also 1136 bne-- vsret ; We do not own the vector, n [all...] |
H A D | hw_exception.s | 143 rlwinm. r6,r31,0,MSR_VEC_BIT,MSR_VEC_BIT ; Was vector on? 231 lis r10,hi16(MASK(MSR_VEC)) ; Get the vector enable 332 rlwinm. r6,r7,0,MSR_VEC_BIT,MSR_VEC_BIT ; Was vector on? 676 lis r10,hi16(MASK(MSR_VEC)) ; Get the vector enable 781 lis r10,hi16(MASK(MSR_VEC)) ; Get the vector enable 902 rlwinm. r16,r10,0,MSR_VEC_BIT,MSR_VEC_BIT ; Was vector on? 1033 lis r10,hi16(MASK(MSR_VEC)) ; Get the vector enable 1102 ; This section is common to all exception exits. It throws away vector 1137 rlwinm r29,r29,0,MSR_VEC_BIT+1,MSR_VEC_BIT-1 ; Turn off vector for now 1437 rlwinm r20,r29,(((31-vectorCngbit)+(MSR_VEC_BIT+1))&31),vectorCngbit,vectorCngbit ; Set flag if we enabled vector [all...] |
H A D | hw_lock.s | 198 lis r0,hi16(MASK(MSR_VEC)) ; Get vector enable 340 lis r0,hi16(MASK(MSR_VEC)) ; Get vector enable 475 lis r0,hi16(MASK(MSR_VEC)) ; Get vector enable 934 lis r0,hi16(MASK(MSR_VEC)) ; Get vector enable 1047 lis r0,hi16(MASK(MSR_VEC)) ; Get vector enable 1252 lis r0,hi16(MASK(MSR_VEC)) ; Get vector enable 1460 lis r0,hi16(MASK(MSR_VEC)) ; Get vector enable 1687 lis r0,hi16(MASK(MSR_VEC)) ; Get vector enable 1794 lis r0,hi16(MASK(MSR_VEC)) ; Get vector enable 1860 lis r0,hi16(MASK(MSR_VEC)) ; Get vector enabl [all...] |
H A D | Firmware.s | 99 li r3,T_SYSTEM_CALL /* Tell the vector handler that we know nothing */ 114 li r3,T_IN_VAIN /* Tell the vector handler that we took care of it */ 117 callUnimp: li r3,T_SYSTEM_CALL /* Tell the vector handler that we know nothing */ 221 lis r2,hi16(MASK(MSR_VEC)) ; Get the vector enable 673 sync /* Master enable, no vector */ 684 li r7,0x02 /* No vector */ 687 sync /* Master enable, no vector */ 692 sync /* Master enable, no vector */ 1974 lis r2,hi16(MASK(MSR_VEC)) ; Get the vector enable 2015 lis r2,hi16(MASK(MSR_VEC)) ; Get the vector enabl [all...] |
H A D | lowmem_vectors.s | 578 * First-level syscall dispatch. The syscall vector maps r0 (the syscall number) into an 608 * 0x00007FF3 - User state only - floating point / vector facility status 777 * We get here directly from the hw syscall vector via the "scTable" vector (above), 1174 * Come here via branch directly from the vector, or falling down from above, with the following 1905 ; Here we will save some floating point and vector status 1924 addi r14,r10,16 ; Displacement to second vector register 1934 mfvscr v0 ; Get the vector status register 1936 stvxl v0,0,r28 ; Save the vector status 1945 noavec: stw r19,savevrsave(r13) ; Save the vector registe [all...] |
H A D | vmachmon_asm.s | 86 .long EXT(vmm_get_vector_state) ; Gets current vector state 607 ; Check if there is new vector context to load 611 rlwinm. r0,r15,0,vmmVectLoadb,vmmVectLoadb ; Are there new vector values? 625 li r16,VMXowner ; Displacement to vector owner 639 swvminvved: lwz r3,VMXsave(r25) ; Get the vector savearea 646 li r7,SAVvector ; Get the vector type flag 649 stb r7,SAVflags+2(r3) ; Set that this is vector 2034 * We get here directly from the syscall vector, with interrupts and translation off,
|
H A D | machine_routines_asm.s | 60 oris r0,r0,hi16(MASK(MSR_VEC)) // Turn off vector too 157 mpr32bit: lis r8,hi16(MASK(MSR_VEC)) ; Get the vector flag 625 lis r8,hi16(MASK(MSR_VEC)) ; Get the vector flag 704 lis r0,hi16(MASK(MSR_VEC)) ; Get vector enable 859 lis r0,hi16(MASK(MSR_VEC)) ; Get the vector flag 1029 * interruptions. The decrimenter rupt vector recognizes this and returns
|
H A D | movc.s | 164 lis r2,hi16(MASK(MSR_VEC)) ; Get the vector flag 871 // r7 = computed vector of 0x00 and 0x80 bytes 1078 lis r0,hi16(MASK(MSR_VEC)) // get vector mask
|
H A D | start.s | 392 mtvscr v1 ; Clear the vector status register
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/ |
H A D | kdp_asm.s | 47 lis r2,hi16(MASK(MSR_VEC)) ; Get the vector enable 78 lis r2,hi16(MASK(MSR_VEC)) ; Get the vector enable
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | lapic.c | 90 /* Base vector for local APIC interrupt sources */ 530 lapic_set_intr_func(int vector, i386_intr_func_t func) argument 532 if (vector > lapic_interrupt_base) 533 vector -= lapic_interrupt_base; 535 switch (vector) { 542 lapic_intr_func[vector] = func; 545 panic("lapic_set_intr_func(%d,%p) invalid vector\n", 546 vector, func); 597 * time units, we mask the error vector and log. The 602 * vector cod [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_mib.c | 293 int vector = cpu_info.vector_unit == 0? 0 : 1; local 294 return(SYSCTL_RETURN(req, vector));
|