Changeset 75552 in vbox
- Timestamp:
- Nov 18, 2018 4:55:03 AM (6 years ago)
- Location:
- trunk/src/VBox/Additions/common/VBoxGuest
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/Makefile.kmk
r70350 r75552 138 138 # The library order is crucial, so a bit of trickery is necessary. 139 139 # A library is used to make sure that VBoxGuestA-os2.asm is first in the link. (temporary hack?) 140 VBoxGuest_SOURCES = \ 141 VBoxGuestA-os2.asm \ 142 VBoxGuest-os2.def 143 #VBoxGuest_LDFLAGS = -s -t -v 144 VBoxGuest_LIBS = \ 145 $(TARGET_VBoxGuestLibOs2Hack) \ 146 $(VBOX_LIB_VBGL_R0BASE) \ 147 $(VBOX_LIB_IPRT_GUEST_R0) \ 148 $(VBOX_GCC_LIBGCC) \ 149 end 150 ## When debugging init with kDrvTest: 151 #VBoxGuest_NAME = VBoxGst 152 153 # see 154 LIBRARIES += VBoxGuestLibOs2Hack 155 VBoxGuestLibOs2Hack_TEMPLATE = VBOXGUESTR0LIB 156 VBoxGuestLibOs2Hack_INSTTYPE = none 157 VBoxGuestLibOs2Hack_DEFS = $(VBoxGuest_DEFS) 158 VBoxGuestLibOs2Hack_INCS = \ 159 . \ 160 $(PATH_ROOT)/src/VBox/Runtime/include # for the os2ddk 161 VBoxGuestLibOs2Hack_SOURCES = \ 162 VBoxGuest-os2.cpp \ 163 VBoxGuest.cpp 140 VBoxGuest_SOURCES = \ 141 VBoxGuestA-os2.asm 142 ifdef VBOX_USE_WATCOM_FOR_OS2 143 VBoxGuest_LIBS = \ 144 $(VBoxGuestLibOs2Hack_1_TARGET) \ 145 $(VBOX_LIB_VBGL_R0BASE) \ 146 $(VBOX_LIB_IPRT_GUEST_R0) \ 147 $(PATH_IGCC)/lib/libend.lib 148 else 149 VBoxGuest_SOURCES += \ 150 VBoxGuest-os2.def 151 #VBoxGuest_LDFLAGS = -s -t -v 152 VBoxGuest_LIBS = \ 153 $(VBoxGuestLibOs2Hack_1_TARGET) \ 154 $(VBOX_LIB_VBGL_R0BASE) \ 155 $(VBOX_LIB_IPRT_GUEST_R0) \ 156 $(VBOX_GCC_LIBGCC) \ 157 end 158 endif 159 ## When debugging init with kDrvTest: 160 #VBoxGuest_NAME = VBoxGst 161 162 # See above. 163 LIBRARIES += VBoxGuestLibOs2Hack 164 VBoxGuestLibOs2Hack_TEMPLATE = VBOXGUESTR0LIB 165 VBoxGuestLibOs2Hack_INSTTYPE = none 166 VBoxGuestLibOs2Hack_DEFS = $(VBoxGuest_DEFS) 167 VBoxGuestLibOs2Hack_INCS = \ 168 . \ 169 $(PATH_ROOT)/src/VBox/Runtime/include # for the os2ddk 170 VBoxGuestLibOs2Hack_SOURCES = \ 171 VBoxGuest-os2.cpp \ 172 VBoxGuest.cpp 164 173 endif # OS/2 165 174 -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-os2.cpp
r70873 r75552 134 134 DECLASM(int) vgdrvOS2Init(const char *pszArgs) 135 135 { 136 Log(("vgdrvOS2Init: pszArgs='%s' MMIO=0x%RX32 IOPort=0x%RX16 Int=%#x Bus=%#x Dev=%#x Fun=%d\n",137 pszArgs, g_PhysMMIOBase, g_IOPortBase, g_bInterruptLine, g_bPciBusNo, g_bPciDevFunNo >> 3, g_bPciDevFunNo & 7));136 //Log(("vgdrvOS2Init: pszArgs='%s' MMIO=0x%RX32 IOPort=0x%RX16 Int=%#x Bus=%#x Dev=%#x Fun=%d\n", 137 // pszArgs, g_PhysMMIOBase, g_IOPortBase, g_bInterruptLine, g_bPciBusNo, g_bPciDevFunNo >> 3, g_bPciDevFunNo & 7)); 138 138 139 139 /* -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuestA-os2.asm
r69500 r75552 186 186 %define DevHlp_VirtToLin 05bh 187 187 %define DevHlp_SAVE_MESSAGE 03dh 188 %define DevHlp_E IO031h188 %define DevHlp_EOI 031h 189 189 %define DevHlp_SetIRQ 01bh 190 190 %define DevHlp_PhysToVirt 015h … … 1062 1062 .our: 1063 1063 mov al, [NAME(g_bInterruptLine)] 1064 mov dl, DevHlp_E IO1064 mov dl, DevHlp_EOI 1065 1065 call far [NAME(g_fpfnDevHlp)] 1066 1066
Note:
See TracChangeset
for help on using the changeset viewer.