/darwin-on-arm/xnu/pexpert/i386/ |
H A D | pe_interrupt.c | 55 i386_interrupt_handler_t *vector; local 57 vector = &PE_interrupt_handler; 60 DTRACE_INT5(interrupt_start, void *, vector->nub, int, 0, 61 void *, vector->target, IOInterruptHandler, vector->handler, 62 void *, vector->refCon); 65 vector->handler(vector->target, NULL, vector->nub, interrupt); 68 DTRACE_INT5(interrupt_complete, void *, vector 80 i386_interrupt_handler_t *vector; local [all...] |
/darwin-on-arm/xnu/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...] |
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOInterruptController.cpp | 61 IOInterruptVector *vector; local 75 vector = &vectors[vectorNumber]; 77 // Get the lock for this vector. 78 IOLockLock(vector->interruptLock); 81 canBeShared = vectorCanBeShared(vectorNumber, vector); 93 wasAlreadyRegisterd = vector->interruptRegistered; 95 // If the vector is registered and can not be shared return error. 97 IOLockUnlock(vector->interruptLock); 101 // If this vector is already in use, and can be shared (implied), 105 // If this vector i 221 IOInterruptVector *vector; local 264 IOInterruptVector *vector; local 283 IOInterruptVector *vector; local 312 IOInterruptVector *vector; local 334 IOInterruptVector *vector; local 480 IOInterruptVector *vector = 0; local 544 IOInterruptVector *vector; local 603 IOInterruptVector *vector; local 635 IOInterruptVector *vector; local 670 IOInterruptVector *vector; local [all...] |
H A D | IOCPU.cpp | 702 IOInterruptVector *vector; local 706 vector = &vectors[source]; 708 // Get the lock for this vector. 709 IOTakeLock(vector->interruptLock); 711 // Make sure the vector is not in use. 712 if (vector->interruptRegistered) { 713 IOUnlock(vector->interruptLock); 717 // Fill in vector with the client's info. 718 vector->handler = handler; 719 vector 775 IOInterruptVector *vector; local [all...] |
/darwin-on-arm/xnu/bsd/sys/ |
H A D | pthread_internal.h | 118 #define WQ_VECT_SET_BIT(vector, bit) \ 119 vector[(bit) / 32] |= (1 << ((bit) % 32)) 121 #define WQ_VECT_CLEAR_BIT(vector, bit) \ 122 vector[(bit) / 32] &= ~(1 << ((bit) % 32)) 124 #define WQ_VECT_TEST_BIT(vector, bit) \ 125 vector[(bit) / 32] & (1 << ((bit) % 32))
|
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IOInterruptController.h | 99 virtual bool vectorCanBeShared(IOInterruptVectorNumber vectorNumber, IOInterruptVector *vector); 100 virtual void initVector(IOInterruptVectorNumber vectorNumber, IOInterruptVector *vector); 101 virtual int getVectorType(IOInterruptVectorNumber vectorNumber, IOInterruptVector *vector); 102 virtual void disableVectorHard(IOInterruptVectorNumber vectorNumber, IOInterruptVector *vector); 103 virtual void enableVector(IOInterruptVectorNumber vectorNumber, IOInterruptVector *vector); 104 virtual void causeVector(IOInterruptVectorNumber vectorNumber, IOInterruptVector *vector);
|
/darwin-on-arm/xnu/SETUP/config/ |
H A D | mkglue.c | 65 void dump_ubavec(FILE *fp, char *vector, int number); 67 void dump_intname(FILE *fp, char *vector, int number); 72 * Create the UNIBUS interrupt vector glue file. 137 * Print a UNIBUS interrupt vector. 140 dump_ubavec(FILE *fp, char *vector, int number) argument 148 (void) sprintf(v, "%s%d", vector, number); 153 if (strncmp(vector, "dzx", 3) == 0) 156 if (strncmp(vector, "uur", 3) == 0) { 163 fprintf(fp, "\tcalls\t$1,_%s\n",vector); 175 if (strncmp(vector, "dz 238 dump_intname(FILE *fp, char *vector, int number) argument [all...] |
/darwin-on-arm/xnu/osfmk/i386/ |
H A D | lapic_native.c | 674 lapic_set_intr_func(int vector, i386_intr_func_t func) argument 676 if (vector > lapic_interrupt_base) 677 vector -= lapic_interrupt_base; 679 switch (vector) { 687 lapic_intr_func[vector] = func; 690 panic("lapic_set_intr_func(%d,%p) invalid vector\n", 691 vector, func); 756 * time units, we mask the error vector and log. The 761 * vector code is one observed in practice) indicates 848 lapic_send_ipi(int cpu, int vector) argument 886 lapic_is_interrupting(uint8_t vector) argument [all...] |
H A D | pmCPU.h | 120 boolean_t (*IsInterrupting)(uint8_t vector);
|
H A D | lapic.h | 209 * By default, use high vectors to leave vector space for systems 235 /* The vector field is ignored for NMI interrupts via the LAPIC 319 extern boolean_t lapic_is_interrupting(uint8_t vector);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_mib.c | 295 int vector = cpu_info.vector_unit == 0? 0 : 1; local 296 return(SYSCTL_RETURN(req, vector));
|