/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/ |
H A D | asm64.h | 38 .word KERNEL64_CS ;\ 59 .word KERNEL_CS ;\
|
H A D | mp_slave_boot.s | 77 .word segment 82 .word 0x010f ;\ 191 .word 0,0 /* 0x0 : null */ 194 .word 0xffff,MP_BOOT /* 0x8 : boot code */ 197 .word 0xffff,MP_BOOT /* 0x10 : boot data */ 200 .word 0xffff,MP_BOOT /* 0x18 : boot code, 16 bits */ 203 .word 0xffff,0 /* 0x20 : init data */ 206 .word 0xffff,0 /* 0x28 : init code */
|
H A D | acpi_wakeup.s | 43 .word segment 120 .word 0, 0 /* 0x0 : null */ 123 .word 0xffff, 0x0000 /* 0x8 : code */ 126 .word 0xffff, 0x0000 /* 0x10 : data */ 130 .word 24 /* limit (8*3 segs) */ 252 movl 2(%eax), %edx /* GDT base, skip limit word */ 323 movl 2(%eax), %edx /* GDT base, skip limit word */ 354 saved_es: .word 0 355 saved_fs: .word 0 356 saved_gs: .word [all...] |
H A D | start64.s | 42 .word 0 44 .word Times(8,GDTSZ)-1 52 .word 0 54 .word Times(16,IDTSZ)-1
|
H A D | hibernate_restore.s | 49 .word segment 97 .word 0, 0 /* 0x0 : null */ 100 .word 0xffff, 0x0000 /* 0x8 : code */ 103 .word 0xffff, 0x0000 /* 0x10 : data */ 107 .word 24 /* limit (8*3 segs) */
|
H A D | lock.h | 126 * Set or clear individual bits in a long word. 128 * to the word, not to individual bits. 143 static inline unsigned long i_bit_isset(unsigned int test, volatile unsigned long *word) argument 148 : "m" (word), "ir" (test));
|
H A D | asm.h | 131 #define SVC .byte 0x9a; .long 0; .word 0x7 133 #define RPC_SVC .byte 0x9a; .long 0; .word 0xf 136 #define Value .word
|
H A D | mp.h | 238 #define i_bit(bit, word) ((long)(*(word)) & ((long)1 << (bit)))
|
H A D | start.s | 79 .word segment 112 .word 0 114 .word Times(8,GDTSZ)-1 120 .word 0 122 .word Times(8,IDTSZ)-1 733 * byte 6 word count << 4 (to match fake descriptor) 739 * byte 4 word count 773 movw 4(%esi),%ax /* move limit bits 0..15 to word 0 */ 781 shrb $4,%dl /* shift word count to proper place */ 782 movw %dx,4(%esi) /* store word coun [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | bat_init.c | 67 bat.upper.word = address & 0xf0000000; 68 bat.lower.word = bat.upper.word; 78 shadow_BAT.DBATs[batNum].upper = bat.upper.word; 79 shadow_BAT.DBATs[batNum].lower = bat.lower.word; 85 mtdbatl( 0, bat.lower.word); 86 mtdbatu( 0, bat.upper.word); 90 mtdbatl( 1, bat.lower.word); 91 mtdbatu( 1, bat.upper.word); 95 mtdbatl( 2, bat.lower.word); [all...] |
H A D | endian.h | 42 #define PDP_ENDIAN 3412 /* LSB first in word, MSW first in long (pdp) */ 60 static __inline__ unsigned int byte_reverse_word(unsigned int word); 61 static __inline__ unsigned int byte_reverse_word(unsigned int word) { argument 63 __asm__ volatile("lwbrx %0, 0, %1" : "=r" (result) : "r" (&word));
|
H A D | Emulate.s | 271 lwz r10,0(r23) ; Get the first word 298 lwz r10,emfp0(r31) ; Get first word 309 stw r10,0(r23) ; Save the first word 411 ; Load multiple word 422 lwz r2,0(r16) ; Load word 0 424 lwz r15,4(r16) ; Load word 1 426 lwz r14,8(r16) ; Load word 2 428 lwz r5,12(r16) ; Load word 3 430 lwz r6,16(r16) ; Load word 4 432 lwz r7,20(r16) ; Load word [all...] |
H A D | bits.s | 78 # Assumes pointer is word-aligned 86 bnelr+ /* Return if bit in first word */
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/ppc/ |
H A D | processor_info.h | 55 unsigned int word; member in union:__anon905 76 unsigned int word; member in union:__anon907 85 unsigned int word; member in union:__anon909 93 unsigned int word; member in union:__anon911 145 #define PERFMON_MMCR0(x) ((x)[0].u.mmcr0.word) 146 #define PERFMON_PMC1(x) ((x)[0].pmc[0].word) 147 #define PERFMON_PMC2(x) ((x)[0].pmc[1].word) 148 #define PERFMON_MMCR1(x) ((x)[1].u.mmcr1.word) 149 #define PERFMON_PMC3(x) ((x)[1].pmc[0].word) 150 #define PERFMON_PMC4(x) ((x)[1].pmc[1].word) [all...] |
/macosx-10.5.8/xnu-1228.15.4/pexpert/pexpert/ppc/ |
H A D | protos.h | 68 static __inline__ unsigned int byte_reverse_word(unsigned int word); 69 static __inline__ unsigned int byte_reverse_word(unsigned int word) { argument 71 __asm__ volatile("lwbrx %0, 0, %1" : "=r" (result) : "r" (&word));
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/ |
H A D | adsp_internal.h | 50 typedef unsigned short word; typedef 55 #define WORD_AT(x) (*((word PTR)(x))) 327 void *qfind_b(void *qhead, word offset, word data); 328 void *qfind_w(void *qhead, word offset, word data); 329 void *qfind_p(void *qhead, word offset, void *ptr); 330 void *qfind_o(void *qhead, word offset, void *ptr);
|
H A D | adsp_Close.c | 419 if (sp->state == (word)sClosed) { /* Ok to close a closed connection */ 424 if ((sp->state != (word)sOpen) && (sp->state != (word)sClosing)) {
|
H A D | adsp_RxData.c | 155 diff = (((word)(SysTicks() - sp->sendStamp)) / (word)10) - 271 int RXData(sp, mp, f, len) /* (CCBPtr sp, ADSP_FRAMEPtr f, word len) */
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | xsumas.s | 63 cmplwi cr0,r4,kShort ; too short to word align? 64 rlwinm r2,r3,0,0x3 ; get byte offset in word 66 cmpwi cr6,r2,0 ; is address word aligned? 69 subfic r0,r2,4 ; get #bytes in partial word 72 beq cr6,Laligned ; skip if already word aligned (r2==0 if aligned) 74 ; Partial word at start: zero filled on left, it becomes initial checksum. 76 rlwinm r3,r3,0,0,29 ; word align address 78 lwz r6,0(r3) ; get partial word 81 sub r4,r4,r0 ; adjust length for bytes in partial word 83 srw r7,r7,r8 ; get mask for bytes to keep in partial word [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/commpage/ |
H A D | commpage.c | 343 uint32_t word; local 346 word = *ptr; 347 if ((word & search_mask)==search_pattern) { 348 if ((check==NULL) || (check(word))) { // check instruction if necessary 349 word &= ~new_mask; 350 word |= new_pattern; 351 *ptr = word; 503 replace = 0x00200000; // ...with a 1-bit, converting word to doubleword compares 509 replace = 0x00200000; // ...with a 1-bit, converting word to doubleword compares 515 replace = 0x00200000; // ...with a 1-bit, converting word t [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/vm/ |
H A D | vm_unix.c | 251 long word) 253 return (copyout((void *) &word, addr, sizeof(int)) == 0 ? 0 : -1); 258 long word; local 260 if (copyin(addr, (void *) &word, sizeof(int))) 262 return(word); 270 long word) 272 return (copyout((void *) &word, addr, sizeof(int)) == 0 ? 0 : -1); 277 long word; local 279 if (copyin(addr, (void *) &word, sizeof(int))) 281 return(word); 249 suword( user_addr_t addr, long word) argument 268 suiword( user_addr_t addr, long word) argument 289 sulong(user_addr_t addr, int64_t word) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/tools/tests/MMTest/ |
H A D | MMtest.c | 19 unsigned long word[2]; member in union:__anon1000 26 __asm__ volatile("movl %%eax,%0" : "=m" (now.word[0]) : : "eax"); 27 __asm__ volatile("movl %%edx,%0" : "=m" (now.word[1]) : : "edx"); 34 __asm__ volatile("mftbu %0" : "=r" (now.word[0])); 35 __asm__ volatile("mftb %0" : "=r" (now.word[1])); 37 } while (now.word[0] != t3);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | systm.h | 188 int suword(user_addr_t addr, long word); 189 int suiword(user_addr_t addr, long word);
|
/macosx-10.5.8/xnu-1228.15.4/libkern/ppc/ |
H A D | memcmp.s | 35 ; or 0 if the two strings are equal. Because we compare a word at a 79 srwi r0,r5,2 ; r0 = word length
|
H A D | strlen.s | 80 ; counting leading zeroes to get the bytes in last word. 87 add r3,r3,r7 ; add in nonzero bytes in last word
|