Searched refs:UInt32 (Results 1 - 25 of 128) sorted by relevance

123456

/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Datomic_switch.h30 typedef unsigned long UInt32; typedef
36 UInt32 pc;
37 UInt32 gpr0;
38 UInt32 intControlAddr;
39 UInt32 newState;
40 UInt32 intStateMask;
41 UInt32 intCR2Mask;
42 UInt32 intCR2Shift;
43 UInt32 sysContextState;
54 UInt32 p
[all...]
H A DPseudoKernel.h52 UInt32 srr0; // OUT PC at time of exception, IN return address
53 UInt32 srr1; // OUT/IN msr FE0, BE, SE and FE1 bits to restore on exit
54 UInt32 sprg0; // OUT R1 set to this value
55 UInt32 sprg1; // OUT/IN R1 restored to this value
64 UInt32 TrapVector; // 0=Trap
65 UInt32 SysCallVector; // 1=SysCall
66 UInt32 InterruptVector; // 2=Interrupt
67 UInt32 PendingIntVector; // 3=Pending interrupt
69 UInt32 InterruptControlWord; // Holds context state and backup CR2 bits
70 UInt32 NewExitStat
[all...]
/macosx-10.5.8/xnu-1228.15.4/libkern/gen/
H A DOSAtomicOperations.c49 * native Boolean CompareAndSwap(UInt32 oldValue, UInt32 newValue, UInt32 * oldValuePtr);
84 } while (! OSCompareAndSwap((UInt32)oldListHead,
85 (UInt32)newListHead, (volatile UInt32 *)inList));
99 } while (! OSCompareAndSwap((UInt32)oldListHead, (UInt32)newListHead,
100 (volatile UInt32 *)inList));
105 static UInt32 OSBitwiseAtomi
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A DIODataQueueShared.h39 * @discussion This is a variable sized struct. The data field simply represents the start of the data region. The size of the data region is stored in the size field. The whole size of the specific entry is the size of a UInt32 plus the size of the data region.
44 UInt32 size;
51 * @discussion This struct is variable sized. The struct represents the data queue header information plus a pointer to the actual data queue itself. The size of the struct is the combined size of the header fields (3 * sizeof(UInt32)) plus the actual size of the queue region. This size is stored in the queueSize field.
58 UInt32 queueSize;
59 volatile UInt32 head;
60 volatile UInt32 tail;
72 UInt32 version;
H A DIORangeAllocator.h43 typedef UInt32 IORangeScalar;
55 UInt32 numElements;
56 UInt32 capacity;
57 UInt32 capacityIncrement;
64 virtual bool allocElement( UInt32 index );
66 virtual void deallocElement( UInt32 index );
84 UInt32 capacity,
97 IORangeScalar defaultAlignment = 0, UInt32 capacity = 0,
109 virtual UInt32 getFragmentCount( void );
117 virtual UInt32 getFragmentCapacit
[all...]
H A DIODataQueue.h83 static IODataQueue *withCapacity(UInt32 size);
93 static IODataQueue *withEntries(UInt32 numEntries, UInt32 entrySize);
102 virtual Boolean initWithCapacity(UInt32 size);
112 virtual Boolean initWithEntries(UInt32 numEntries, UInt32 entrySize);
122 virtual Boolean enqueue(void *data, UInt32 dataSize);
H A DIOMemoryCursor.h49 UInt32 outSegmentIndex)<br>
84 UInt32 segmentIndex);
146 virtual UInt32 genPhysicalSegments(
150 UInt32 maxSegments,
151 UInt32 maxTransferSize = 0,
176 UInt32 segmentIndex);
219 virtual UInt32 getPhysicalSegments(IOMemoryDescriptor *descriptor,
222 UInt32 maxSegments,
223 UInt32 inMaxTransferSize = 0,
251 UInt32 segmentInde
[all...]
H A DIOSharedDataQueue.h72 static IOSharedDataQueue *withCapacity(UInt32 size);
82 static IOSharedDataQueue *withEntries(UInt32 numEntries, UInt32 entrySize);
91 virtual Boolean initWithCapacity(UInt32 size);
117 virtual Boolean dequeue(void *data, UInt32 *dataSize);
H A DIOTimerEventSource.h140 virtual IOReturn setTimeoutTicks(UInt32 ticks);
146 virtual IOReturn setTimeoutMS(UInt32 ms);
152 virtual IOReturn setTimeoutUS(UInt32 us);
159 virtual IOReturn setTimeout(UInt32 interval,
160 UInt32 scale_factor = kNanosecondScale);
178 virtual IOReturn wakeAtTimeTicks(UInt32 ticks);
184 virtual IOReturn wakeAtTimeMS(UInt32 ms);
190 virtual IOReturn wakeAtTimeUS(UInt32 us);
197 virtual IOReturn wakeAtTime(UInt32 abstime,
198 UInt32 scale_facto
[all...]
H A DIONVRAM.h72 UInt32 _ofPartitionOffset;
73 UInt32 _ofPartitionSize;
79 UInt32 _xpramPartitionOffset;
80 UInt32 _xpramPartitionSize;
82 UInt32 _nrPartitionOffset;
83 UInt32 _nrPartitionSize;
85 UInt32 _piPartitionOffset;
86 UInt32 _piPartitionSize;
95 virtual UInt32 getOFVariableType(const OSSymbol *propSymbol) const;
96 virtual UInt32 getOFVariablePer
[all...]
H A DIODMAController.h50 virtual IOReturn initDMAChannel(IOService *provider, IODMAEventSource *dmaES, UInt32 *dmaIndex, UInt32 reqIndex) = 0;
51 virtual IOReturn startDMACommand(UInt32 dmaIndex, IODMACommand *dmaCommand, IODirection direction,
53 virtual IOReturn stopDMACommand(UInt32 dmaIndex, bool flush = false, mach_timespec_t * timeout = 0) = 0;
56 virtual IOReturn queryDMACommand(UInt32 dmaIndex, IODMACommand **dmaCommand, IOByteCount *transferCount, bool waitForIdle = false) = 0;
59 static const OSSymbol *createControllerName(UInt32 phandle);
60 static IODMAController *getController(IOService *provider, UInt32 dmaIndex);
H A DIODMACommand.h62 UInt32 fIOVMAddr, fLength;
110 UInt32 segmentIndex);
118 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);
198 UInt32 alignment = 1,
227 UInt32 alignmen
[all...]
H A DIOInterleavedMemoryDescriptor.h44 UInt32 _descriptorCapacity;
45 UInt32 _descriptorCount;
73 UInt32 withCount,
78 UInt32 withCount,
101 static IOInterleavedMemoryDescriptor * withCapacity( UInt32 capacity,
111 virtual bool initWithCapacity( UInt32 capacity,
H A DIOCommandPool.h84 UInt32 fSleepers; /* Count of threads sleeping on this pool */
105 static const UInt32 kIOCommandPoolDefaultSize = 2;
148 UInt32 inSize = kIOCommandPoolDefaultSize);
156 UInt32 inSize = kIOCommandPoolDefaultSize);
H A DIOMessage.h35 typedef UInt32 IOMessage;
37 #define iokit_common_msg(message) (UInt32)(sys_iokit|sub_iokit_common|message)
38 #define iokit_family_msg(sub,message) (UInt32)(sys_iokit|sub|message)
45 #define iokit_vendor_specific_msg(message) (UInt32)(sys_iokit|sub_iokit_vendor_specific|message)
H A DIOCPU.h64 UInt32 _cpuNumber;
65 UInt32 _cpuState;
75 virtual void setCPUNumber(UInt32 cpuNumber);
76 virtual void setCPUState(UInt32 cpuState);
94 virtual UInt32 getCPUNumber(void);
95 virtual UInt32 getCPUState(void);
97 virtual UInt32 getCPUGroupSize(void);
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/
H A DOSAtomic.h89 extern Boolean OSCompareAndSwap(UInt32 oldValue, UInt32 newValue,
90 volatile UInt32 *address);
194 extern UInt32 OSBitAndAtomic(UInt32 mask, volatile UInt32 * address);
205 extern UInt16 OSBitAndAtomic16(UInt32 mask, volatile UInt16 * address);
216 extern UInt8 OSBitAndAtomic8(UInt32 mask, volatile UInt8 * address);
227 extern UInt32 OSBitOrAtomic(UInt32 mas
[all...]
H A DOSTypes.h47 typedef unsigned int UInt32; typedef
49 typedef unsigned long UInt32; typedef
54 UInt32 hi;
55 UInt32 lo;
59 UInt32 lo;
60 UInt32 hi;
77 UInt32 lo;
81 UInt32 lo;
90 typedef UInt32 OptionBits;
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DRootDomainUserClient.h66 virtual IOExternalMethod * getTargetAndMethodForIndex( IOService ** targetP, UInt32 index );
71 UInt32 type, OSDictionary * properties);
73 void setPreventative(UInt32 on_off, UInt32 types_of_sleep);
H A DIOCopyMapper.h53 UInt32 fFreeLists[kMaxNumZones];
59 UInt32 fNumZones;
60 UInt32 fMapperRegionSize;
61 UInt32 fMapperRegionUsed;
62 UInt32 fMapperRegionMaxUsed;
63 UInt32 fFreeSleepers;
H A DIOSharedDataQueue.cpp42 IOSharedDataQueue *IOSharedDataQueue::withCapacity(UInt32 size)
56 IOSharedDataQueue *IOSharedDataQueue::withEntries(UInt32 numEntries, UInt32 entrySize)
70 Boolean IOSharedDataQueue::initWithCapacity(UInt32 size)
123 UInt32 headSize = 0;
124 UInt32 headOffset = dataQueue->head;
125 UInt32 queueSize = dataQueue->queueSize;
147 Boolean IOSharedDataQueue::dequeue(void *data, UInt32 *dataSize)
151 UInt32 entrySize = 0;
152 UInt32 newHeadOffse
[all...]
H A DIODeviceTreeSupport.cpp243 for( UInt32 i = 0; array && (i < array->getCount()); i++)
279 if ( propSize != (2 * sizeof(UInt32)) ) return -1;
386 snprintf(location, sizeof(location), "%lX", *((UInt32 *) prop));
408 static IORegistryEntry * FindPHandle( UInt32 phandle )
415 if( phandle == *((UInt32 *)data->getBytesNoCopy())) {
426 UInt32 * value )
432 *value = *((UInt32 *) data->getBytesNoCopy());
441 UInt32 phandle;
446 && (sizeof(UInt32) <= (len = data->getLength()))) {
447 if (((index + 1) * sizeof(UInt32)) > le
[all...]
H A DIODMAController.cpp35 const OSSymbol *IODMAController::createControllerName(UInt32 phandle)
45 IODMAController *IODMAController::getController(IOService *provider, UInt32 dmaIndex)
54 dmaParentName = createControllerName(*(UInt32 *)dmaParentData->getBytesNoCopy());
82 _dmaControllerName = createControllerName(*(UInt32 *)phandleData->getBytesNoCopy());
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dinit.c76 } while(!OSCompareAndSwap((UInt32)entry->next, (UInt32)entry,
77 (UInt32*)&list_head));
95 } while (!OSCompareAndSwap((UInt32)backward_head, (UInt32)LIST_RAN,
96 (UInt32*)&list_head));
/macosx-10.5.8/xnu-1228.15.4/libsa/libsa/
H A Dvers_rsrc.h18 int VERS_string(char * buffer, UInt32 length, VERS_version vers);

Completed in 121 milliseconds

123456