Changeset 29703 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- May 20, 2010 3:38:42 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 61875
- Location:
- trunk/src/VBox/Runtime/r0drv/nt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/nt/memobj-r0drv-nt.cpp
r29027 r29703 340 340 { 341 341 AssertMsgReturn(cb <= _1G, ("%#x\n", cb), VERR_OUT_OF_RANGE); /* for safe size_t -> ULONG */ 342 #ifdef TARGET_NT4342 #ifdef IPRT_TARGET_NT4 343 343 if (uAlignment != PAGE_SIZE) 344 344 return VERR_NOT_SUPPORTED; … … 350 350 PHYSICAL_ADDRESS PhysAddrHighest; 351 351 PhysAddrHighest.QuadPart = PhysHighest; 352 #ifndef TARGET_NT4352 #ifndef IPRT_TARGET_NT4 353 353 PHYSICAL_ADDRESS PhysAddrLowest, PhysAddrBoundary; 354 354 PhysAddrLowest.QuadPart = 0; -
trunk/src/VBox/Runtime/r0drv/nt/memuserkernel-r0drv-nt.cpp
r28800 r29703 67 67 RTR0DECL(bool) RTR0MemUserIsValidAddr(RTR3PTR R3Ptr) 68 68 { 69 #ifdef TARGET_NT469 #ifdef IPRT_TARGET_NT4 70 70 /* Play safe+wrong... it used to be a constant, but in w2k+ is a variable. */ 71 71 return R3Ptr < _2G; … … 78 78 RTR0DECL(bool) RTR0MemKernelIsValidAddr(void *pv) 79 79 { 80 #ifdef TARGET_NT480 #ifdef IPRT_TARGET_NT4 81 81 /* Play safe+wrong... it used to be a constant, but in w2k+ is a variable. */ 82 82 return (uintptr_t) >= _2G;
Note:
See TracChangeset
for help on using the changeset viewer.