Changeset 57252 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Aug 8, 2015 11:21:45 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 102006
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp
r57244 r57252 29 29 *******************************************************************************/ 30 30 #define LOG_GROUP LOG_GROUP_SUP_DRV 31 /* 32 * Deal with conflicts first. 33 * PVM - BSD mess, that FreeBSD has correct a long time ago. 34 * iprt/types.h before sys/param.h - prevents UINT32_C and friends. 35 */ 36 #include <iprt/types.h> 37 #include <sys/param.h> 38 #undef PVM 39 40 #include <IOKit/IOLib.h> /* Assert as function */ 31 #include "../../../Runtime/r0drv/darwin/the-darwin-kernel.h" 41 32 42 33 #include "../SUPDrvInternal.h" … … 78 69 RT_C_DECLS_END 79 70 #endif 80 81 /* The following macros are duplicated in the-darwin-kernel.h. */82 #define IPRT_DARWIN_SAVE_EFL_AC() RTCCUINTREG const fSavedEfl = ASMGetFlags();83 #define IPRT_DARWIN_RESTORE_EFL_AC() ASMSetFlags(fSavedEfl)84 #define IPRT_DARWIN_RESTORE_EFL_ONLY_AC() ASMChangeFlags(~X86_EFL_AC, fSavedEfl & X86_EFL_AC)85 86 71 87 72 /* Temporary debugging - very temporary... */
Note:
See TracChangeset
for help on using the changeset viewer.