/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/ |
H A D | ipc_hash.c | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 36 * Permission to use, copy, modify and distribute this software and its 38 * notice and this permission notice appear in all copies of the 46 * Carnegie Mellon requests users of this software to return to 244 ipc_tree_entry_t this, *last; local 253 if ((this = bucket->ihgb_head) != ITE_NULL) { 254 if ((this->ite_object == obj) && 255 (this->ite_space == space)) { 258 *namep = this 336 ipc_tree_entry_t this, *last; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | mach_header.c | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 47 * Ifdef'ed out most of this since I couldn't find any references. 218 * For now at least, all the rest of this seems unused. 220 * so if you include this, define a machine dependent constant for it's 301 struct segment_command *this; local 303 this = nextsegfromheader(&_mh_execute_header, sgp); 309 if (!this && sgp != fvm_seg) 310 this = fvm_seg; 312 return this; 357 struct segment_command *this; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach-o/ |
H A D | mach_header.c | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 47 * Ifdef'ed out most of this since I couldn't find any references. 235 * For now at least, all the rest of this seems unused. 237 * so if you include this, define a machine dependent constant for it's 323 struct segment_command *this; local 325 this = nextsegfromheader(&_mh_execute_header, sgp); 331 if (!this && sgp != fvm_seg) 332 this = fvm_seg; 334 return this; 385 struct segment_command *this; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | skiplists.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 52 * this, albeit with diminishing efficiency. 134 ld r4,mpVAddr(r3) ; get va for this mapping (plus flags in low 12 bits) 139 la r8,mpList0(r3) ; point to skip list vector in this mapping 141 beq-- cr1,mapSrch64Found ; this is the correct mapping 174 add r10,r10,r0 ; r10 <- last page in this mapping 175 cmpld r5,r10 ; does this mapping cover our page? 222 lwz r4,mpVAddr+4(r3) ; get va for this mapping (plus flags in low 12 bits) 227 la r8,mpList0+4(r3) ; point to skip list vector in this mappin [all...] |
H A D | cswtch.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 189 bne++ cswnofloat ; Level not the same, this is not live... 191 cmplw r5,r0 ; Still owned by this cpu? 201 lwz r5,SAVprev+4(r10) ; Get the previous of this savearea 206 stw r5,FPUsave(r2) ; Pop off this savearea 237 bne++ cswnovect ; Level not the same, this is not live... 239 cmplw r5,r0 ; Still owned by this cpu? 249 lwz r5,SAVprev+4(r10) ; Get the previous of this savearea 254 stw r5,VMXsave(r2) ; Pop off this saveare [all...] |
H A D | lowmem_vectors.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 110 rlwinm. r13,r13,0,pf64Bitb,pf64Bitb ; Is this a 64-bit machine? 111 cror cr1_eq,cr0_eq,cr1_eq ; See if we want to take this 211 addi r13,r13,1 ; Count this one 326 * I/O controller interface error - MACH does not use this 367 addi r11,r11,8 ; make a 0 iff this is a 0xFFFFFFF8 trap 389 * is also done here now. while this is permanently in the 390 * system the impact is completely unnoticable as this code is 396 * Note that this trac [all...] |
H A D | hw_exception.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 108 beq- cr0,EXT(ihandler) ; If on interrupt stack, treat this as interrupt... 113 bnel- checkassist ; See if we should assist this 123 stw r13,SAVact(r4) ; Mark the savearea as belonging to this activation 133 li r0,0 ; Make this 0 205 cmpi cr2,r3,T_PREEMPT ; Is this a preemption? 301 * this is an error - jump to the debugger entry 371 li r0,0 ; Clear this out 423 oris r15,r15,SAVsyscall >> 16 ; Mark that it this i [all...] |
H A D | Emulate.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 85 rlwinm. r28,r28,0,pfAltivecb,pfAltivecb ; Do we have Altivec on this machine? 92 bne- eRedriveAsISI ; Go redrive this as an ISI... 170 crset cr0_eq ; Set this to see if we failed 237 crxor iFloat,iOptype1,iOptype2 ; Set this to 0 if both bits are either 0 or 1 245 crnot iNotify,cr0_eq ; Remember to tell someone we did this 267 aaFPload: crset cr0_eq ; Set this to see if we failed 273 bf iDouble,aaLdNotDbl ; this is not a double... 281 bf- cr0_eq,aaRedriveAsDSI ; Go redrive this a [all...] |
H A D | machine_routines_asm.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 56 li r0,0 ; Clear this 155 bne++ mpr64bit ; Go do this the 64-bit way... 296 beq-- mpr32bit ; Go do this the 32-bit way... 712 isync ; Need this because FP/Vec might go off 731 isync ; Need this because FP/Vec might go off 837 * We will use the PPC NAP or DOZE for this. 875 bt pfCanDozeb,yesnap ; We can sleep or doze one this machine... 944 mfspr r6,hid0 ; Yes, this i [all...] |
H A D | atomic_switch.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 79 cmplwi cr7,r24,BB_RFI_TRAP ; Is this an RFI? 89 * state atomically. As an added bonus, this op leaves all but R1/PC of the user 97 * If this op is invoked from the Emulator Trap dispatch table, the kernel is 98 * aware of starting address of this table. It used the users PC (SRR0) 121 cmpwi r1,0 ; Is this a preemptive thread ? 191 cmpwi r2,0 ; Is this a preemptive thread
|
H A D | savearea_asm.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 47 /* Register usage conventions in this code: 53 * Because much of this code deals with physical addresses, 85 std r7,savemisc1(r8) ; Link this one 98 std r7,savemisc1(r8) ; Link this one 119 stw r7,savemisc1+4(r8) ; Link this one 132 stw r7,savemisc1+4(r8) ; Link this one 230 * circular double linked list. Because this block has no free entries, 252 std r7,SAVprev(r4) ; Set this chai [all...] |
H A D | misc_asm.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 45 /* By using this function, we force the caller to save its LR in a known 80 cdNewDeb: li r0,0 ; Clear this out 88 bl EXT(Call_DebuggerC) ; Call the "C" phase of this
|
H A D | vmachmon_asm.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 185 vmmRetPt: li r0,0 ; Clear this out 231 stw r4,saver3+4(r30) ; Cheat and move this parameter over 233 stw r5,saver4+4(r30) ; Cheat and move this parameter over 372 ; do not try this while we are transitioning off to on 427 rlwinm. r26,r4,0,vmmXStopb,vmmXStopb ; Is this VM stopped? 490 bf++ vmmMapDone,swvmNoMap ; We have not mapped anything or it was not for this address space 500 ; the VM execution again. It seems like this should be the normal case. 502 ; Note that we need to revisit this whe [all...] |
H A D | hw_vm.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 77 ; |00000000|00000002|22222222|11111111|111111BB|BBBBBBBB|BBBB////| - SID Hash - this is all 108 * Make mapping - not block or I/O - note: this is low-level, upper should remove duplicates 123 * Make mapping - block or I/O - note: this is low-level, upper should remove duplicates 220 bne-- hamOverlay ; We found a mapping, this is no good, can not double map... 282 hamSkipMax: andi. r0,r24,mpType ; Is this a normal mapping? 391 rlwinm. r0,r22,0,mpRIPb,mpRIPb ; Are we in the process of removing this one? 443 * Note that this is designed to be called from 32-bit mode with a stack. 449 * Note that this mus [all...] |
H A D | bcopy.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 57 ; - Interrupts must be disabled when this routine is 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 73 ; for an example of how this is done. 148 ; values. Note that on 32-bit architectures that this will ignore the high half of the 153 ; boundary between RAM and I/O space. Good chance of hanging the machine and this code 201 ori r8,r9,lo16(MASK(MSR_DR)) ; make a copy with DR back on... this is what we return to caller 203 li r0,1 ; Note - we use this i [all...] |
H A D | start.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 45 ; Definitions of the processor type table format, which drives this code. 46 ; The table ("processor_types") is assembled in at the end of this file. 117 li r17,0 ; Clear this out 173 cmplw r27,r28 ; Is this the right set? 263 rlwinm. r0,r17,0,pf64Bitb,pf64Bitb ; Is this a 64-bit machine? 328 beq- noFloat ; Nope, this is a really stupid machine... 446 rlwinm. r0,r17,0,pf64Bitb,pf64Bitb ; Is this a 64-bit machine? 503 addis r15,r13,0x3000 ; Hah... Figure this on [all...] |
H A D | hibernate_restore.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 111 li r0,1 ; Note - we use this in a couple places below
|
/macosx-10.5.8/xnu-1228.15.4/libkern/c++/ |
H A D | OSObjectAsm.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 63 ; delete this;
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/ |
H A D | kdp_asm.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 53 isync ; Need this because we may have ditched fp/vec 84 isync ; Need this because we may have ditched fp/vec
|
H A D | kdp_misc.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 42 ; Source and dest are long longs. We do this with 64-bit on if
|
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/c++/ |
H A D | OSEndianTypes.h | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 104 // Probably should really be using templates, this is one of the few cases 130 argname &operator = (Value v) { writeValue(v); return *this; } \
|
/macosx-10.5.8/xnu-1228.15.4/pexpert/ppc/ |
H A D | pe_clock_speed_asm.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 52 // The basic idea is this... 60 li r5, 1 ; Only once through this time
|
/macosx-10.5.8/xnu-1228.15.4/libkern/ppc/ |
H A D | memcmp.s | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 36 ; time, this requires a little additional processing once we find a
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | zalloc.c | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 36 * Permission to use, copy, modify and distribute this software and its 38 * notice and this permission notice appear in all copies of the 46 * Carnegie Mellon requests users of this software to return to 321 * When enabled, this code keeps a log to track allocations to a particular zone that have not 322 * yet been freed. Examining this log will reveal the source of a zone leak. The log is allocated 333 * is most likely the problem zone, so set zlog in boot-args to this zone name, reboot and re-run the test. The 334 * next time it panics with this message, examine the log using the kgmacros zstack, findoldest and countpcs. 355 * The number of records in the log is configurable via the zrecs parameter in boot-args. Set this t 1302 vm_offset_t this; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/ |
H A D | vm_resident.c | 8 * Version 2.0 (the 'License'). You may not use this file except in 16 * http://www.opensource.apple.com/apsl/ and read it before using this file. 36 * Permission to use, copy, modify and distribute this software and its 38 * notice and this permission notice appear in all copies of the 46 * Carnegie Mellon requests users of this software to return to 185 * All references to the virtual page size outside this 239 * For debugging, this should be a strange value 292 * shared with this module, so that page allocation 563 * wired, they nonetheless can't be moved. At this moment, 595 * If this i 1110 register vm_page_t this; local [all...] |