VirtualBox

Changeset 35335 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 27, 2010 12:34:40 PM (14 years ago)
Author:
vboxsync
Message:

VMM source reorg: VMMGC -> VMMRC.

Location:
trunk/src/VBox/VMM
Files:
25 deleted
1 edited
26 copied
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/Makefile.kmk

    r35333 r35335  
    183183endif
    184184if defined(VBOX_WITH_WARNINGS_AS_ERRORS) && "$(KBUILD_TARGET)" == "win"
    185 PDMBlkCache.cpp_CXXFLAGS = -WX-
     185## @todo Alexander, please fix these warnings.
     186VMMR3/PDMBlkCache.cpp_CXXFLAGS = -WX-
    186187endif
    187188
     
    246247
    247248 #
    248  # VMMGCBuiltin.lib
    249  #
    250  LIBRARIES += VMMGCBuiltin
    251  VMMGCBuiltin_TEMPLATE = VBoxRc
     249 # VMMRCBuiltin.lib
     250 #
     251 LIBRARIES += VMMRCBuiltin
     252 VMMRCBuiltin_TEMPLATE = VBoxRc
    252253 ifeq ($(VBOX_LDR_FMT32),pe)
    253   VMMGCBuiltin_SOURCES = VMMGC/VMMGCBuiltin.def
     254  VMMRCBuiltin_SOURCES = VMMRC/VMMRCBuiltin.def
    254255 endif
    255256 ifeq ($(VBOX_LDR_FMT32),lx)
    256   VMMGCBuiltin_SOURCES = $(PATH_VMMGCBuiltin)/VMMGCBuiltin.def
    257   $$(PATH_VMMGCBuiltin)/VMMGCBuiltin.def: $(PATH_SUB_CURRENT)/VMMGC/VMMGCBuiltin.def | $$(dir $$@)
     257  VMMRCBuiltin_SOURCES = $(PATH_VMMRCBuiltin)/VMMRCBuiltin.def
     258  $$(PATH_VMMRCBuiltin)/VMMRCBuiltin.def: $(PATH_SUB_CURRENT)/VMMRC/VMMRCBuiltin.def | $$(dir $$@)
    258259        $(SED) -e '/not-os2/d' -e 's/^[ \t][ \t]*\([a-zA-Z]\)/    _\1/' -e 's/[ \t]DATA[ \t]*/ /' --output $@ $<
    259260 endif
     
    261262
    262263 #
    263  # VMMGCImp.lib
    264  #
    265  LIBRARIES += VMMGCImp
    266  VMMGCImp_TEMPLATE = VBoxRc
    267  VMMGCImp_SOURCES = $(PATH_VMMGCImp)/VMMGC.def
    268  VMMGCImp_CLEAN   = $(PATH_VMMGCImp)/VMMGC.def
    269 
    270  $$(PATH_VMMGCImp)/VMMGC.def: $(PATH_SUB_CURRENT)/VMMGC/VMMGC.def | $$(dir $$@)
     264 # VMMRCImp.lib
     265 #
     266 LIBRARIES += VMMRCImp
     267 VMMRCImp_TEMPLATE = VBoxRc
     268 VMMRCImp_SOURCES = $(PATH_VMMRCImp)/VMMRC.def
     269 VMMRCImp_CLEAN   = $(PATH_VMMRCImp)/VMMRC.def
     270
     271 $$(PATH_VMMRCImp)/VMMRC.def: $(PATH_SUB_CURRENT)/VMMRC/VMMRC.def | $$(dir $$@)
    271272 ifeq ($(VBOX_LDR_FMT32),lx)
    272273        $(SED) \
     
    325326if defined(VBOX_WITH_RAW_MODE) && !defined(VBOX_ONLY_EXTPACKS)
    326327 #
    327  # VMMGC.gc
    328  #
    329  SYSMODS += VMMGC
    330  VMMGC_TEMPLATE  = VBoxRc
    331  VMMGC_SYSSUFF   = .gc
    332 
    333  VMMGC_DEFS      = IN_VMM_RC IN_RT_RC IN_DIS DIS_CORE_ONLY VBOX_WITH_RAW_MODE $(VMM_COMMON_DEFS)
     328 # VMMRC.gc
     329 #
     330 SYSMODS += VMMRC
     331 VMMRC_TEMPLATE  = VBoxRc
     332 VMMRC_NAME      = VMMGC
     333 VMMRC_SYSSUFF   = .gc
     334
     335 VMMRC_DEFS      = IN_VMM_RC IN_RT_RC IN_DIS DIS_CORE_ONLY VBOX_WITH_RAW_MODE $(VMM_COMMON_DEFS)
    334336 ifeq ($(KBUILD_TARGET_ARCH),x86)
    335   VMMGC_DEFS.darwin = VMM_R0_SWITCH_STACK
    336   VMMGC_DEFS.darwin = \
     337  VMMRC_DEFS.darwin = VMM_R0_SWITCH_STACK
     338  VMMRC_DEFS.darwin = \
    337339        VBOX_WITH_2X_4GB_ADDR_SPACE   VBOX_WITH_2X_4GB_ADDR_SPACE_IN_RC \
    338340        VBOX_WITH_HYBRID_32BIT_KERNEL VBOX_WITH_HYBRID_32BIT_KERNEL_IN_RC
    339341 endif
    340342
    341  VMMGC_INCS     := \
     343 VMMRC_INCS     := \
    342344        include \
    343         VMMGC \
     345        VMMRC \
    344346        PATM
    345347
    346  VMMGC_LIBS      = \
     348 VMMRC_LIBS      = \
    347349        $(PATH_LIB)/DisasmRC$(VBOX_SUFF_LIB) \
    348350        $(PATH_LIB)/RuntimeRC$(VBOX_SUFF_LIB)
    349351 ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
    350   VMMGC_LIBS    += \
    351         $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB)
    352  endif
    353 
    354  VMMGC_SOURCES   = \
    355         VMMGC/VMMGC0.asm \
    356         VMMGC/VMMGCDeps.cpp \
    357         VMMGC/CPUMGC.cpp \
    358         VMMGC/CPUMGCA.asm \
    359         VMMGC/EMGCA.asm \
    360         VMMGC/IOMGC.cpp \
    361         VMMGC/MMRamGC.cpp \
    362         VMMGC/MMRamGCA.asm \
    363         VMMGC/PDMGCDevice.cpp \
    364         VMMGC/PGMGC.cpp \
    365         VMMGC/SELMGC.cpp \
    366         VMMGC/TRPMGC.cpp \
    367         VMMGC/TRPMGCHandlers.cpp \
    368         VMMGC/TRPMGCHandlersA.asm \
    369         VMMGC/VMMGC.cpp \
    370         VMMGC/VMMGCA.asm \
    371         VMMGC/HWACCMGCA.asm \
     352  VMMRC_LIBS    += \
     353        $(PATH_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB)
     354 endif
     355
     356 VMMRC_SOURCES   = \
     357        VMMRC/VMMRC0.asm \
     358        VMMRC/VMMRCDeps.cpp \
     359        VMMRC/CPUMRC.cpp \
     360        VMMRC/CPUMRCA.asm \
     361        VMMRC/EMRCA.asm \
     362        VMMRC/IOMRC.cpp \
     363        VMMRC/MMRamRC.cpp \
     364        VMMRC/MMRamRCA.asm \
     365        VMMRC/PDMRCDevice.cpp \
     366        VMMRC/PGMRC.cpp \
     367        VMMRC/SELMRC.cpp \
     368        VMMRC/TRPMRC.cpp \
     369        VMMRC/TRPMRCHandlers.cpp \
     370        VMMRC/TRPMRCHandlersA.asm \
     371        VMMRC/VMMRC.cpp \
     372        VMMRC/VMMRCA.asm \
     373        VMMRC/HWACCMRCA.asm \
     374        VMMRC/CSAMRC.cpp \
     375        VMMRC/PATMRC.cpp \
    372376        VMMRZ/DBGFRZ.cpp \
    373377        VMMRZ/PGMRZDynMap.cpp \
     
    401405        VMMAll/VMMAll.cpp \
    402406        VMMAll/VMMAllA.asm \
    403         PATM/VMMGC/CSAMGC.cpp \
    404407        PATM/VMMAll/CSAMAll.cpp \
    405         PATM/VMMGC/PATMGC.cpp \
    406408        PATM/VMMAll/PATMAll.cpp
    407409 ifeq ($(VBOX_LDR_FMT32),pe)
    408   VMMGC_SOURCES += VMMGC/VMMGC.def
     410  VMMRC_SOURCES += VMMRC/VMMRC.def
    409411 endif
    410412 ifeq ($(VBOX_LDR_FMT32),lx)
    411   VMMGC_SOURCES += $(PATH_VMMGCImp)/VMMGC.def
     413  VMMRC_SOURCES += $(PATH_VMMRCImp)/VMMRC.def
    412414 endif
    413415
    414416
    415417 # the very last one.
    416  VMMGC_SOURCES += VMMGC/VMMGC99.asm
    417 
    418  VMMGC/VMMGCDeps.cpp_CXXFLAGS.win = -Oi- -TC ## @todo rename VMMGCDeps.cpp to .c
     418 VMMRC_SOURCES += VMMRC/VMMRC99.asm
     419
     420 VMMRC/VMMRCDeps.cpp_CXXFLAGS.win = -Oi- -TC ## @todo rename VMMRCDeps.cpp to .c
    419421endif # VBOX_WITH_RAW_MODE && !VBOX_ONLY_EXTPACKS
    420422
     
    554556PGMAllBth.obj   PGMAllGst.obj   PGMAllShw.obj:  PGMAll.o
    555557
    556 PGMGCBth.o      PGMGCGst.o      PGMGCShw.o \
    557 PGMGCBth.obj    PGMGCGst.obj    PGMGCShw.obj:   PGMGC.o
     558PGMRCBth.o      PGMRCGst.o      PGMRCShw.o \
     559PGMRCBth.obj    PGMRCGst.obj    PGMRCShw.obj:   PGMRC.o
    558560
    559561PGMPhysRWTmpl.o PGMPhysRWTmpl.obj:              PGMPhys.o
  • trunk/src/VBox/VMM/VMMRC/CPUMRCA.asm

    r35332 r35335  
    1818;* Header Files                                                                *
    1919;*******************************************************************************
    20 %include "VMMGC.mac"
     20%include "VMMRC.mac"
    2121%include "VBox/vm.mac"
    2222%include "VBox/err.mac"
  • trunk/src/VBox/VMM/VMMRC/PGMRC.cpp

    r35332 r35335  
    2929#include <VBox/trpm.h>
    3030#include <VBox/rem.h>
    31 #include "../PGMInternal.h"
     31#include "PGMInternal.h"
    3232#include <VBox/vm.h>
    33 #include "../PGMInline.h"
     33#include "PGMInline.h"
    3434
    3535#include <iprt/asm.h>
     
    5555#define PGM_SHW_TYPE                PGM_TYPE_32BIT
    5656#define PGM_SHW_NAME(name)          PGM_SHW_NAME_32BIT(name)
    57 #include "PGMGCShw.h"
     57#include "PGMRCShw.h"
    5858
    5959/* Guest - real mode */
     
    6161#define PGM_GST_NAME(name)          PGM_GST_NAME_REAL(name)
    6262#define PGM_BTH_NAME(name)          PGM_BTH_NAME_32BIT_REAL(name)
    63 #include "PGMGCGst.h"
    64 #include "PGMGCBth.h"
     63#include "PGMRCGst.h"
     64#include "PGMRCBth.h"
    6565#undef PGM_BTH_NAME
    6666#undef PGM_GST_TYPE
     
    7171#define PGM_GST_NAME(name)          PGM_GST_NAME_PROT(name)
    7272#define PGM_BTH_NAME(name)          PGM_BTH_NAME_32BIT_PROT(name)
    73 #include "PGMGCGst.h"
    74 #include "PGMGCBth.h"
     73#include "PGMRCGst.h"
     74#include "PGMRCBth.h"
    7575#undef PGM_BTH_NAME
    7676#undef PGM_GST_TYPE
     
    8181#define PGM_GST_NAME(name)          PGM_GST_NAME_32BIT(name)
    8282#define PGM_BTH_NAME(name)          PGM_BTH_NAME_32BIT_32BIT(name)
    83 #include "PGMGCGst.h"
    84 #include "PGMGCBth.h"
     83#include "PGMRCGst.h"
     84#include "PGMRCBth.h"
    8585#undef PGM_BTH_NAME
    8686#undef PGM_GST_TYPE
     
    9898#define PGM_SHW_NAME(name)          PGM_SHW_NAME_PAE(name)
    9999#define PGM_BTH_NAME(name)          PGM_BTH_NAME_PAE_REAL(name)
    100 #include "PGMGCShw.h"
     100#include "PGMRCShw.h"
    101101
    102102/* Guest - real mode */
     
    104104#define PGM_GST_NAME(name)          PGM_GST_NAME_REAL(name)
    105105#define PGM_BTH_NAME(name)          PGM_BTH_NAME_PAE_REAL(name)
    106 #include "PGMGCBth.h"
     106#include "PGMRCBth.h"
    107107#undef PGM_BTH_NAME
    108108#undef PGM_GST_TYPE
     
    113113#define PGM_GST_NAME(name)          PGM_GST_NAME_PROT(name)
    114114#define PGM_BTH_NAME(name)          PGM_BTH_NAME_PAE_PROT(name)
    115 #include "PGMGCBth.h"
     115#include "PGMRCBth.h"
    116116#undef PGM_BTH_NAME
    117117#undef PGM_GST_TYPE
     
    122122#define PGM_GST_NAME(name)          PGM_GST_NAME_32BIT(name)
    123123#define PGM_BTH_NAME(name)          PGM_BTH_NAME_PAE_32BIT(name)
    124 #include "PGMGCBth.h"
     124#include "PGMRCBth.h"
    125125#undef PGM_BTH_NAME
    126126#undef PGM_GST_TYPE
     
    131131#define PGM_GST_NAME(name)          PGM_GST_NAME_PAE(name)
    132132#define PGM_BTH_NAME(name)          PGM_BTH_NAME_PAE_PAE(name)
    133 #include "PGMGCGst.h"
    134 #include "PGMGCBth.h"
     133#include "PGMRCGst.h"
     134#include "PGMRCBth.h"
    135135#undef PGM_BTH_NAME
    136136#undef PGM_GST_TYPE
     
    146146#define PGM_SHW_TYPE                PGM_TYPE_AMD64
    147147#define PGM_SHW_NAME(name)          PGM_SHW_NAME_AMD64(name)
    148 #include "PGMGCShw.h"
     148#include "PGMRCShw.h"
    149149
    150150#ifdef VBOX_WITH_64_BITS_GUESTS
     
    153153#define PGM_GST_NAME(name)          PGM_GST_NAME_AMD64(name)
    154154#define PGM_BTH_NAME(name)          PGM_BTH_NAME_AMD64_AMD64(name)
    155 #include "PGMGCGst.h"
    156 #include "PGMGCBth.h"
     155#include "PGMRCGst.h"
     156#include "PGMRCBth.h"
    157157#undef PGM_BTH_NAME
    158158#undef PGM_GST_TYPE
  • trunk/src/VBox/VMM/VMMRC/TRPMRCHandlersA.asm

    r35332 r35335  
    1818;* Header Files                                                                *
    1919;*******************************************************************************
    20 %include "VMMGC.mac"
     20%include "VMMRC.mac"
    2121%include "VBox/x86.mac"
    2222%include "VBox/cpum.mac"
  • trunk/src/VBox/VMM/VMMRC/VMMRC0.asm

    r35332 r35335  
    1616;
    1717
    18 %include "VMMGC.mac"
     18%include "VMMRC.mac"
    1919
    2020
  • trunk/src/VBox/VMM/VMMRC/VMMRC99.asm

    r35332 r35335  
    1515;
    1616
    17 %include "VMMGC.mac"
     17%include "VMMRC.mac"
    1818
    1919
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