VirtualBox

Ignore:
Timestamp:
Jun 13, 2019 3:56:18 AM (6 years ago)
Author:
vboxsync
Message:

os2/VBoxSF: Display version info during boot and log it on the host.

Location:
trunk/src/VBox/Additions/os2/VBoxSF
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/os2/VBoxSF/Makefile.kmk

    r75542 r79113  
    196196        VBoxSF.def
    197197endif
     198
     199VBoxSFA.asm_DEFS    = VBOX_SVN_REV_STR=\"$(VBOX_SVN_REV)\" VBOX_VERSION_STRING=\"$(VBOX_VERSION_STRING)\"
     200VBoxSFInit.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)
     201
    198202VBoxSF_LIBS          = \
    199203        $(VBOX_LIB_VBGL_R0) \
  • trunk/src/VBox/Additions/os2/VBoxSF/VBoxSFA.asm

    r79095 r79113  
    17981798segment DATA16
    17991799.szMessage:
    1800         db 'VirtualBox Guest Additions IFS for OS/2', 0dh, 0ah, 0
     1800        db 'VirtualBox Guest Additions IFS for OS/2 version ', VBOX_VERSION_STRING, ' r', VBOX_SVN_REV_STR, 0dh, 0ah, 0
    18011801segment CODE16
    18021802        mov     bx, .szMessage
  • trunk/src/VBox/Additions/os2/VBoxSF/VBoxSFInit.cpp

    r76693 r79113  
    3939#include <VBox/VBoxGuest.h>
    4040#include <VBox/log.h>
     41#include <VBox/version.h>
    4142#include <iprt/assert.h>
    4243#include <iprt/errcore.h>
     
    7273DECLASM(void) VBoxSFR0Init(void)
    7374{
     75    RTLogBackdoorPrintf("VBoxSFR0Init: version " VBOX_VERSION_STRING " r" RT_XSTR(VBOX_SVN_REV));
    7476    RTLogBackdoorPrintf("VBoxSFR0Init: g_fpfnDevHlp=%lx u32Version=%RX32 u32Session=%RX32 pfnServiceEP=%p g_u32Info=%u (%#x)\n",
    7577                        g_fpfnDevHlp, g_VBoxGuestIDC.u32Version, g_VBoxGuestIDC.u32Session, g_VBoxGuestIDC.pfnServiceEP, g_u32Info, g_u32Info);
    76     RTLogBackdoorPrintf("&KernSISData=%p\n",        &KernSISData);
    77     RTLogBackdoorPrintf("&KernLISData=%p\n",        &KernLISData);
    78     RTLogBackdoorPrintf("KernInterruptLevel=%#x\n", KernInterruptLevel);
    79     RTLogBackdoorPrintf("KernTKSSBase=%p\n",        KernTKSSBase);
     78    //RTLogBackdoorPrintf("&KernSISData=%p\n",        &KernSISData);
     79    //RTLogBackdoorPrintf("&KernLISData=%p\n",        &KernLISData);
     80    //RTLogBackdoorPrintf("KernInterruptLevel=%#x\n", KernInterruptLevel);
     81    //RTLogBackdoorPrintf("KernTKSSBase=%p\n",        KernTKSSBase);
    8082
    8183    KernAllocMutexLock(&g_MtxFolders);
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