/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/ |
H A D | ipc_space.h | 37 * documentation is hereby granted, provided that both the copyright 59 * is included in support of clause 2.2 (b) of the Apple Public License, 105 * is_growing marks when the table is in the process of growing. 106 * When the table is growing, it can't be freed or grown by another 118 boolean_t is_active; /* is the space alive? */ 119 boolean_t is_growing; /* is the space growing? */ 137 #define is_free(is) zfree(ipc_space_zone, (is)) 148 #define is_fast_space(is) ((is) [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOSyncer.cpp | 69 IOInterruptState is = IOSimpleLockLockDisableInterrupt(guardLock); local 71 IOSimpleLockUnlockEnableInterrupt(guardLock, is); 76 // just in case a thread is blocked here: 87 IOInterruptState is = IOSimpleLockLockDisableInterrupt(guardLock); local 91 IOSimpleLockUnlockEnableInterrupt(guardLock, is); 95 IOSimpleLockUnlockEnableInterrupt(guardLock, is); 116 IOInterruptState is = IOSimpleLockLockDisableInterrupt(guardLock); local 119 IOSimpleLockUnlockEnableInterrupt(guardLock, is);
|
H A D | IOWorkLoop.cpp | 105 // does this automatically. The problem is in this case addEventSource 153 // Free is called twice: 155 // Secondly when the work loop itself is commiting hari kari 160 IOInterruptState is; local 171 is = IOSimpleLockLockDisableInterrupt(workToDoLock); 174 IOSimpleLockUnlockEnableInterrupt(workToDoLock, is); 190 // or the workThread itself is performing hari-kari. 305 IOInterruptState is = IOSimpleLockLockDisableInterrupt(workToDoLock); local 307 IOSimpleLockUnlockEnableInterrupt(workToDoLock, is); 338 IOInterruptState is 382 IOInterruptState is = IOSimpleLockLockDisableInterrupt(workToDoLock); local [all...] |
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IOLocksPrivate.h | 36 #error IOLocksPrivate.h is for kernel use only
|
/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | etherdefs.h | 40 * provided that this notice is preserved and that due credit is given 44 * is provided ``as is'' without express or implied warranty. 59 #warning net/etherdefs.h is obsolete! Use net/ethernet.h
|
H A D | if_pppvar.h | 35 * documentation is hereby granted, provided that the above copyright 36 * notice appears in all copies. This software is provided without any 74 #warning if_pppvar.h is not used by the darwin kernel
|
/macosx-10.5.8/xnu-1228.15.4/pexpert/ppc/ |
H A D | pe_clock_speed_asm.s | 52 // The basic idea is this... 61 lwz r9, 0(r3) ; r9 is the via addr 102 cmpi cr0, r7, 0 ; if L1 is zero then H1 is good. 109 not r6, r7 ; neg - 1 is not 113 sub r5, r5, r10 ; r5 is the number of time base ticks
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | AltiAssist.s | 49 ; This code is responsible for saving and restoring what is used. This 51 ; 3) No attempt is made to resolve page faults. PTE misses are handled 54 ; routine is remapped to either an instruction or data miss (depending 56 ; The only time that an instruction fault can happen is when a different
|
H A D | hw_counters.h | 36 #error This file is only useful on PowerPC.
|
H A D | hw_perfmon.h | 32 #error This file is only useful on PowerPC.
|
H A D | bits.s | 40 # Note: being big-endian, bit 0 is 0x80000000. 57 # Note: being big-endian, bit 0 is 0x80000000. 78 # Assumes pointer is word-aligned 101 * Note: being big-endian, bit 0 is 0x80000000.
|
H A D | skiplists.s | 36 * The basic idea is that each mapping is on one or more singly-linked lists, sorted 37 * in increasing order by virtual address. The number of lists a mapping is on is an 38 * invariant property determined when the mapping is created, using an exponentially- 39 * distributed random number. Every mapping is on the first list. Ideally, each 40 * successive list has only 1/F as many nodes on it as the previous, where F is the 44 * Because the first skip-list is just a sorted list of all mappings, it is also 51 * pages, which is 6 [all...] |
H A D | Diagnostics.h | 46 #error This file is only useful on PowerPC.
|
H A D | machine_routines_asm.s | 38 * it is assumed that pf64Bit is already in cr6 140 * This is a part of a device probe, so there is a good chance we will 203 ; We need to insure that there is no more than 1 BAT register that 205 ; of mortal man. It is best not to tempt fate. 212 sync ; Make sure all is well 233 sync ; Make sure it is all caught up 279 * This is a part of a device probe, so there is [all...] |
H A D | bcopy.s | 52 ; Otherwise do a normal bcopy_phys. This routine is used because some 32-bit processors 57 ; - Interrupts must be disabled when this routine is called. 61 ; is loaded. We do not touch the IBATs, so there is no issue if either physical page 62 ; address is the same as the virtual address of the instructions we are executing. 71 ; Note also that this routine is used only on 32-bit machines. If you're contemplating use 73 ; for an example of how this is done. 92 ; This test for page overflow may not work if the length is negative. Negative lengths are invalid input 130 sync ; Make sure all is well 145 ; This routine is use [all...] |
H A D | lowmem_vectors.s | 66 ; waking up from sleep), a RESET_HANDLER_BUPOR (which is using for bring up 71 ; The ones who do take it, check if the interrupt is too be ignored. This is 72 ; always the case until the previous reset is handled (i.e., we have exited 152 LEXT(extPatchMCK) ; This is patched to a nop for 64-bit 350 ; The syscall number is in r0. All we do here is munge the number into an 352 ; Fast Traps (UFTs.) The index is: 354 ; 0x80 - set if syscall number is 0x80000000 (CutTrace) 355 ; 0x40 - set if syscall number is [all...] |
H A D | hw_exception.s | 36 * handler since the state save routine is different for each. The 37 * code is very similar (a lot of cut and paste). 39 * The code for the FPU disabled handler (lazy fpu) is in cswtch.s 69 * Everything is saved in savearea 73 * If pcb.ksp == 0 then the kernel stack is already busy, 82 * on return, we do the reverse, the last state is popped from the pcb 83 * and pcb.ksp is set to the top of stack 86 /* TRAP_SPACE_NEEDED is the space assumed free on the kernel stack when 87 * another trap is taken. We need at least enough space for a saved state 142 bne-- kernelStackUnaligned ; Stack is unaligne [all...] |
H A D | Firmware.h | 44 #error This file is only useful on PowerPC. 51 * This routine is used to write debug output to either the modem or printer port. 52 * parm 1 is printer (0) or modem (1); parm 2 is ID (printed directly); parm 3 converted to hex 139 /* Note that a lot of info is duplicated for each processor */
|
H A D | cswtch.s | 81 * Switch from one thread to another. If a continuation is supplied, then 103 * See if a continuation is supplied, and skip state save if so. 120 * savesrr0 is set to go to switch_in 121 * savesrr1 is set to uninterruptible with translation on 140 cmpwi cr1,r4,0 ; Remeber if there is a continuation - used waaaay down below 184 bne++ cswnofloat ; Float is not ours... 189 bne++ cswnofloat ; Level not the same, this is not live... 230 cswnofloat: bne++ cr5,cswnovect ; Vector is not ours... 237 bne++ cswnovect ; Level not the same, this is not live... 280 ; physical address. This is hac [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | db_interface.c | 37 * documentation is hereby granted, provided that both the copyright 124 x86_saved_state32_t *is; member in struct:int_regs 402 x86_saved_state32_t *is = int_regs->is; local 409 if (IS_USER_TRAP(is, &etext)) 411 regs.uesp = ((int *)(is+1))[0]; 412 regs.ss = ((int *)(is+1))[1]; 416 regs.uesp= (int)(is+1); 418 regs.efl = is->efl; 419 regs.cs = is [all...] |
H A D | Diagnostics.h | 46 #error This file is not useful on PowerPC.
|
/macosx-10.5.8/xnu-1228.15.4/libkern/ppc/ |
H A D | strlen.s | 30 ; Strlen, optimized for PPC. The routine we use is 2-3x faster 32 ; For 0- and 1-byte strings, the simple routine is faster, but 72 beq LLoop ; if r4 is zero, then all bytes are non-zero 74 ; Now we know one of the bytes in r8 is zero, 103 bgt Llentry ; address is aligned now if low bits were 3 109 beq Llentry ; addr is aligned now if low bits were 2
|
H A D | bcmp.s | 34 ; Because bcmp returns zero if equal and nonzero otherwise, it is slightly 51 ; most common operand length is 6 chars (enet addrs) 80 ; r3 = zero if length is zero
|
/macosx-10.5.8/xnu-1228.15.4/iokit/bsddev/ |
H A D | DINetBootHook.cpp | 86 #warning qDEBUG is 1! 167 IOLog("%s is 0x%08X/%d\n", kDIRootImageResultKey, res, res); 183 /* rootdevice is 16 chars in bsd_init.c */
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/ |
H A D | kdp_misc.s | 41 ; This is a really stupid physical copy. 1 whole byte at a time...
|