Searched refs:segment (Results 1 - 9 of 9) sorted by relevance

/darwin-on-arm/xnu/libkern/c++/
H A DOSRuntime.cpp265 * Given a pointer to a mach object segment, iterate the segment to
272 kernel_segment_command_t * segment,
283 for (section = firstsect(segment);
285 section = nextsect(segment, section)) {
300 "Null destructor in kext %s segment %s!",
314 OSRuntimeUnloadCPPForSegment(kernel_segment_command_t * segment) { argument
315 OSRuntimeUnloadCPPForSegmentInKmod(segment, NULL);
327 kernel_segment_command_t * segment; local
334 segment
271 OSRuntimeUnloadCPPForSegmentInKmod( kernel_segment_command_t * segment, kmod_info_t * kmodInfo) argument
412 kernel_segment_command_t * segment = NULL; // do not free local
[all...]
H A DOSKext.cpp69 extern void OSRuntimeUnloadCPPForSegment(kernel_segment_command_t * segment);
794 * KLD bootstrap segment.
796 // xxx - should rename KLD segment
803 /* On x86, use the mapping data from the segment load command to
810 // overwrite memory occupied by KLD segment with random data before
818 // overwrite memory occupied by KLD segment with random data before
840 /* kxld always needs the kernel's __LINKEDIT segment, but we can make it
843 * managed memory, then copy the segment back in.
866 "Can't copy __LINKEDIT segment for VM reassign.");
915 * Dump the LINKEDIT segment, unles
[all...]
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOMemoryCursor.cpp197 void IONaturalMemoryCursor::outputSegment(PhysicalSegment segment, argument
201 ((PhysicalSegment *) outSegments)[outSegmentIndex] = segment;
244 IOPhysicalAddress * segment; local
246 segment = &((PhysicalSegment *) inSegments)[inSegmentIndex].location;
247 OSWriteBigInt(segment, 0, inSegment.location);
248 OSWriteBigInt(segment, sizeof(IOPhysicalAddress), inSegment.length);
291 IOPhysicalAddress * segment; local
293 segment = &((PhysicalSegment *) inSegments)[inSegmentIndex].location;
294 OSWriteLittleInt(segment, 0, inSegment.location);
295 OSWriteLittleInt(segment, sizeo
[all...]
H A DIODMACommand.cpp170 maxSegmentSize--; // Set Max segment to -1
320 Segment64 segment,
337 address = segment.fIOVMAddr;
338 length = segment.fLength;
631 maxSegmentSize--; // Set Max segment to -1
899 Segment64 segment,
904 UInt64 length = min(segment.fLength, context->remaining);
905 addr64_t ioAddr = segment.fIOVMAddr;
1214 Segment64 segment, void *vSegList, UInt32 outSegIndex)
1220 && ((segment
317 segmentOp( void *reference, IODMACommand *target, Segment64 segment, void *segments, UInt32 segmentIndex) argument
897 transferSegment(void *reference, IODMACommand *target, Segment64 segment, void *segments, UInt32 segmentIndex) argument
1212 clientOutputSegment( void *reference, IODMACommand *target, Segment64 segment, void *vSegList, UInt32 outSegIndex) argument
1247 OutputHost32(IODMACommand *, Segment64 segment, void *vSegList, UInt32 outSegIndex) argument
1257 OutputBig32(IODMACommand *, Segment64 segment, void *vSegList, UInt32 outSegIndex) argument
1268 OutputLittle32(IODMACommand *, Segment64 segment, void *vSegList, UInt32 outSegIndex) argument
1279 OutputHost64(IODMACommand *, Segment64 segment, void *vSegList, UInt32 outSegIndex) argument
1288 OutputBig64(IODMACommand *, Segment64 segment, void *vSegList, UInt32 outSegIndex) argument
1299 OutputLittle64(IODMACommand *, Segment64 segment, void *vSegList, UInt32 outSegIndex) argument
[all...]
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOMemoryCursor.h42 specific memory cursors must inherit from, but a memory cursor can be created without a specific format subclass by just providing a segment function to the initializers. This class does the difficult stuff of dividing a memory descriptor into a physical scatter/gather list appropriate for the target hardware.
44 A driver is expected to create a memory cursor and configure it to the limitations of its DMA hardware; for instance the memory cursor used by the FireWire SBP-2 protocol has a maximum physical segment size of 2^16 - 1 but the actual transfer size is unlimited. Thus it would create a cursor with a maxSegmentSize of 65535 and a maxTransfer size of UINT_MAX. It would also provide a SegmentFunction that can output a pagelist entry.
47 void IONaturalMemoryCursor::outputSegment(PhysicalSegment segment,<br>
51 ((PhysicalSegment *) outSegments)[outSegmentIndex] = segment;<br>
77 @discussion Pointer to a C function that outputs a single physical segment to an element in the array as defined by the segments and segmentIndex parameters.
78 @param segment The physical address and length that is next to be output.
80 @param segmentIndex Index to output 'segment' in the 'segments' array.
82 typedef void (*SegmentFunction)(PhysicalSegment segment,
94 /*! @var maxSegmentSize Maximum size of one segment in a scatter/gather list */
109 @param outSegFunc SegmentFunction to call to output one physical segment
[all...]
H A DIODMACommand.h101 @discussion Pointer to a C function that translates a 64 segment and outputs a single desired segment to the array at the requested index. There are a group of pre-implemented SegmentFunctions that may be usefull to the developer below.
102 @param segment The 64Bit I/O bus address and length.
104 @param segmentIndex Index to output 'segment' in the 'segments' array.
105 @result Returns true if segment encoding succeeded. false may be returned if the current segment does not fit in an output segment, i.e. a 38bit address wont fit into a 32 encoding.
108 Segment64 segment,
115 @abstract Output host natural Segment32 output segment function.
121 @abstract Output host natural Segment32 output segment functio
[all...]
/darwin-on-arm/xnu/osfmk/i386/
H A Dstart.s150 mov $(KERNEL_DS),%ax /* set kernel data segment */
213 #define LJMP(segment,address) \
217 .word segment
245 /* set up the segment registers */
273 /* setup the protected mode segment registers */
/darwin-on-arm/xnu/osfmk/x86_64/
H A Dstart.s201 /* Flush data segment selectors */
393 /* save segment registers */
473 /* load null segment selectors */
483 /* restore segment registers */
505 movl $(KERNEL_TSS), %eax /* TSS segment selector */
545 #define LJMP(segment,address) \
549 .word segment
577 /* set up the segment registers */
/darwin-on-arm/xnu/osfmk/default_pager/
H A Ddp_backing_store.c227 paging_segment_t segment,
403 ("segment #%d: %d total, %d free\n",
745 /* transfer of of the target segment. */
746 /* We are guaranteed that the target segment cannot get */
751 /* do not have any backing store in the target segment */
863 * Someone is already busy reclamining this paging segment.
864 * If it's the emergency segment we are looking at then check
872 /* disable access to this segment */
877 * The "ps" segment is "off-line" now,
887 /* segment fro
3800 ps_vstruct_transfer_from_segment( vstruct_t vs, paging_segment_t segment, upl_t upl) argument
[all...]

Completed in 100 milliseconds