VirtualBox

Changeset 9768

Show
Ignore:
Timestamp:
06/17/08 15:51:39 (4 months ago)
Author:
vboxsync
Message:

Regenerate err.mac and x86.mac. Adjusted the rule for generting these as x86.h now include multiline macros.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Makefile.kmk

    r9643 r9768  
    419419# 
    420420incs: 
    421         $(SED) -f include/VBox/err.sed include/VBox/err.h > include/VBox/err.mac 
    422         echo '%include "iprt/err.mac"' >> include/VBox/err.mac 
    423         $(SED) -f include/VBox/err.sed include/iprt/err.h > include/iprt/err.mac 
    424         $(SED) -e '/__VBox_x86_h__/d' -e '/#define/!d' -e 's/#define/%define/' include/VBox/x86.h > include/VBox/x86.mac 
     421        $(SED) -f include/VBox/err.sed --output include/VBox/err.mac include/VBox/err.h 
     422        $(APPEND) include/VBox/err.mac '%include "iprt/err.mac"' 
     423        $(SED) -f include/VBox/err.sed --output include/iprt/err.mac include/iprt/err.h 
     424        $(SED) \ 
     425                -e '/__VBox_x86_h__/d' \ 
     426                -e '/#define/!d' \ 
     427                -e '/\\$$/d' \ 
     428                -e 's/#define/%define/' \ 
     429                --output include/VBox/x86.mac \ 
     430                include/VBox/x86.h 
    425431 
    426432 
  • trunk/include/VBox/err.mac

    r7706 r9768  
    1212%define VERR_INVALID_SELECTOR    (-1011) 
    1313%define VERR_INVALID_RPL    (-1012) 
     14%define VERR_PAGE_MAP_LEVEL4_NOT_PRESENT    (-1013) 
     15%define VERR_PAGE_DIRECTORY_PTR_NOT_PRESENT    (-1014) 
    1416%define VINF_EM_FIRST    1100 
    1517%define VINF_EM_TERMINATE    1100 
     
    6466%define VINF_DBGF_BP_ALREADY_EXIST    1207 
    6567%define VERR_DBGF_MEM_NOT_FOUND    (-1208) 
     68%define VERR_DBGF_OS_NOT_DETCTED    (-1209) 
     69%define VINF_DBGF_OS_NOT_DETCTED    1209 
    6670%define VWRN_CONTINUE_ANALYSIS    1400 
    6771%define VWRN_CONTINUE_RECOMPILE    VWRN_CONTINUE_ANALYSIS 
     
    122126%define VINF_PGM_SYNCPAGE_MODIFIED_PDE    1625 
    123127%define VERR_PGM_GCPHYS_RANGE_CROSSES_BOUNDARY    (-1626) 
     128%define VERR_PGM_INTERMEDIATE_PAGING_CONFLICT    (-1627) 
     129%define VERR_PGM_UNSUPPORTED_SHADOW_PAGING_MODE    (-1628) 
    124130%define VERR_MM_RAM_CONFLICT    (-1700) 
    125131%define VERR_MM_HYPER_NO_MEMORY    (-1701) 
     
    349355%define VERR_VGA_INVALID_CUSTOM_MODE    (-3500) 
    350356%define VINF_VGA_RESIZE_IN_PROGRESS    (3501) 
     357%define VERR_INTNET_FLT_IF_NOT_FOUND    (-3600) 
     358%define VERR_INTNET_FLT_IF_BUSY    (-3601) 
     359%define VERR_INTNET_FLT_IF_FAILED    (-3602) 
    351360%define VERR_VMX_INVALID_VMCS_FIELD    (-4000) 
    352361%define VERR_VMX_INVALID_VMCS_PTR    (-4001) 
  • trunk/include/VBox/x86.mac

    r7706 r9768  
    182182%define X86_DR7_LEN(iBp, cb)                ( (cb) << ((iBp) * 4 + 18) ) 
    183183%define X86_DR7_ENABLED_MASK                (RT_BIT(0) | RT_BIT(1) | RT_BIT(2) | RT_BIT(3) | RT_BIT(4) | RT_BIT(6) | RT_BIT(7)) 
     184%define MSR_IA32_APICBASE                   0x1b 
    184185%define MSR_IA32_FEATURE_CONTROL            0x3A 
    185186%define MSR_IA32_FEATURE_CONTROL_LOCK       RT_BIT(0) 
     
    188189%define MSR_IA32_SYSENTER_ESP               0x175 
    189190%define MSR_IA32_SYSENTER_EIP               0x176 
    190 %define IA32_CR_PAT                         0x277 
     191%define MSR_IA32_CR_PAT                     0x277 
    191192%define MSR_IA32_VMX_BASIC_INFO             0x480 
    192193%define MSR_IA32_VMX_PINBASED_CTLS          0x481 
     
    277278%define X86_PTE_PG_MASK                     ( 0xfffff000 ) 
    278279%define X86_PTE_PAE_PG_MASK                 ( 0x0000fffffffff000ULL ) 
     280%define X86_PTE_PAE_PG_MASK_FULL            ( 0x000ffffffffff000ULL ) 
    279281%define X86_PTE_PAE_PG_MASK                 ( 0x000ffffffffff000ULL ) 
    280282%define X86_PTE_PAE_NX                      RT_BIT_64(63) 
     
    326328%define X86_PDPE_PG_MASK                    ( 0x000ffffffffff000ULL ) 
    327329%define X86_PDPE_NX                         RT_BIT_64(63) 
    328 %define X86_PDPTR_SHIFT             30 
    329 %define X86_PDPTR_MASK_32           0x3 
    330 %define X86_PDPTR_MASK              0x1ff 
     330%define X86_PDPT_SHIFT             30 
     331%define X86_PDPT_MASK_PAE          0x3 
     332%define X86_PDPT_MASK_AMD64        0x1ff 
    331333%define X86_PML4E_P                         RT_BIT(0) 
    332334%define X86_PML4E_RW                        RT_BIT(1) 
  • trunk/include/iprt/err.mac

    r7706 r9768  
    22%define VERR_GENERAL_FAILURE    (-1) 
    33%define VERR_INVALID_PARAMETER    (-2) 
     4%define VWRN_INVALID_PARAMETER    2 
    45%define VERR_INVALID_MAGIC    (-3) 
     6%define VWRN_INVALID_MAGIC    3 
    57%define VERR_INVALID_HANDLE    (-4) 
     8%define VWRN_INVALID_HANDLE    4 
    69%define VERR_LOCK_FAILED    (-5) 
    710%define VERR_INVALID_POINTER    (-6) 
     
    7679%define VERR_TRAILING_SPACES    (-77) 
    7780%define VWRN_TRAILING_SPACES    77 
    78 %define VERR_GETOPT_UNKNOWN_OPTION    (-78) 
    79 %define VERR_GETOPT_REQUIRED_ARGUMENT_MISSING    (-79) 
    80 %define VERR_GETOPT_INVALID_ARGUMENT_FORMAT    (-80) 
    81 %define VERR_NOT_FOUND    (-81) 
     81%define VERR_NOT_FOUND    (-78) 
     82%define VWRN_NOT_FOUND    78 
     83%define VERR_INVALID_STATE    (-79) 
     84%define VWRN_INVALID_STATE    79 
     85%define VERR_OUT_OF_RESOURCES    (-80) 
     86%define VWRN_OUT_OF_RESOURCES    80 
    8287%define VERR_FILE_IO_ERROR    (-100) 
    8388%define VERR_OPEN_FAILED    (-101) 
     
    249254%define VERR_CPU_OFFLINE    (-800) 
    250255%define VERR_CPU_NOT_FOUND    (-801) 
     256%define VERR_GETOPT_UNKNOWN_OPTION    (-825) 
     257%define VERR_GETOPT_REQUIRED_ARGUMENT_MISSING    (-826) 
     258%define VERR_GETOPT_INVALID_ARGUMENT_FORMAT    (-827) 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy