Searched refs:vectors (Results 1 - 11 of 11) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/iokit/Examples/drvGenericInterruptController/
H A DGenericInterruptController.cpp60 // For now you must allocate storage for the vectors.
64 // Allocate the memory for the vectors.
65 vectors = (IOInterruptVector *)IOMalloc(numVectors *
67 if (vectors == NULL) return false;
68 bzero(vectors, numVectors * sizeof(IOInterruptVector));
70 // Allocate locks for the vectors.
72 vectors[cnt].interruptLock = IOLockAlloc();
73 if (vectors[cnt].interruptLock == NULL) {
75 if (vectors[cnt].interruptLock != NULL)
76 IOLockFree(vectors[cn
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOInterruptController.cpp82 vector = &vectors[vectorNumber];
233 vector = &vectors[vectorNumber];
278 vector = &vectors[vectorNumber];
295 vector = &vectors[vectorNumber];
330 vector = &vectors[vectorNumber];
358 vector = &vectors[vectorNumber];
457 // Allocate the memory for the vectors
459 vectors = (IOInterruptVector *)IOMalloc(numVectors * sizeof(IOInterruptVector));
460 if (vectors == NULL) {
464 bzero(vectors, numVector
[all...]
H A DIOCPU.cpp589 vectors = (IOInterruptVector *)IOMalloc(numCPUs * sizeof(IOInterruptVector));
590 if (vectors == 0) return kIOReturnNoMemory;
591 bzero(vectors, numCPUs * sizeof(IOInterruptVector));
595 vectors[cnt].interruptLock = IOLockAlloc();
596 if (vectors[cnt].interruptLock == NULL) {
598 if (vectors[cnt].interruptLock != NULL)
599 IOLockFree(vectors[cnt].interruptLock);
674 vector = &vectors[source];
745 vector = &vectors[source];
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIOInterruptController.h68 IOInterruptVector *vectors; member in class:IOInterruptController
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dmcount.s54 rlwinm r9,r9,0,MSR_VEC_BIT+1,MSR_VEC_BIT-1 ; Force vectors off
H A Dcswtch.s1085 * we turn vectors and fpu off before we leave.
1086 * The oddity is that if you use vectors after this, the
1088 * that don't use vectors until after you are done with the saved context.
1393 lwz r0,VMXowner(r26) ; Get the thread that owns the vectors again
1592 oris r10,r10,hi16(vectorUsed|vectorCng) ; Set that we used vectors
1593 oris r11,r11,hi16(vectorUsed|vectorCng) ; Set that we used vectors
1703 rlwinm. r8,r9,0,MSR_VEC_BIT,MSR_VEC_BIT ; Are vectors on right now?
1750 isync ; Could be turning off vectors here
1828 vor v0,v0,v0 ; Use vectors
1954 // interrupts are off, vectors ar
[all...]
H A Dhw_lock.s347 isync ; May have turned off vectors or float here
H A Dstart.s425 li r0, MSR_VM_OFF ; Turn off vectors
H A Dmachine_routines_asm.s93 oris r0,r0,hi16(MASK(MSR_VEC)) // Always gonna turn of vectors
1201 rlwinm r7,r7,0,MSR_VEC_BIT+1,MSR_VEC_BIT-1 ; Force vectors off
1805 bf pfAltivecb,cdNoAlt ; No vectors...
H A DFirmware.s2093 oris r4,r4,hi16(MASK(MSR_VEC)) ; Enable vectors
H A Dvmachmon_asm.s659 li r5,32*16 ; Get the size (32 vectors at 16 bytes each)

Completed in 67 milliseconds