VirtualBox

Changeset 82 in kStuff for trunk/kHlp/Bare


Ignore:
Timestamp:
Aug 22, 2016 9:01:51 PM (9 years ago)
Author:
bird
Message:

kLdrModNative.c: Report the actual section load addresses in the aSegments[].MapAddress members.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kHlp/Bare/kHlpBareAssert.c

    r29 r82  
    8282        cbWritten = pszNl - pszMsg;
    8383
    84 #if K_OS == K_OS_OS2
     84# if K_OS == K_OS_OS2
    8585        if (cbWritten)
    8686            DosWrite((HFILE)2, pszMsg, cbWritten, &cbWritten);
    8787        DosWrite((HFILE)2, "\r\n", 2, &cbWritten);
    88 #else /* K_OS == K_OS_WINDOWS */
     88# else /* K_OS == K_OS_WINDOWS */
    8989        if (cbWritten)
    9090            WriteFile((HANDLE)STD_ERROR_HANDLE, pszMsg, cbWritten, &cbWritten, NULL);
    9191        WriteFile((HANDLE)STD_ERROR_HANDLE, "\r\n", 2, &cbWritten, NULL);
    92 #endif
     92# endif
    9393
    9494        /* next */
     
    103103    {
    104104        cbWritten = kHlpStrLen(pszMsg);
    105 #if K_OS == K_OS_OS2
     105# if K_OS == K_OS_OS2
    106106        DosWrite((HFILE)2, pszMsg, cbWritten, &cbWritten);
    107 #else /* K_OS == K_OS_WINDOWS */
     107# else /* K_OS == K_OS_WINDOWS */
    108108        WriteFile((HANDLE)STD_ERROR_HANDLE, pszMsg, cbWritten, &cbWritten, NULL);
    109 #endif
     109# endif
    110110    }
    111111
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