VirtualBox

Changeset 29703 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
May 20, 2010 3:38:42 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
61875
Message:

Runtime: NT4 fixes

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  
    340340{
    341341    AssertMsgReturn(cb <= _1G, ("%#x\n", cb), VERR_OUT_OF_RANGE); /* for safe size_t -> ULONG */
    342 #ifdef TARGET_NT4
     342#ifdef IPRT_TARGET_NT4
    343343    if (uAlignment != PAGE_SIZE)
    344344        return VERR_NOT_SUPPORTED;
     
    350350    PHYSICAL_ADDRESS PhysAddrHighest;
    351351    PhysAddrHighest.QuadPart  = PhysHighest;
    352 #ifndef TARGET_NT4
     352#ifndef IPRT_TARGET_NT4
    353353    PHYSICAL_ADDRESS PhysAddrLowest, PhysAddrBoundary;
    354354    PhysAddrLowest.QuadPart   = 0;
  • trunk/src/VBox/Runtime/r0drv/nt/memuserkernel-r0drv-nt.cpp

    r28800 r29703  
    6767RTR0DECL(bool) RTR0MemUserIsValidAddr(RTR3PTR R3Ptr)
    6868{
    69 #ifdef TARGET_NT4
     69#ifdef IPRT_TARGET_NT4
    7070    /* Play safe+wrong... it used to be a constant, but in w2k+ is a variable. */
    7171    return R3Ptr < _2G;
     
    7878RTR0DECL(bool) RTR0MemKernelIsValidAddr(void *pv)
    7979{
    80 #ifdef TARGET_NT4
     80#ifdef IPRT_TARGET_NT4
    8181    /* Play safe+wrong... it used to be a constant, but in w2k+ is a variable. */
    8282    return (uintptr_t) >= _2G;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette