VirtualBox

Changeset 58765 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 19, 2015 12:33:39 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104209
Message:

bs3kit.h: BS3_XPTR_* fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h

    r58750 r58765  
    722722            "mov ax, ss" \
    723723            "and ax, 3" \
    724             value [ax dx] modify exact [ax] nomemory;
     724            value [ax] modify exact [ax] nomemory;
    725725
    726726/**
     
    755755# define BS3_XPTR_GET(a_Type, a_Name)       ((a_Name).pTyped)
    756756#elif ARCH_BITS == 64
    757 # define BS3_XPTR_GET(a_Type, a_Name)       ((a_Type *)(uintptr_t)(a_Name).XPtr.uFlat))
     757# define BS3_XPTR_GET(a_Type, a_Name)       ((a_Type *)(uintptr_t)(a_Name).XPtr.uFlat)
    758758#else
    759759# error "ARCH_BITS"
     
    774774        if (BS3_IS_PROTECTED_MODE()) \
    775775        { \
    776             (a_Name).XPtr.u.Low  = BS3_FP_OFF(pTypeCheck); \
    777             (a_Name).XPtr.u.High = (BS3_FP_SEG(pTypeCheck) & UINT16_C(0xfff8)) - BS3_SEL_TILED; \
     776            (a_Name).XPtr.u.uLow  = BS3_FP_OFF(pTypeCheck); \
     777            (a_Name).XPtr.u.uHigh = (BS3_FP_SEG(pTypeCheck) & UINT16_C(0xfff8)) - BS3_SEL_TILED; \
    778778        } \
    779779        else \
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