Searched refs:seg (Results 1 - 25 of 38) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOMemoryCursor.cpp129 PhysicalSegment seg = { 0, 0 }; local
131 while ((seg.location) || (fromPosition < inDescriptorLength))
133 if (!seg.location)
135 seg.location = inDescriptor->getPhysicalSegment(
136 fromPosition, &seg.length);
137 assert(seg.location);
138 assert(seg.length);
139 fromPosition += seg.length;
144 curTransferSize += seg.length;
145 curSeg = seg;
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Duser_ldt.h72 #include <i386/seg.h>
H A Dproc_reg.h218 unsigned short seg; local
219 __asm__ volatile("str %0" : "=rm" (seg));
220 return(seg);
223 static inline void set_tr(unsigned int seg) argument
225 __asm__ volatile("ltr %0" : : "rm" ((unsigned short)(seg)));
230 unsigned short seg; local
231 __asm__ volatile("sldt %0" : "=rm" (seg));
232 return(seg);
235 static inline void lldt(unsigned int seg) argument
237 __asm__ volatile("lldt %0" : : "rm" ((unsigned short)(seg)));
[all...]
H A Dldt.c63 #include <i386/seg.h>
H A DMakefile33 seg.h \
H A Dktss.c66 #include <i386/seg.h>
H A Ddb_disasm.c186 char * seg,
195 char * seg,
1119 char * seg,
1129 if (seg) {
1130 db_printf("%s:", seg);
1155 char * seg,
1196 db_print_address(seg, BYTE, &address, task);
1245 char * seg; local
1270 seg = 0;
1288 seg
1118 db_print_address( char * seg, int size, struct i_addr *addrp, task_t task) argument
1150 db_disasm_esc( db_addr_t loc, int inst, int short_addr, int size, char * seg, task_t task) argument
[all...]
H A Dthread.h77 #include <i386/seg.h>
H A Didt.s70 #define IDT_BASE_ENTRY(vec,seg,type) \
73 .word seg ;\
78 #define IDT_BASE_ENTRY_INT(vec,seg,type) \
81 .word seg ;\
86 #define IDT_BASE_ENTRY_TG(vec,seg,type) \
89 .word seg ;\
635 mov %eax,%es /* switch to kernel data seg */
H A Dmp_desc.h77 #include <i386/seg.h>
H A Dphys.c85 #include <i386/seg.h>
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/architecture/i386/
H A Ddesc.h111 sel_t seg; member in struct:call_gate
127 sel_t seg; member in struct:trap_gate
143 sel_t seg; member in struct:intr_gate
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dmach_header.h59 struct segment_command *seg);
H A Dmach_header.c224 struct segment_command seg; member in struct:__anon146
323 struct segment_command *seg)
331 if (sgp == seg)
440 * Create a fake USER seg if a fvmfile_command is present.
457 fvm_seg = &fvm_data.seg;
469 printf("fake fvm seg __USER/\"%s\" at 0x%x, size 0x%x\n",
321 nextsegfromheader( struct mach_header *header, struct segment_command *seg) argument
/macosx-10.5.8/xnu-1228.15.4/iokit/mach-o/
H A Dmach_header.h61 struct segment_command *seg);
/macosx-10.5.8/xnu-1228.15.4/libkern/mach-o/
H A Dmach_header.h61 struct segment_command *seg);
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach-o/
H A Dmach_header.h61 struct segment_command *seg);
H A Dmach_header.c241 struct segment_command seg; member in struct:__anon914
348 struct segment_command *seg)
356 if (sgp == seg)
477 * Create a fake USER seg if a fvmfile_command is present.
497 fvm_seg = &fvm_data.seg;
509 printf("fake fvm seg __USER/\"%s\" at 0x%lx, size 0x%lx\n",
346 nextsegfromheader( struct mach_header *header, struct segment_command *seg) argument
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIODMACommand.h118 Segment64 seg, void *segs, UInt32 ind);
129 Segment64 seg, void *segs, UInt32 ind);
140 Segment64 seg, void *segs, UInt32 ind);
151 Segment64 seg, void *segs, UInt32 ind);
162 Segment64 seg, void *segs, UInt32 ind);
173 Segment64 seg, void *segs, UInt32 ind);
/macosx-10.5.8/xnu-1228.15.4/libsa/
H A Dkld_patch.c677 struct segment_command * seg; local
688 seg = (struct segment_command *)(mh + 1);
691 cmd++, seg = (struct segment_command *)(((vm_offset_t)seg) + seg->cmdsize))
693 if (OSSwapConstInt32(LC_SYMTAB) == seg->cmd) {
694 swap_symtab_command((struct symtab_command *) seg, hostOrder);
695 swap_nlist((struct nlist *) (((vm_offset_t) mh) + ((struct symtab_command *) seg)->symoff),
696 ((struct symtab_command *) seg)->nsyms, hostOrder);
699 if (OSSwapConstInt32(LC_SEGMENT) != seg
725 struct segment_command * seg; local
871 parseSegments(struct fileRecord *file, struct segment_command *seg) argument
876 struct segment_command seg; member in struct:segmentMap
2554 struct segment_command *seg = (struct segment_command *)cmd; local
[all...]
H A Dload.c526 struct segment_command * seg; local
534 struct segment_command seg; member in struct:load_cmds
545 seg = (struct segment_command *)(hdr + 1);
548 idx++, seg = (struct segment_command *)(((vm_offset_t)seg) + seg->cmdsize))
550 if (LC_SYMTAB == seg->cmd)
559 symcmd = (struct symtab_command *) seg;
584 cmd->seg.cmd = LC_SEGMENT;
585 cmd->seg
633 struct segment_command * seg; local
2455 struct segment_command seg[1]; member in struct:machOMapping
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/vmx/
H A Dvmx_asm.h36 #include <i386/seg.h>
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Ddb_low_trace.c328 unsigned int seg, vsid, ptegindex, htsize; local
502 unsigned int xpteg[32], xpca[8], space, hash, pva, seg, api, va; local
531 seg = (xpteg[i] >> 7) ^ hash; /* Get the segment number */
533 va = ((seg << (28 - maxAdrSpb)) & 0xF0000000) | (api << 22) | ((pva << 12) & 0x003FF000); /* Get the vaddr */
864 unsigned int xpteg[32], xpca[8], space, hash, pva, seg, api, va, free, free2, xauto, PTEGcnt, wimgkk, wimgxx, slotoff; local
942 seg = (xpteg[slot] >> 7) ^ hash; /* Get the segment number */
944 va = ((seg << (28 - maxAdrSpb)) & 0xF0000000) | (api << 22) | ((pva << 12) & 0x003FF000); /* Get the vaddr */
H A Dmappings.h467 extern void hw_map_seg(pmap_t pmap, addr64_t seg, addr64_t va); /* Validate a segment */
468 extern void hw_blow_seg(addr64_t seg); /* Invalidate a segment */
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dfasttrap_isa.c271 uint8_t seg, rex = 0; local
321 seg = 0;
324 seg++;
327 seg++;
330 seg++;
333 seg++;
336 seg++;
339 seg++;
346 if (seg != 0) {
355 tp->ftt_segment = seg;
[all...]

Completed in 106 milliseconds

12