X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/8f6c56a50524aa785f7e596d52dddfb331e18961..d1ecb069dfe24481e4a83f44cb5217a2b06746d7:/iokit/Kernel/IOCommandQueue.cpp diff --git a/iokit/Kernel/IOCommandQueue.cpp b/iokit/Kernel/IOCommandQueue.cpp index 88249acf6..e2cd65b4e 100644 --- a/iokit/Kernel/IOCommandQueue.cpp +++ b/iokit/Kernel/IOCommandQueue.cpp @@ -32,12 +32,16 @@ HISTORY 1998-7-13 Godfrey van der Linden(gvdl) Created. ]*/ + +#if !defined(__LP64__) + #include #include #include #include + #define NUM_FIELDS_IN_COMMAND 4 typedef struct commandEntryTag { void *f[NUM_FIELDS_IN_COMMAND]; @@ -150,7 +154,7 @@ bool IOCommandQueue::checkForWork() consumerIndex = 0; IOTimeStampConstant(IODBG_CMDQ(IOCMDQ_ACTION), - (unsigned int) action, (unsigned int) owner); + (uintptr_t) action, (uintptr_t) owner); (*(IOCommandQueueAction) action)(owner, field0, field1, field2, field3); @@ -272,3 +276,5 @@ int IOCommandQueue::performAndFlush(OSObject *target, return numEntries; } + +#endif /* !defined(__LP64__) */