/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IOInterruptController.h | 53 long source; member in struct:IOInterruptVector 75 virtual IOReturn registerInterrupt(IOService *nub, int source, 79 virtual IOReturn unregisterInterrupt(IOService *nub, int source); 81 virtual IOReturn getInterruptType(IOService *nub, int source, 84 virtual IOReturn enableInterrupt(IOService *nub, int source); 85 virtual IOReturn disableInterrupt(IOService *nub, int source); 86 virtual IOReturn causeInterrupt(IOService *nub, int source); 90 int source); 128 virtual IOReturn registerInterrupt(IOService *nub, int source, 132 virtual IOReturn unregisterInterrupt(IOService *nub, int source); [all...] |
H A D | IOInterrupts.h | 56 void *nub, int source);
|
H A D | IOCPU.h | 136 virtual IOReturn registerInterrupt(IOService *nub, int source, 141 virtual IOReturn getInterruptType(IOService *nub, int source, 144 virtual IOReturn enableInterrupt(IOService *nub, int source); 145 virtual IOReturn disableInterrupt(IOService *nub, int source); 146 virtual IOReturn causeInterrupt(IOService *nub, int source); 149 int source);
|
H A D | IODeviceTreeSupport.h | 118 IOReturn IODTGetInterruptOptions( IORegistryEntry * regEntry, int source, IOOptionBits * options );
|
H A D | IOService.h | 141 IOService * nub, int source ); 985 @discussion This method installs a C function interrupt handler to be called at primary interrupt time for a device's interrupt. Only one handler may be installed per interrupt source. IOInterruptEventSource provides a work loop based abstraction for interrupt delivery that may be more appropriate for work loop based drivers. 986 @param source The index of the interrupt source in the device. 988 @param handler The C function to be called at primary interrupt time when the interrupt occurs. The handler should process the interrupt by clearing the interrupt, or by disabling the source. 990 @result An IOReturn code.<br><code>kIOReturnNoInterrupt</code> is returned if the source is not valid; <code>kIOReturnNoResources</code> is returned if the interrupt already has an installed handler. */ 992 virtual IOReturn registerInterrupt(int source, OSObject *target, 999 @param source The index of the interrupt source in the device. 1000 @result An IOReturn code (<code>kIOReturnNoInterrupt</code> is returned if the source i [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOInterruptController.cpp | 63 IOReturn IOInterruptController::registerInterrupt(IOService *nub, int source, argument 80 vectorData = interruptSources[source].vectorData; 87 // Check if the interrupt source can/should be shared. 89 IODTGetInterruptOptions(nub, source, &options); 93 (getInterruptType(nub, source, &interruptType) == kIOReturnSuccess) && 122 // Save the nub and source for the original consumer. 124 originalSource = vector->source; 177 vector->source = 0; 198 error = vector->sharedController->registerInterrupt(nub, source, target, 207 vector->source 223 unregisterInterrupt(IOService *nub, int source) argument 265 getInterruptType(IOService *nub, int source, int *interruptType) argument 285 enableInterrupt(IOService *nub, int source) argument 320 disableInterrupt(IOService *nub, int source) argument 348 causeInterrupt(IOService *nub, int source) argument 370 handleInterrupt(void *refCon, IOService *nub, int source) argument 490 registerInterrupt(IOService *nub, int source, void *target, IOInterruptHandler handler, void *refCon) argument 558 unregisterInterrupt(IOService *nub, int source) argument 617 enableInterrupt(IOService *nub, int source) argument 649 disableInterrupt(IOService *nub, int source) argument [all...] |
H A D | IOInterruptEventSource.cpp | 216 (void */*refcon*/, IOService */*prov*/, int /*source*/) 231 (void */*refcon*/, IOService *prov, int source) 236 prov->disableInterrupt(source); /* disable the interrupt */ 248 (void *refcon, IOService *prov, int source) 251 disableInterruptOccurred(refcon, prov, source); 253 normalInterruptOccurred(refcon, prov, source); 230 disableInterruptOccurred(void * , IOService *prov, int source) argument 247 interruptOccurred(void *refcon, IOService *prov, int source) argument
|
H A D | IOFilterInterruptEventSource.cpp | 156 (void */*refcon*/, IOService */*prov*/, int /*source*/) 175 (void */*refcon*/, IOService *prov, int source) 188 prov->disableInterrupt(source); /* disable the interrupt */ 174 disableInterruptOccurred(void * , IOService *prov, int source) argument
|
H A D | IOCPU.cpp | 251 void PE_cpu_signal(cpu_id_t source, cpu_id_t target) argument 253 IOCPU *sourceCPU = OSDynamicCast(IOCPU, (OSObject *)source); 665 int source, 672 if (source >= numCPUs) return kIOReturnNoResources; 674 vector = &vectors[source]; 688 vector->source = source; 708 int /*source*/, 719 int /*source*/) 726 int /*source*/) 664 registerInterrupt(IOService *nub, int source, void *target, IOInterruptHandler handler, void *refCon) argument 739 handleInterrupt(void * , IOService * , int source) argument [all...] |
H A D | IOService.cpp | 4642 IOReturn IOService::resolveInterrupt(IOService *nub, int source) argument 4668 interruptControllerName = OSDynamicCast(OSSymbol,array->getObject(source)); 4677 data = OSDynamicCast(OSData, array->getObject(source)); 4682 interruptSources[source].interruptController = interruptController; 4683 interruptSources[source].vectorData = data; 4688 IOReturn IOService::lookupInterrupt(int source, bool resolve, IOInterruptController **interruptController) argument 4694 ret = resolveInterrupt(this, source); 4698 /* Make sure the local source number is valid */ 4699 if ((source < 0) || (source > 4718 registerInterrupt(int source, OSObject *target, IOInterruptAction handler, void *refCon) argument 4734 unregisterInterrupt(int source) argument 4746 getInterruptType(int source, int *interruptType) argument 4758 enableInterrupt(int source) argument 4770 disableInterrupt(int source) argument 4782 causeInterrupt(int source) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/Examples/drvGenericInterruptController/ |
H A D | GenericInterruptController.h | 52 virtual IOReturn getInterruptType(IOService *nub, int source, 61 IOService *nub, int source);
|
H A D | GenericInterruptController.cpp | 91 // Just like any interrupt source, you must enable it to receive interrupts. 105 int source, 110 // Given the nub and source, set interruptType to level or edge. 124 int source) 153 vector->nub, vector->source); 104 getInterruptType(IOService *nub, int source, int *interruptType) argument 122 handleInterrupt(void * refCon, IOService * nub, int source) argument
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/ |
H A D | kdp_misc.s | 55 rlwinm r3,r3,0,1,0 ; Dup low to high source 57 rlwimi r3,r4,0,0,31 ; Copy bottom on in source 64 addi r3,r3,1 ; Next source
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/commpage/ |
H A D | commpage.c | 39 * The source files should be in osfmk/i386/commpage/. 261 const void *source, 269 bcopy(source,dest,length); 277 void *source, 286 OSWriteSwapInt16(dest, 0, *(uint16_t *)source); 289 OSWriteSwapInt32(dest, 0, *(uint32_t *)source); 292 OSWriteSwapInt64(dest, 0, *(uint64_t *)source); 301 void *source, 305 commpage_stuff_swap(address, source, length, legacy); 306 commpage_stuff(address, source, lengt 259 commpage_stuff( int address, const void *source, int length ) argument 275 commpage_stuff_swap( int address, void *source, int length, int legacy ) argument 299 commpage_stuff2( int address, void *source, int length, int legacy ) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/ |
H A D | devfsdefs.h | 32 * Redistribution and use in source and binary forms, with or without 35 * 1. Redistributions of source code must retain the above copyright 281 dn_copy_times(devnode_t * target, devnode_t * source) argument 283 target->dn_atime = source->dn_atime; 284 target->dn_mtime = source->dn_mtime; 285 target->dn_ctime = source->dn_ctime;
|
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/platform/ |
H A D | AppleNMI.h | 65 virtual IOReturn handleInterrupt(void *refCon, IOService *nub, int source);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | bcopytest.c | 34 void clrarea(unsigned int *source, unsigned int *sink); 36 void clrarea2(unsigned int *source, unsigned int *sink); 53 unsigned int *sink, *source; local 64 retr = kmem_alloc_wired(kernel_map, (vm_offset_t *)&source, (1024*1024)+4096); /* Get source area */ 66 panic("bcopytest: Whoops... no memory for source\n"); 69 db_printf("Source at %08X; Sink at %08X\n", source, sink); 71 srcptr = (void *)&source[0]; 75 db_printf("Testing non-overlap case; source bndry = 0 to 7F; sink bndry = 0 - 7F; lgn = 1 to 256\n"); 76 for(bsrc = 0; bsrc < 128; bsrc++) { /* Step the source b 439 clrarea(unsigned int *source, unsigned int *sink) argument 451 clrarea2(unsigned int *source, __unused unsigned int *sink) argument [all...] |
H A D | bcopy.s | 56 ; Rules are: - neither source nor destination can cross a page. 60 ; To do the copy, we build a 128 DBAT for both the source and sink. If both are the same, only one 95 add r12,r4,r0 ; Point to last byte of source 108 rlwimi r12,r9,0,15,31 ; Set source lower DBAT value 110 rlwimi r8,r12,0,0,14 ; Set source upper DBAT value 111 cmplw cr1,r11,r12 ; See if sink and source are same block 120 mtdbatl 1,r12 ; Set source lower DBAT 121 mtdbatu 1,r8 ; Set source upper DBAT 132 mtdbatu 1,r0 ; Clear source upper DBAT 152 ; Also note that you probably will not be happy if either the sink or source span [all...] |
H A D | mappings.c | 1580 * says which of the parameters is physical and if we need to flush sink/source. 1595 hw_copypv_32(addr64_t source, addr64_t sink, unsigned int size, int which) argument 1623 } else if (!(which & cppvPsrc)) { /* Is source page virtual? */ 1624 vaddr = source; /* Source side is virtual */ 1626 prot = VM_PROT_READ; /* Virtual source is always read only */ 1663 /* Note that we have to have the destination writable. So, if we already have it, or we are mapping the source, 1666 if((which & cppvPsnk) || !(mp->mpVAddr & 1)) break; /* We got it mapped R/W or the source is not virtual, leave... */ 1679 if(which & cppvPsrc) sink = paddr; /* If source is physical, then the sink is virtual */ 1680 else source = paddr; /* Otherwise the source i [all...] |
/macosx-10.5.8/xnu-1228.15.4/pexpert/pexpert/ |
H A D | pexpert.h | 125 void *nub, int source, 249 cpu_id_t source,
|
/macosx-10.5.8/xnu-1228.15.4/pexpert/i386/ |
H A D | pe_interrupt.c | 108 __unused int source, 117 /*vector->source = source; IGNORED */ 107 PE_install_interrupt_handler(void *nub, __unused int source, void *target, IOInterruptHandler handler, void *refCon) argument
|
/macosx-10.5.8/xnu-1228.15.4/libkern/ppc/ |
H A D | strlen.s | 59 bne LalignSource ; align the source addr if not already aligned 90 ; We must align the source address for two reasons: to avoid spurious page
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | pmap.h | 94 addr64_t source, 295 pmap_t source,
|
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/ |
H A D | zlib.h | 55 2. Altered source versions must be plainly marked as such, and must not be 57 3. This notice may not be removed or altered from any source distribution. 551 z_streamp source)); 553 Sets the destination stream as a complete copy of the source stream. 563 enough memory, Z_STREAM_ERROR if the source stream state was inconsistent 564 (such as zalloc being NULL). msg is left unchanged in both source and 575 deflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source 595 deflateParams returns Z_OK if success, Z_STREAM_ERROR if the source 663 inflateReset returns Z_OK if success, or Z_STREAM_ERROR if the source
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | machine_routines.h | 113 int source,
|