/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/ |
H A D | kdp_misc.s | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 42 ; Source and dest are long longs. We do this with 64-bit on if 57 rlwimi r3,r4,0,0,31 ; Copy bottom on in source 58 rlwimi r5,r6,0,0,31 ; Copy bottom on in dest
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | hw_counters.h | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 36 #error This file is only useful on PowerPC.
|
H A D | hw_perfmon.h | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 32 #error This file is only useful on PowerPC.
|
H A D | bcopy.s | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 51 ; Attempt to copy physically addressed memory with translation on if conditions are met. 54 ; for the passed phys addrs and do the copy with translation on. 58 ; - Translation must be on when called. 67 ; values. Note that on 32-bit architectures that this will ignore the high half of the 71 ; Note also that this routine is used only on 32-bit machines. If you're contemplating use 72 ; on a 64-bit processor, use the physical memory window instead; please refer to copypv() 84 stwu r1,-BCOPY_SF_SIZE(r1) ; push on a stack frame so we can call bcopy 93 ; to bcopy_physvir() on 32-bit machines, and will result in a panic. 127 bl EXT(bcopy) ; BATs set up, args in r3-r5, so do the copy with DR on [all...] |
H A D | Diagnostics.h | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 46 #error This file is only useful on PowerPC.
|
H A D | Firmware.h | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 44 #error This file is only useful on PowerPC.
|
H A D | misc_asm.s | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 71 stw r0,FM_LR_SAVE(r1) ; Save return on current stack 74 cmpwi r9,0 ; Are we already on it? 77 mr r9,r1 ; We are already on the stack, so use the current value 105 bnelr ; Return if still on debug stack
|
H A D | skiplists.s | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 34 * Here's a brief tutorial on skip-lists: 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 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 67 ; set nonzero to accumulate skip-list stats on a per-map basis: 70 ; cr7 bit set when mapSearchFull() finds a match on a high list: 90 * 64-bit mode is enabled (if on a 64-bit machine) 98 * Except for cr6 (which is global), we trash nonvolatile regs. Called both on 3 [all...] |
H A D | savearea_asm.s | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 65 * Link the current free list & processor local list on an independent list. 72 bl saveSetup ; turn translation off, 64-bit on, load many regs 158 bl saveSetup ; turn translation off, 64-bit on, load many regs 239 bl saveSetup ; turn translation off, 64-bit on, load many regs 319 * is used because translation is on, but no tables exist yet and we have 327 bl saveSetup ; turn translation off, 64-bit on, load many regs 329 btl++ pf64Bitb,saveGet64 ; get one on a 64-bit machine 338 srdi r3,r4,32 ; unpack reg64_t to addr64_t on 64-bit machine 351 * r0, r2, and r12. Our callers in cswtch.s depend on thi [all...] |
H A D | db_machdep.h | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 179 boolean_t on);
|
H A D | hw_perfmon_mmcr.h | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 33 #error This file is only useful on PowerPC. 45 uint32_t enable_timebase_pmi : 1; /* 9: enable pmi on TBL bit transition */ 47 uint32_t enable_pmi_on_pmc1 : 1; /* 16: enable pmi on pmc1 overflow */ 48 uint32_t enable_pmi_on_pmcn : 1; /* 17: enable pmi on any pmc except pmc1 overflow */ 92 uint32_t enable_timebase_pmi : 1; /* 41: enable pmi on TBL bit transition */ 94 uint32_t enable_pmi_on_pmc1 : 1; /* 48: enable pmi on pmc1 overflow */ 95 uint32_t enable_pmi_on_pmcn : 1; /* 49: enable pmi on any pmc except pmc1 overflow */
|
H A D | mcount.s | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 50 stw r0,8(r1) ; Save lr on the stack
|
H A D | machine_routines_asm.s | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 37 * ml_set_physical() -- turn off DR and (if 64-bit) turn SF on 39 * ml_set_physical_get_ffs() -- turn DR off, SF on, and get feature flags 40 * ml_set_physical_disabled() -- turn DR and EE off, SF on, get feature flags 41 * ml_set_translation_off() -- turn DR, IR, and EE off, SF on, get feature flags 153 rlwinm. r0,r9,0,pf64Bitb,pf64Bitb ; Are we on a 64-bit machine? 169 beq- mprdoit ; We are right on the boundary... 198 rlwinm r5, r6, 0, mum+1, mum-1 ; Turn off MuM w/ I-Cache on 228 ori r11,r2,lo16(MASK(MSR_DR)) ; Turn on data translation 292 rlwinm. r0,r9,0,pf64Bitb,pf64Bitb ; Are we on [all...] |
H A D | hibernate_restore.s | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 112 rldimi r9,r0,63,MSR_SF_BIT ; set SF on in MSR we will copy with 113 mtmsrd r9 ; turn 64-bit addressing on
|
H A D | hw_exception.s | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 82 * on return, we do the reverse, the last state is popped from the pcb 86 /* TRAP_SPACE_NEEDED is the space assumed free on the kernel stack when 106 cmpwi cr0,r1,0 ; Are we on interrupt stack? 108 beq- cr0,EXT(ihandler) ; If on interrupt stack, treat this as interrupt... 122 cmpwi cr1,r1,0 ; Are we already on kernel stack? 126 bne+ cr1,.L_kstackfree ; We are not on kernel stack yet... 128 subi r1,r26,FM_REDZONE ; Make a red zone on interrupt time kernel stack 135 cmplwi cr2,r9,KERNEL_STACK_SIZE ; Do we still have room on the stack? 143 rlwinm. r6,r31,0,MSR_VEC_BIT,MSR_VEC_BIT ; Was vector on [all...] |
H A D | cswtch.s | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 47 * Load the context for the first thread to run on a 121 * savesrr1 is set to uninterruptible with translation on 133 mr. r0,r0 ; (DEBUG/TRACE) on the interrupt 161 mr. r2,r2 ; Any tracing going on? 322 b EXT(exception_exit) ; Blocking on continuation, toss old context... 330 * with translation on. If we could, this should be done in lowmem_vectors 331 * before translation is turned on. But we can't, dang it! 333 * switch_in() runs with DR on and IR off 356 lwz r10,ACT_MACT_PCB(r9) ; Get the top PCB on th [all...] |
H A D | hw_lock.s | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 125 b lckcomm ; Join on up... 141 b lckcomm ; Join on up... 147 b lckcomm ; Join on up... 185 blr ; Go on home... 201 ori r7,r0,lo16(MASK(MSR_EE)) ; Get EE bit on too 206 mftb r8 ; Get timestamp on entry 210 mftb r8 ; Get timestamp on entry 252 STRINGD "timeout on attempt to acquire lock (0x%08X), value = 0x%08X\n\000" 327 or r12,r12,r6 ; Turn on th [all...] |
H A D | AltiAssist.s | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 90 b EXT(EmulExit) ; We are done, no tracing on...
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | kpi_socket.h | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 69 @discussion Accepts an incoming connection on a socket. See 'man 2 72 @param so The listening socket you'd like to accept a connection on. 82 occurs on the socket. This may be NULL. 86 @result 0 on success otherwise the errno error. 97 @result 0 on success otherwise the errno error. 103 @discussion Initiates a connection on the socket. See 'man 2 112 @result 0 on success, EINPROGRESS for a non-blocking connect that 128 @discussion Allows a caller to wait on a socket connect. 131 @result 0 on succes [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | Diagnostics.h | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 46 #error This file is not useful on PowerPC.
|
H A D | misc_protos.h | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 75 boolean_t on);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/specfs/ |
H A D | spec_vnops.c | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 325 int n, on; local 360 on = uio->uio_offset % bsize; 376 if ((on > n) || error) { 383 n = min((unsigned)(n - on), uio_resid(uio)); 385 error = uiomove((char *)0 + buf_dataptr(bp) + on, n, uio); 386 if (n + on == bsize) 414 int n, on; local 455 on = uio->uio_offset % bsize; 458 n = min((unsigned)(bsize - on), uio_resi [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | krpc_subr.c | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 92 * Note: will not work on variable-sized rpc args/results. 147 * Returns non-zero error on failure. 257 int on = 1; local 258 if ((error = sock_setsockopt(so, SOL_SOCKET, SO_BROADCAST, &on, sizeof(on)))) 531 * XXX - Should not rely on making the entire reply
|
H A D | nfs_syscalls.c | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 198 * They do read-ahead and write-behind operations on the block I/O cache. 200 * The pool of up to nfsiod_thread_max threads is launched on demand and exit 203 * Each thread puts an nfsiod on the free list and sleeps on it. When it wakes 205 * it will put the struct at the head of free list and sleep on it. 207 * put it on the work queue, and wake whatever thread is waiting on that struct. 283 * Grab an nfsiod struct to work on, do some work, then drop it 315 * new work that arrives will be serviced on 702 int error = 0, sodomain, sotype, soprotocol, on = 1; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/libkern/ppc/ |
H A D | bcmp.s | 19 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 79 ; cr0= set on length
|