VirtualBox

Changeset 96200 in vbox


Ignore:
Timestamp:
Aug 14, 2022 3:24:35 AM (2 years ago)
Author:
vboxsync
Message:

iprt: Ran 'kmk incs' and regenerated assembly includes.

Location:
trunk/include
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VMMDevTesting.mac

    r93115 r96200  
    4040%define VMMDEV_TESTING_MMIO_READBACK        (VMMDEV_TESTING_MMIO_BASE + VMMDEV_TESTING_MMIO_OFF_READBACK)
    4141%define VMMDEV_TESTING_MMIO_READBACK_R3     (VMMDEV_TESTING_MMIO_BASE + VMMDEV_TESTING_MMIO_OFF_READBACK_R3)
    42 %define VMMDEV_TESTING_MMIO_RM_SEL       0xdf00
    43 %define VMMDEV_TESTING_MMIO_RM_OFF(val)  ((val) - VMMDEV_TESTING_MMIO_BASE)
    44 %define VMMDEV_TESTING_MMIO_RM_OFF2(off) (off)
     42%define VMMDEV_TESTING_MMIO_RM_SEL          0xdf00
     43%define VMMDEV_TESTING_MMIO_RM_OFF(val)     ((val) - VMMDEV_TESTING_MMIO_BASE)
     44%define VMMDEV_TESTING_MMIO_RM_OFF2(off)    (off)
    4545%define VMMDEV_TESTING_IOPORT_BASE      0x0510
    4646%define VMMDEV_TESTING_IOPORT_COUNT     0x0010
     
    5151%define VMMDEV_TESTING_IOPORT_DATA      (VMMDEV_TESTING_IOPORT_BASE + 4)
    5252%define VMMDEV_TESTING_IOPORT_NOP_R3    (VMMDEV_TESTING_IOPORT_BASE + 5)
     53%define VMMDEV_TESTING_IOPORT_LOCKED_LO (VMMDEV_TESTING_IOPORT_BASE + 6)
     54%define VMMDEV_TESTING_IOPORT_LOCKED_HI (VMMDEV_TESTING_IOPORT_BASE + 7)
    5355%define VMMDEV_TESTING_CMD_INIT         0xcab1e000
    5456%define VMMDEV_TESTING_CMD_TERM         0xcab1e001
     
    9193%define VMMDEV_TESTING_UNIT_INSTRS_PER_SEC      0x1a
    9294%define VMMDEV_TESTING_UNIT_NONE                0x1b
    93 %define VMMDEV_TESTING_NOP_RET          0x64726962
     95%define VMMDEV_TESTING_UNIT_PP1K                0x1c
     96%define VMMDEV_TESTING_UNIT_PP10K               0x1d
     97%define VMMDEV_TESTING_UNIT_PPM                 0x1e
     98%define VMMDEV_TESTING_UNIT_PPB                 0x1f
     99%define VMMDEV_TESTING_UNIT_TICKS               0x20
     100%define VMMDEV_TESTING_UNIT_TICKS_PER_CALL      0x21
     101%define VMMDEV_TESTING_UNIT_TICKS_PER_OCCURENCE 0x22
     102%define VMMDEV_TESTING_UNIT_PAGES               0x23
     103%define VMMDEV_TESTING_UNIT_PAGES_PER_SEC       0x24
     104%define VMMDEV_TESTING_UNIT_TICKS_PER_PAGE      0x25
     105%define VMMDEV_TESTING_UNIT_NS_PER_PAGE         0x26
     106%define VMMDEV_TESTING_UNIT_PS                  0x27
     107%define VMMDEV_TESTING_UNIT_PS_PER_CALL         0x28
     108%define VMMDEV_TESTING_UNIT_PS_PER_FRAME        0x29
     109%define VMMDEV_TESTING_UNIT_PS_PER_OCCURRENCE   0x2a
     110%define VMMDEV_TESTING_UNIT_PS_PER_PACKET       0x2b
     111%define VMMDEV_TESTING_UNIT_PS_PER_ROUND_TRIP   0x2c
     112%define VMMDEV_TESTING_UNIT_PS_PER_PAGE         0x2d
     113%define VMMDEV_TESTING_NOP_RET                  0x64726962
     114%define VMMDEV_TESTING_LOCKED_LO_HOLD_MASK      0x0000ffff
     115%define VMMDEV_TESTING_LOCKED_LO_WAIT_MASK      0xffff0000
     116%define VMMDEV_TESTING_LOCKED_LO_WAIT_SHIFT     16
     117%define VMMDEV_TESTING_LOCKED_HI_TICKS_MASK     0x000fffff
     118%define VMMDEV_TESTING_LOCKED_HI_MBZ_MASK       0x03f00000
     119%define VMMDEV_TESTING_LOCKED_HI_THREAD_SHARED  0x04000000
     120%define VMMDEV_TESTING_LOCKED_HI_EMT_SHARED     0x08000000
     121%define VMMDEV_TESTING_LOCKED_HI_TYPE_RW        0x10000000
     122%define VMMDEV_TESTING_LOCKED_HI_BUSY_SUCCESS   0x20000000
     123%define VMMDEV_TESTING_LOCKED_HI_POKE           0x40000000
     124%define VMMDEV_TESTING_LOCKED_HI_ENABLED        0x80000000
     125%define VMMDEV_TESTING_CFG_DWORD0            0x0000
     126%define VMMDEV_TESTING_CFG_DWORD1            0x0001
     127%define VMMDEV_TESTING_CFG_DWORD2            0x0002
     128%define VMMDEV_TESTING_CFG_DWORD3            0x0003
     129%define VMMDEV_TESTING_CFG_DWORD4            0x0004
     130%define VMMDEV_TESTING_CFG_DWORD5            0x0005
     131%define VMMDEV_TESTING_CFG_DWORD6            0x0006
     132%define VMMDEV_TESTING_CFG_DWORD7            0x0007
     133%define VMMDEV_TESTING_CFG_DWORD8            0x0008
     134%define VMMDEV_TESTING_CFG_DWORD9            0x0009
     135%define VMMDEV_TESTING_CFG_IS_NEM_LINUX      0x0100
     136%define VMMDEV_TESTING_CFG_IS_NEM_WINDOWS    0x0101
     137%define VMMDEV_TESTING_CFG_IS_NEM_DARWIN     0x0102
    94138%endif
  • trunk/include/VBox/err.mac

    r93115 r96200  
    107107%define VINF_EM_PENDING_R3_IOPORT_WRITE    1160
    108108%define VINF_EM_RESUME_R3_HISTORY_EXEC    1161
     109%define VINF_EM_EMULATE_SPLIT_LOCK    1162
    109110%define VERR_DBGF_NOT_ATTACHED    (-1200)
    110111%define VERR_DBGF_ALREADY_ATTACHED    (-1201)
     
    149150%define VINF_DBGF_R3_BP_OWNER_DEFER    1239
    150151%define VERR_DBGF_BP_OWNER_CALLBACK_WRONG_STATUS    (-1240)
     152%define VERR_DBGF_CANCELLED    (-1241)
    151153%define VWRN_CONTINUE_ANALYSIS    1400
    152154%define VWRN_CONTINUE_RECOMPILE    VWRN_CONTINUE_ANALYSIS
     
    205207%define VINF_PGM_CACHED_PAGE    1622
    206208%define VINF_PGM_GCPHYS_ALIASED    1623
    207 %define VINF_PGM_CHANGE_MODE    1624
    208209%define VINF_PGM_SYNCPAGE_MODIFIED_PDE    1625
    209210%define VERR_PGM_GCPHYS_RANGE_CROSSES_BOUNDARY    (-1626)
     
    268269%define VERR_PGM_MODE_IPE    (-1686)
    269270%define VERR_PGM_SHW_NONE_IPE    (-1687)
     271%define VERR_PGM_PAE_PDPE_RSVD    (-1688)
     272%define VERR_PGM_NOT_SUPPORTED_FOR_NEM_MODE    (-1689)
    270273%define VERR_MM_RAM_CONFLICT    (-1700)
    271274%define VERR_MM_HYPER_NO_MEMORY    (-1701)
     
    402405%define VERR_CFGM_NOT_BYTES    (-2108)
    403406%define VERR_CFGM_NOT_ENOUGH_SPACE    (-2109)
     407%define VERR_CFGM_NOT_PASSWORD    (-2110)
    404408%define VERR_CFGM_INVALID_NODE_PATH    (-2160)
    405409%define VERR_CFGM_NODE_EXISTS    (-2161)
     
    420424%define VERR_TM_TSC_ALREADY_PAUSED    (-2210)
    421425%define VERR_TM_VIRTUAL_TICKING_IPE    (-2211)
     426%define VERR_TM_TOO_MANY_TIMERS    (-2212)
     427%define VERR_TM_INVALID_TIMER_QUEUE    (-2213)
     428%define VERR_TM_TIMER_QUEUE_CANNOT_GROW    (-2214)
     429%define VERR_TM_IPE_1    (-2291)
     430%define VERR_TM_IPE_2    (-2292)
     431%define VERR_TM_IPE_3    (-2293)
     432%define VERR_TM_IPE_4    (-2294)
     433%define VERR_TM_IPE_5    (-2295)
     434%define VERR_TM_IPE_6    (-2296)
     435%define VERR_TM_IPE_7    (-2297)
     436%define VERR_TM_IPE_8    (-2298)
     437%define VERR_TM_IPE_9    (-2299)
    422438%define VERR_REM_VIRTUAL_HARDWARE_ERROR    (-2300)
    423439%define VERR_REM_VIRTUAL_CPU_ERROR    (-2301)
     
    431447%define VERR_TRPM_DONT_PANIC    (-2403)
    432448%define VERR_TRPM_PANIC    (-2404)
    433 %define VINF_TRPM_XCPT_DISPATCHED    2405
    434 %define VERR_TRPM_BAD_TRAP_IN_OP    (-2406)
    435 %define VERR_TRPM_IPE_1    (-2407)
    436 %define VERR_TRPM_IPE_2    (-2408)
    437 %define VERR_TRPM_IPE_3    (-2409)
    438 %define VERR_TRPM_HM_IPE    (-2410)
     449%define VERR_TRPM_BAD_TRAP_IN_OP    (-2405)
     450%define VERR_TRPM_IPE_1    (-2406)
     451%define VERR_TRPM_IPE_2    (-2407)
     452%define VERR_TRPM_IPE_3    (-2408)
     453%define VERR_TRPM_HM_IPE    (-2409)
    439454%define VERR_SELM_SHADOW_GDT_WRITE    (-2500)
    440455%define VERR_SELM_SHADOW_LDT_WRITE    (-2501)
     
    501516%define VERR_VMM_SMAP_BUT_AC_CLEAR    (-2717)
    502517%define VERR_VMM_WRONG_NEM_VMCPU_STATE    (-2718)
     518%define VERR_VMM_CONTEXT_HOOK_STILL_ENABLED    (-2719)
     519%define VERR_VMM_CANNOT_BLOCK    (-2720)
    503520%define VERR_PDM_NO_SUCH_LUN    (-2800)
    504521%define VERR_PDM_DEVINS_UNKNOWN_CFG_VALUES    (-2801)
     
    603620%define VERR_PDM_MEDIAEX_IOREQ_INVALID_STATE    (-2899)
    604621%define VINF_PDM_PCI_DO_DEFAULT    (7200)
     622%define VERR_PDM_CRITSECT_ABORT_FAILED    (-7201)
     623%define VERR_PDM_CRITSECTRW_TOO_MANY_READERS    (-7202)
     624%define VERR_PDM_CRITSECTRW_TOO_MANY_WRITERS    (-7203)
     625%define VERR_PDM_CRITSECTRW_TOO_MANY_RECURSIONS    (-7204)
     626%define VERR_PDM_CRITSECTRW_IPE    (-7205)
     627%define VERR_PDM_CRITSECTRW_MISALIGNED    (-7206)
    605628%define VERR_HGCM_SERVICE_NOT_FOUND    (-2900)
    606629%define VINF_HGCM_CLIENT_REJECTED    2901
     
    611634%define VINF_HGCM_SAVE_STATE    (2906)
    612635%define VERR_HGCM_SERVICE_EXISTS    (-2907)
     636%define VERR_HGCM_TOO_MANY_CLIENTS    (-2908)
     637%define VERR_HGCM_TOO_MANY_CLIENT_CALLS    (-2909)
    613638%define VERR_NAT_REDIR_GUEST_IP    (-3001)
    614639%define VERR_NAT_REDIR_SETUP    (-3002)
     
    783808%define VERR_SUPLIB_TEXT_NOT_SEALED    (-3777)
    784809%define VERR_SUPLIB_UNEXPECTED_INSTRUCTION    (-3778)
    785 %define VERR_GMM_SEED_ME    (-3800)
    786810%define VERR_GMM_OUT_OF_MEMORY    (-3801)
    787811%define VERR_GMM_HIT_GLOBAL_LIMIT    (-3802)
     
    10781102%define VERR_SUP_VP_CREATE_READ_EVT_SEM_FAILED    (-5675)
    10791103%define VERR_SUP_VP_UNDESIRABLE_MODULE    (-5676)
     1104%define VERR_SUP_DRIVERLESS    (-5699)
     1105%define VINF_SUP_DRIVERLESS    5699
    10801106%define VERR_EXTPACK_UNSUPPORTED_HOST_UNINSTALL    (-6000)
    10811107%define VERR_EXTPACK_VBOX_VERSION_MISMATCH    (-6001)
     
    11171143%define VERR_AUDIO_STREAM_NOT_READY    (-6605)
    11181144%define VERR_AUDIO_STREAM_COULD_NOT_CREATE    (-6606)
     1145%define VERR_AUDIO_ENUMERATION_FAILED    (-6607)
     1146%define VERR_AUDIO_STREAM_INIT_IN_PROGRESS    (-6608)
     1147%define VINF_AUDIO_STREAM_ASYNC_INIT_NEEDED    (6609)
    11191148%define VERR_APIC_INTR_NOT_PENDING    (-6700)
    11201149%define VERR_APIC_INTR_MASKED_BY_TPR    (-6701)
     
    11371166%define VERR_NEM_MISSING_KERNEL_API_4    (-6814)
    11381167%define VERR_NEM_MISSING_KERNEL_API_5    (-6815)
     1168%define VERR_NEM_QUERY_DIRTY_BITMAP_FAILED    (-6816)
     1169%define VERR_NEM_MISSING_FEATURE    (-6817)
    11391170%define VERR_NEM_IPE_0    (-6890)
    11401171%define VERR_NEM_IPE_1    (-6891)
     
    11561187%define VINF_RECORDING_THROTTLED    (6907)
    11571188%define VERR_RECORDING_THROTTLED    (-6907)
     1189%define VERR_RECORDING_ENCODING_FAILED    (-6908)
    11581190%define VERR_SHCLPB_MAX_TRANSFERS_REACHED    (-7100)
    11591191%define VERR_SHCLPB_MAX_OBJECTS_REACHED    (-7101)
     
    11611193%define VERR_SHCLPB_LIST_HANDLE_INVALID    (-7103)
    11621194%define VERR_SHCLPB_OBJ_HANDLE_INVALID    (-7104)
    1163 %define VERR_SHCLPB_TRANSFER_ID_NOT_FOUND    (-7105)
     1195%define VERR_SHCLPB_EVENT_ID_NOT_FOUND    (-7105)
    11641196%define VERR_SHCLPB_MAX_EVENTS_REACHED    (-7106)
    1165 %define VERR_IOMMU_IPE_1    (-7201)
    1166 %define VERR_IOMMU_IPE_2    (-7202)
    1167 %define VERR_IOMMU_IPE_3    (-7203)
    1168 %define VERR_IOMMU_IPE_4    (-7204)
    1169 %define VERR_IOMMU_DTE_READ_FAILED    (-7205)
    1170 %define VERR_IOMMU_DTE_BAD_OFFSET    (-7206)
    1171 %define VERR_IOMMU_ADDR_TRANSLATION_FAILED    (-7207)
    1172 %define VERR_IOMMU_ADDR_ACCESS_DENIED    (-7208)
    1173 %define VERR_IOMMU_INTR_REMAP_FAILED    (-7209)
    1174 %define VERR_IOMMU_INTR_REMAP_DENIED    (-7210)
    1175 %define VERR_IOMMU_CMD_NOT_SUPPORTED    (-7211)
    1176 %define VERR_IOMMU_CMD_INVALID_FORMAT    (-7212)
    1177 %define VERR_IOMMU_CMD_HW_ERROR    (-7213)
     1197%define VERR_SHCLPB_TRANSFER_ID_NOT_FOUND    (-7150)
     1198%define VERR_IOMMU_DTE_READ_FAILED    (-7300)
     1199%define VERR_IOMMU_DTE_BAD_OFFSET    (-7301)
     1200%define VERR_IOMMU_ADDR_TRANSLATION_FAILED    (-7302)
     1201%define VERR_IOMMU_ADDR_ACCESS_DENIED    (-7303)
     1202%define VERR_IOMMU_INTR_REMAP_FAILED    (-7304)
     1203%define VERR_IOMMU_INTR_REMAP_DENIED    (-7305)
     1204%define VERR_IOMMU_CMD_NOT_SUPPORTED    (-7306)
     1205%define VERR_IOMMU_CMD_INVALID_FORMAT    (-7307)
     1206%define VERR_IOMMU_CMD_HW_ERROR    (-7308)
     1207%define VERR_IOMMU_NOT_PRESENT    (-7309)
     1208%define VERR_IOMMU_CANNOT_CALL_SELF    (-7310)
     1209%define VINF_IOMMU_ADDR_TRANSLATION_DISABLED    7311
     1210%define VERR_IOMMU_IPE_0    (-7390)
     1211%define VERR_IOMMU_IPE_1    (-7391)
     1212%define VERR_IOMMU_IPE_2    (-7392)
     1213%define VERR_IOMMU_IPE_3    (-7393)
     1214%define VERR_IOMMU_IPE_4    (-7394)
     1215%define VERR_IOMMU_IPE_5    (-7395)
     1216%define VERR_IOMMU_IPE_6    (-7396)
     1217%define VERR_IOMMU_IPE_7    (-7397)
     1218%define VERR_IOMMU_IPE_8    (-7398)
     1219%define VERR_IOMMU_IPE_9    (-7399)
    11781220%include "iprt/err.mac"
  • trunk/include/VBox/param.mac

    r93115 r96200  
    3030%ifndef RT_WITHOUT_PRAGMA_ONCE
    3131%endif
     32%define GUEST_PAGE_SIZE             0x1000
     33%define GUEST_PAGE_OFFSET_MASK      0xfff
     34%define GUEST_PAGE_SHIFT            12
     35%define HOST_PAGE_SIZE              PAGE_SIZE
     36%define HOST_PAGE_OFFSET_MASK       PAGE_OFFSET_MASK
     37%define HOST_PAGE_SHIFT             PAGE_SHIFT
    3238%if ARCH_BITS == 64
    3339 %define VBOX_MAX_ALLOC_PAGE_COUNT   (_512M / PAGE_SIZE)
     
    5763%endif
    5864%define MM_MMIO_32_MAX              _2G
     65%define PDM_NET_SHAPER_MAX_GROUPS   32
     66%define PDM_NET_SHAPER_MAX_NAME_LEN 63
    5967%define PGM_HANDY_PAGES             128
    6068%define PGM_HANDY_PAGES_SET_FF      32
  • trunk/include/iprt/err.mac

    r93115 r96200  
    5555%define VERR_NO_PAGE_MEMORY    (-27)
    5656%define VINF_ALREADY_INITIALIZED    28
     57%define VERR_ALREADY_INITIALIZED    (-28)
    5758%define VERR_THREAD_IS_DEAD    (-29)
    5859%define VERR_THREAD_NOT_WAITABLE    (-30)
     
    174175%define VERR_EMPTY_STRING    (-22422)
    175176%define VERR_TOO_MANY_REFERENCES    (-22423)
     177%define VINF_THREAD_IS_TERMINATING    (22424)
     178%define VERR_THREAD_IS_TERMINATING    (-22424)
     179%define VERR_PROC_NO_ARG_TRANSLATION    (-22425)
     180%define VERR_FLOAT_UNDERFLOW    (-22426)
     181%define VWRN_FLOAT_UNDERFLOW    (22426)
     182%define VERR_FLOAT_OVERFLOW    (-22427)
     183%define VWRN_FLOAT_OVERFLOW    (22427)
    176184%define VERR_FILE_IO_ERROR    (-100)
    177185%define VERR_OPEN_FAILED    (-101)
     
    610618%define VERR_DVM_MAP_NO_VOLUME    (-22201)
    611619%define VERR_LOG_REVISION_MISMATCH    (-22300)
     620%define VINF_LOG_DISABLED    (22301)
     621%define VINF_LOG_NO_LOGGER    (22302)
    612622%define VERR_SYS_CANNOT_POWER_OFF    (-22500)
    613623%define VINF_SYS_MAY_POWER_OFF    (22501)
     
    11471157%define VERR_CR_CIPHER_INVALID_KEY_LENGTH    (-25807)
    11481158%define VERR_CR_CIPHER_INVALID_INITIALIZATION_VECTOR_LENGTH    (-25808)
     1159%define VERR_CR_CIPHER_INVALID_TAG_LENGTH    (-25809)
     1160%define VERR_CR_CIPHER_OSSL_GET_TAG_FAILED    (-25810)
     1161%define VERR_CR_CIPHER_OSSL_SET_TAG_FAILED    (-25811)
    11491162%define VERR_SHMEM_MAXIMUM_MAPPINGS_REACHED    (-26000)
    11501163%define VERR_IOQUEUE_HANDLE_NOT_REGISTERED    (-26200)
     
    11621175%define VERR_TRACELOG_READER_LOG_UNSUPPORTED    (-26601)
    11631176%define VERR_TRACELOG_READER_ITERATOR_END    (-26602)
     1177%define VERR_HARDAVL_INDEX_OUT_OF_BOUNDS    (-26801)
     1178%define VERR_HARDAVL_POINTER_OUT_OF_BOUNDS    (-26802)
     1179%define VERR_HARDAVL_MISALIGNED_POINTER    (-26803)
     1180%define VERR_HARDAVL_NODE_IS_FREE    (-26804)
     1181%define VERR_HARDAVL_STACK_OVERFLOW    (-26810)
     1182%define VERR_HARDAVL_INSERT_INVALID_KEY_RANGE    (-26811)
     1183%define VERR_HARDAVL_BAD_LEFT_HEIGHT    (-26812)
     1184%define VERR_HARDAVL_BAD_RIGHT_HEIGHT    (-26813)
     1185%define VERR_HARDAVL_BAD_NEW_HEIGHT    (-26814)
     1186%define VERR_HARDAVL_UNEXPECTED_NULL_LEFT    (-26815)
     1187%define VERR_HARDAVL_UNEXPECTED_NULL_RIGHT    (-26816)
     1188%define VERR_HARDAVL_TRAVERSED_TOO_MANY_NODES    (-26817)
     1189%define VERR_HARDAVL_LOOKUP_TOO_DEEP    (-26818)
     1190%define VERR_HARDAVL_BAD_HEIGHT    (-26819)
     1191%define VERR_HARDAVL_UNBALANCED    (-26820)
  • trunk/include/iprt/x86.mac

    r93115 r96200  
    4545%define X86_EFL_1           RT_BIT_32(1)
    4646%define X86_EFL_PF          RT_BIT_32(2)
     47%define X86_EFL_PF_BIT      2
    4748%define X86_EFL_AF          RT_BIT_32(4)
    4849%define X86_EFL_AF_BIT      4
     
    5253%define X86_EFL_SF_BIT      7
    5354%define X86_EFL_TF          RT_BIT_32(8)
     55%define X86_EFL_TF_BIT      8
    5456%define X86_EFL_IF          RT_BIT_32(9)
     57%define X86_EFL_IF_BIT      9
    5558%define X86_EFL_DF          RT_BIT_32(10)
     59%define X86_EFL_DF_BIT      10
    5660%define X86_EFL_OF          RT_BIT_32(11)
    5761%define X86_EFL_OF_BIT      11
    5862%define X86_EFL_IOPL        (RT_BIT_32(12) | RT_BIT_32(13))
    5963%define X86_EFL_NT          RT_BIT_32(14)
     64%define X86_EFL_NT_BIT      14
    6065%define X86_EFL_RF          RT_BIT_32(16)
     66%define X86_EFL_RF_BIT      16
    6167%define X86_EFL_VM          RT_BIT_32(17)
     68%define X86_EFL_VM_BIT      17
    6269%define X86_EFL_AC          RT_BIT_32(18)
     70%define X86_EFL_AC_BIT      18
    6371%define X86_EFL_VIF         RT_BIT_32(19)
     72%define X86_EFL_VIF_BIT     19
    6473%define X86_EFL_VIP         RT_BIT_32(20)
     74%define X86_EFL_VIP_BIT     20
    6575%define X86_EFL_ID          RT_BIT_32(21)
     76%define X86_EFL_ID_BIT      21
    6677%define X86_EFL_LIVE_MASK   0x003f7fd5
    6778%define X86_EFL_RA1_MASK    RT_BIT_32(1)
     
    284295%define X86_CPUID_SVM_FEATURE_EDX_VGIF                      RT_BIT(16)
    285296%define X86_CPUID_SVM_FEATURE_EDX_GMET                      RT_BIT(17)
     297%define X86_CPUID_SVM_FEATURE_EDX_SSSCHECK                  RT_BIT(19)
     298%define X86_CPUID_SVM_FEATURE_EDX_SPEC_CTRL                 RT_BIT(20)
     299%define X86_CPUID_SVM_FEATURE_EDX_HOST_MCE_OVERRIDE         RT_BIT(23)
     300%define X86_CPUID_SVM_FEATURE_EDX_TLBICTL                   RT_BIT(24)
    286301%define X86_CR0_PE                          RT_BIT_32(0)
    287302%define X86_CR0_PROTECTION_ENABLE           RT_BIT_32(0)
     
    312327%define X86_CR3_PAE_PAGE_MASK               (0xffffffe0)
    313328%define X86_CR3_AMD64_PAGE_MASK             0x000ffffffffff000
     329%define X86_CR3_EPT_PAGE_MASK               0x0000fffffffff000
    314330%define X86_CR4_VME                         RT_BIT_32(0)
    315331%define X86_CR4_PVI                         RT_BIT_32(1)
     
    599615%define MSR_LASTBRANCH_30_TO_IP             0x6de
    600616%define MSR_LASTBRANCH_31_TO_IP             0x6df
     617%define MSR_LASTBRANCH_0_INFO               0xdc0
     618%define MSR_LASTBRANCH_1_INFO               0xdc1
     619%define MSR_LASTBRANCH_2_INFO               0xdc2
     620%define MSR_LASTBRANCH_3_INFO               0xdc3
     621%define MSR_LASTBRANCH_4_INFO               0xdc4
     622%define MSR_LASTBRANCH_5_INFO               0xdc5
     623%define MSR_LASTBRANCH_6_INFO               0xdc6
     624%define MSR_LASTBRANCH_7_INFO               0xdc7
     625%define MSR_LASTBRANCH_8_INFO               0xdc8
     626%define MSR_LASTBRANCH_9_INFO               0xdc9
     627%define MSR_LASTBRANCH_10_INFO              0xdca
     628%define MSR_LASTBRANCH_11_INFO              0xdcb
     629%define MSR_LASTBRANCH_12_INFO              0xdcc
     630%define MSR_LASTBRANCH_13_INFO              0xdcd
     631%define MSR_LASTBRANCH_14_INFO              0xdce
     632%define MSR_LASTBRANCH_15_INFO              0xdcf
     633%define MSR_LASTBRANCH_16_INFO              0xdd0
     634%define MSR_LASTBRANCH_17_INFO              0xdd1
     635%define MSR_LASTBRANCH_18_INFO              0xdd2
     636%define MSR_LASTBRANCH_19_INFO              0xdd3
     637%define MSR_LASTBRANCH_20_INFO              0xdd4
     638%define MSR_LASTBRANCH_21_INFO              0xdd5
     639%define MSR_LASTBRANCH_22_INFO              0xdd6
     640%define MSR_LASTBRANCH_23_INFO              0xdd7
     641%define MSR_LASTBRANCH_24_INFO              0xdd8
     642%define MSR_LASTBRANCH_25_INFO              0xdd9
     643%define MSR_LASTBRANCH_26_INFO              0xdda
     644%define MSR_LASTBRANCH_27_INFO              0xddb
     645%define MSR_LASTBRANCH_28_INFO              0xddc
     646%define MSR_LASTBRANCH_29_INFO              0xddd
     647%define MSR_LASTBRANCH_30_INFO              0xdde
     648%define MSR_LASTBRANCH_31_INFO              0xddf
     649%define MSR_LASTBRANCH_SELECT               0x1c8
    601650%define MSR_LASTBRANCH_TOS                  0x1c9
     651%define MSR_LER_FROM_IP                     0x1dd
     652%define MSR_LER_TO_IP                       0x1de
    602653%define MSR_IA32_TSX_CTRL                   0x122
    603654%define MSR_IA32_MTRR_PHYSBASE0             0x200
     
    657708%define MSR_IA32_VMX_TRUE_ENTRY_CTLS        0x490
    658709%define MSR_IA32_VMX_VMFUNC                 0x491
     710%define MSR_IA32_VMX_PROCBASED_CTLS3        0x492
    659711%define MSR_IA32_RTIT_CTL                   0x570
    660712%define MSR_IA32_DS_AREA                    0x600
     
    816868%define X86_PAGE_1G_BASE_MASK               0xffffffffc0000000
    817869%define X86_IS_CANONICAL(a_u64Addr)         ((uint64_t)(a_u64Addr) + 0x800000000000 < UINT64_C(0x1000000000000))
     870%define X86_GET_PAGE_BASE_MASK(a_cShift)    (0xffffffffffffffff << (a_cShift))
     871%define X86_GET_PAGE_OFFSET_MASK(a_cShift)  (~X86_GET_PAGE_BASE_MASK(a_cShift))
    818872%define X86_PTE_BIT_P                       0
    819873%define X86_PTE_BIT_RW                      1
     
    933987%define X86_PDPE_AVL_MASK                   (RT_BIT_32(9) | RT_BIT_32(10) | RT_BIT_32(11))
    934988%define X86_PDPE_PG_MASK                    0x000ffffffffff000
     989%define X86_PDPE1G_PG_MASK                  0x000fffffc0000000
    935990%define X86_PDPE_PAE_MBZ_MASK               0xfff00000000001e6
    936991%define X86_PDPE_LM_NX                      RT_BIT_64(63)
     
    9801035%define X86_INVPCID_TYPE_ALL_CONTEXT_EXCL_GLOBAL    3
    9811036%define X86_INVPCID_TYPE_MAX_VALID                  X86_INVPCID_TYPE_ALL_CONTEXT_EXCL_GLOBAL
     1037%define X86_FPU_INT64_INDEFINITE    INT64_MIN
     1038%define X86_FPU_INT32_INDEFINITE    INT32_MIN
     1039%define X86_FPU_INT16_INDEFINITE    INT16_MIN
    9821040%ifndef VBOX_FOR_DTRACE_LIB
    9831041%endif
     
    10081066%define X86_FSW_XCPT_MASK   0x007f
    10091067%define X86_FSW_XCPT_ES_MASK 0x00ff
    1010 %define X86_FSW_C0          RT_BIT_32(8)
    1011 %define X86_FSW_C1          RT_BIT_32(9)
    1012 %define X86_FSW_C2          RT_BIT_32(10)
     1068%define X86_FSW_C0          RT_BIT_32(X86_FSW_C0_BIT)
     1069%define X86_FSW_C0_BIT      8
     1070%define X86_FSW_C1          RT_BIT_32(X86_FSW_C1_BIT)
     1071%define X86_FSW_C1_BIT      9
     1072%define X86_FSW_C2          RT_BIT_32(X86_FSW_C2_BIT)
     1073%define X86_FSW_C2_BIT      10
    10131074%define X86_FSW_TOP_MASK    0x3800
    10141075%define X86_FSW_TOP_SHIFT   11
    10151076%define X86_FSW_TOP_SMASK   0x0007
    10161077%define X86_FSW_TOP_GET(a_uFsw) (((a_uFsw) >> X86_FSW_TOP_SHIFT) & X86_FSW_TOP_SMASK)
    1017 %define X86_FSW_C3          RT_BIT_32(14)
     1078%define X86_FSW_TOP_GET_ST(a_uFsw, a_iSt) ((((a_uFsw) >> X86_FSW_TOP_SHIFT) + (a_iSt)) & X86_FSW_TOP_SMASK)
     1079%define X86_FSW_C3          RT_BIT_32(X86_FSW_C3_BIT)
     1080%define X86_FSW_C3_BIT      14
    10181081%define X86_FSW_C_MASK      0x4700
    10191082%define X86_FSW_B           RT_BIT_32(15)
     1083%define X86_FSW_CX_TO_QUOTIENT(a_fFsw) \
     1084    (  (((a_fFsw) & X86_FSW_C1) >> (X86_FSW_C1_BIT - 0)) \
     1085     | (((a_fFsw) & X86_FSW_C3) >> (X86_FSW_C3_BIT - 1)) \
     1086     | (((a_fFsw) & X86_FSW_C0) >> (X86_FSW_C0_BIT - 2)) )
     1087%define X86_FSW_CX_FROM_QUOTIENT(a_uQuotient) \
     1088    (  ((uint16_t)((a_uQuotient) & 1) << (X86_FSW_C1_BIT - 0)) \
     1089     | ((uint16_t)((a_uQuotient) & 2) << (X86_FSW_C3_BIT - 1)) \
     1090     | ((uint16_t)((a_uQuotient) & 4) << (X86_FSW_C0_BIT - 2)) )
    10201091%define X86_FCW_IM          RT_BIT_32(0)
     1092%define X86_FCW_IM_BIT      0
    10211093%define X86_FCW_DM          RT_BIT_32(1)
     1094%define X86_FCW_DM_BIT      1
    10221095%define X86_FCW_ZM          RT_BIT_32(2)
     1096%define X86_FCW_ZM_BIT      2
    10231097%define X86_FCW_OM          RT_BIT_32(3)
     1098%define X86_FCW_OM_BIT      3
    10241099%define X86_FCW_UM          RT_BIT_32(4)
     1100%define X86_FCW_UM_BIT      4
    10251101%define X86_FCW_PM          RT_BIT_32(5)
     1102%define X86_FCW_PM_BIT      5
    10261103%define X86_FCW_MASK_ALL    0x007f
    1027 %define X86_FCW_XCPT_MASK    0x003f
     1104%define X86_FCW_XCPT_MASK   0x003f
    10281105%define X86_FCW_PC_MASK     0x0300
     1106%define X86_FCW_PC_SHIFT    8
    10291107%define X86_FCW_PC_24       0x0000
    10301108%define X86_FCW_PC_RSVD     0x0100
     
    10321110%define X86_FCW_PC_64       0x0300
    10331111%define X86_FCW_RC_MASK     0x0c00
     1112%define X86_FCW_RC_SHIFT    10
    10341113%define X86_FCW_RC_NEAREST  0x0000
    10351114%define X86_FCW_RC_DOWN     0x0400
    10361115%define X86_FCW_RC_UP       0x0800
    10371116%define X86_FCW_RC_ZERO     0x0c00
     1117%define X86_FCW_IC_MASK     0x1000
     1118%define X86_FCW_IC_AFFINE   0x1000
     1119%define X86_FCW_IC_PROJECTIVE 0x0000
    10381120%define X86_FCW_ZERO_MASK   0xf080
    10391121%define X86_MXCSR_IE          RT_BIT_32(0)
     
    10511133%define X86_MXCSR_PM          RT_BIT_32(12)
    10521134%define X86_MXCSR_RC_MASK     0x6000
     1135%define X86_MXCSR_RC_SHIFT    13
    10531136%define X86_MXCSR_RC_NEAREST  0x0000
    10541137%define X86_MXCSR_RC_DOWN     0x2000
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