VirtualBox

Ignore:
Timestamp:
Mar 4, 2016 4:01:18 PM (9 years ago)
Author:
vboxsync
Message:

bs3kit: Eliminate BS3_MSC64_FIXUP_HACK and the associated /TP (compile as C++) option as these aren't durable workarounds for the problem. Instead do quick COFF -> OMF conversion so we can better control what WLINK will do during link. This addresses a few other issues too, like dot-prefixed segment names and incorrect fixups (not using FLAT but, symbol segment as the reference frame).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-MemAlloc.c

    r58814 r59932  
    4343         */
    4444        PBS3SLABHEAD pHead = enmKind == BS3MEMKIND_REAL
    45                            ? &BS3_MSC64_FIXUP_HACK(BS3SLABHEAD, BS3_DATA_NM(g_aBs3LowSlabLists))[idxSlabList]
    46                            : &BS3_MSC64_FIXUP_HACK(BS3SLABHEAD, BS3_DATA_NM(g_aBs3UpperTiledSlabLists))[idxSlabList];
     45                           ? &BS3_DATA_NM(g_aBs3LowSlabLists)[idxSlabList]
     46                           : &BS3_DATA_NM(g_aBs3UpperTiledSlabLists)[idxSlabList];
    4747
    48         BS3_ASSERT(BS3_MSC64_FIXUP_HACK(BS3SLABHEAD, BS3_DATA_NM(g_aBs3LowSlabLists))[idxSlabList].cbChunk >= cb);
     48        BS3_ASSERT(BS3_DATA_NM(g_aBs3LowSlabLists)[idxSlabList].cbChunk >= cb);
    4949        pvRet = Bs3SlabListAlloc(pHead);
    5050        if (pvRet)
Note: See TracChangeset for help on using the changeset viewer.

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