VirtualBox

Changeset 26523 in vbox


Ignore:
Timestamp:
Feb 15, 2010 2:18:13 AM (15 years ago)
Author:
vboxsync
Message:

VBoxRc,VBoxR0: Added RuntimeR?Stub libraries for the stub entrypoint that's required to shut up the microsoft linker.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r26458 r26523  
    21692169  endif
    21702170  TEMPLATE_VBoxRc_LIBS               = \
    2171         $(PATH_SDK_W2K3DDKX86_LIB)/int64.lib
     2171        $(PATH_SDK_W2K3DDKX86_LIB)/int64.lib \
     2172        $(PATH_LIB)/RuntimeRCStub$(VBOX_SUFF_LIB)
    21722173  TEMPLATE_VBoxRc_POST_CMDS          = $(VBOX_SIGN_IMAGE_CMDS)
    21732174 endif # pe
     
    22872288TEMPLATE_VBoxR0_CFLAGS              = $(TEMPLATE_VBoxR0_CXXFLAGS)
    22882289TEMPLATE_VBoxR0_LDFLAGS             = -Driver -Subsystem:NATIVE -Incremental:NO -Align:64 -MapInfo:Exports -NoD $(VBOX_VCC_WERR)
     2290TEMPLATE_VBoxR0_LIBS                = \
     2291        $(PATH_LIB)/RuntimeR0Stub$(VBOX_SUFF_LIB)
    22892292TEMPLATE_VBoxR0_LIBS.x86            = \
    22902293        $(PATH_SDK_W2K3DDKX86_LIB)/int64.lib
  • trunk/src/VBox/Devices/Makefile.kmk

    r26473 r26523  
    616616 endif
    617617
    618  ifeq ($(VBOX_LDR_FMT32),pe)
    619  VBoxDDGC_LDFLAGS        = -Entry:vgaMMIOWrite
    620  endif
    621618 if1of ($(VBOX_LDR_FMT32), pe lx)
    622619 VBoxDDGC_LIBS           = \
     
    717714endif
    718715
    719 ifeq ($(VBOX_LDR_FMT32),pe)
    720 VBoxDDR0_LDFLAGS        = -Entry:vgaMMIOWrite
    721 endif
    722716if1of ($(VBOX_LDR_FMT), pe lx)
    723717VBoxDDR0_LIBS           = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
     
    736730 VBoxDD2GC_SOURCES        = \
    737731        PC/DevAPIC.cpp
    738  ifeq ($(VBOX_LDR_FMT32),pe)
    739  VBoxDD2GC_LDFLAGS        = -Entry:apicMMIOWrite
    740  endif
    741732 if1of ($(VBOX_LDR_FMT32), pe lx)
    742733 VBoxDD2GC_LIBS           = \
     
    756747VBoxDD2R0_SOURCES        = \
    757748        PC/DevAPIC.cpp
    758 ifeq ($(VBOX_LDR_FMT),pe)
    759 VBoxDD2R0_LDFLAGS        = -Entry:apicMMIOWrite
    760 endif
    761749if1of ($(VBOX_LDR_FMT), pe lx)
    762750VBoxDD2R0_LIBS           = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
  • trunk/src/VBox/Runtime/Makefile.kmk

    r26520 r26523  
    5858
    5959 BLDPROGS += uniread
    60  LIBRARIES += RuntimeR3 RuntimeR0 RuntimeEFCPP RuntimeR3NoCRTGCC
     60 LIBRARIES += RuntimeR3 RuntimeR0 RuntimeR0Stub RuntimeEFCPP RuntimeR3NoCRTGCC
    6161 ifdef VBOX_WITH_RAW_MODE
    62   LIBRARIES += RuntimeRC
     62  LIBRARIES += RuntimeRC RuntimeRCStub
    6363 endif
    6464 ifdef VBOX_WITH_VBOXDRV
     
    11091109
    11101110#
    1111 # RuntimeR0 - Ring0 library for VMMR0.
     1111# RuntimeR0 - Ring-0 library for VMMR0.
    11121112#
    11131113RuntimeR0_TEMPLATE      = VBoxR0
     
    12021202
    12031203#
    1204 # RuntimeR0Drv - Ring0 library for host drivers.
     1204# RuntimeR0Stub - Ring-0 context startup stub for Windows.
     1205#
     1206RuntimeR0Stub_TEMPLATE    = VBoxR0
     1207RuntimeR0Stub_SOURCES.win = \
     1208        nt/NtProcessStartup-stub.cpp
     1209
     1210
     1211#
     1212# RuntimeR0Drv - Ring-0 library for host drivers.
    12051213#
    12061214RuntimeR0Drv_TEMPLATE   = VBOXR0DRV
     
    16391647        common/math/gcc/xordi3.c
    16401648 endif
     1649
     1650
     1651 #
     1652 # RuntimeRCStub - Raw-mode context startup stub for Windows.
     1653 #
     1654 RuntimeRCStub_TEMPLATE    = VBoxRc
     1655 RuntimeRCStub_SOURCES.win = \
     1656        nt/NtProcessStartup-stub.cpp
     1657
     1658
    16411659endif # VBOX_WITH_RAW_MODE
    16421660
  • trunk/src/VBox/VMM/Makefile.kmk

    r26282 r26523  
    364364 endif
    365365
    366  ifeq ($(VBOX_LDR_FMT32),pe)
    367   VMMGC_LDFLAGS  = -Entry:VMMGCEntry
    368  endif
    369 
    370366 VMMGC_SOURCES   = \
    371367        VMMGC/VMMGC0.asm \
     
    466462VMMR0_DEFS.win.amd64  = VBOX_WITH_KERNEL_USING_XMM
    467463
    468 ifeq ($(VBOX_LDR_FMT),pe)
    469  VMMR0_LDFLAGS  = -Entry:VMMR0EntryEx
    470 endif
    471464ifeq ($(VBOX_LDR_FMT),elf)
    472465 VMMR0_LDFLAGS  = -e VMMR0EntryEx
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