VirtualBox

Changeset 41498 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 30, 2012 2:49:23 PM (13 years ago)
Author:
vboxsync
Message:

Windows build issues.

Location:
trunk/src/VBox/Devices/PC/BIOS-new
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/BIOS-new/MakeDebianBiosAssembly.cpp

    r41496 r41498  
    344344static bool disStringData(uint32_t uFlatAddr, uint32_t cb)
    345345{
    346     uint8_t const  *pb = &g_pbImg[uFlatAddr - VBOX_BIOS_BASE];
    347     size_t          cchOnLine = 0;
     346    uint8_t const  *pb        = &g_pbImg[uFlatAddr - VBOX_BIOS_BASE];
     347    uint32_t        cchOnLine = 0;
    348348    while (cb > 0)
    349349    {
     
    416416{
    417417    uint8_t const  *pb        = &g_pbImg[uFlatAddr - VBOX_BIOS_BASE];
    418     size_t          cchOnLine = 0;
     418    uint32_t        cchOnLine = 0;
    419419    uint8_t         bPrev     = 255;
    420420    while (cb > 0)
     
    864864            && ASMMemIsAll8(pb, RT_MIN(cb, 8), 0) == NULL)
    865865        {
    866             void  *pv      = ASMMemIsAll8(pb, cb, 0);
    867             size_t cbZeros = pv ? (uint8_t const *)pv - pb : cb;
     866            void    *pv      = ASMMemIsAll8(pb, cb, 0);
     867            uint32_t cbZeros = pv ? (uint32_t)((uint8_t const *)pv - pb) : cb;
    868868            if (!outputPrintf("    times %#x db 0\n", cbZeros))
    869869                return false;
     
    10791079    }
    10801080    pMap->iLine++;
    1081     pMap->cch   = strlen(pMap->szLine);
     1081    pMap->cch   = (uint32_t)strlen(pMap->szLine);
    10821082
    10831083    /* Check out leading white space. */
     
    13941394        || psz[cch - 1] != '+'
    13951395       )
    1396         return RTMsgErrorExit(RTEXITCODE_FAILURE, "%s:%d: Expected section box: +-----...", pMap->pszMapFile, pMap->iLine);
     1396    {
     1397        RTMsgError("%s:%d: Expected section box: +-----...", pMap->pszMapFile, pMap->iLine);
     1398        return false;
     1399    }
    13971400
    13981401    /* There may be a few lines describing the table notation now, surrounded by blank lines. */
     
    14801483        uint32_t iSeg = g_cSegs;
    14811484        if (iSeg >= RT_ELEMENTS(g_aSegs))
    1482             return RTMsgErrorExit(RTEXITCODE_FAILURE, "%s:%u: Too many segments", pMap->pszMapFile, pMap->iLine);
     1485        {
     1486            RTMsgError("%s:%u: Too many segments", pMap->pszMapFile, pMap->iLine);
     1487            return false;
     1488        }
    14831489
    14841490        char *psz = pMap->szLine;
  • trunk/src/VBox/Devices/PC/BIOS-new/Makefile.kmk

    r41496 r41498  
    9898PROGRAMS += MakeDebianBiosAssembly ## TODO this is build program, really. later.
    9999MakeDebianBiosAssembly_TEMPLATE = VBOXR3EXE
    100 MakeDebianBiosAssembly_SOURCES = MakeDebianBiosAssembly.cpp
    101 MakeDebianBiosAssembly_LIBS = \
     100MakeDebianBiosAssembly_DEFS     = IN_DIS
     101MakeDebianBiosAssembly_SOURCES  = MakeDebianBiosAssembly.cpp
     102MakeDebianBiosAssembly_LIBS     = \
    102103        $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB) \
    103104        $(LIB_RUNTIME)
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