VirtualBox

Changeset 101449 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Oct 16, 2023 8:54:39 AM (14 months ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:10318 Added VMX VM-exit intercepts for RDRAND and RDSEED instructions, missed file/build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/hm_vmx.h

    r101311 r101449  
    11381138    struct
    11391139    {
    1140         /** Scaling; 0=no scaling, 1=scale-by-2, 2=scale-by-4, 3=scale-by-8. */
    1141         uint32_t    u2Undef0        : 2;
     1140        uint32_t    u3Undef0        : 3;
    11421141        /** Destination register (X86_GREG_XXX). */
    11431142        uint32_t    iReg1           : 4;
     
    11451144        /** Operand size; 0=16-bit, 1=32-bit, 2=64-bit, 3=unused. */
    11461145        uint32_t    u2OperandSize   : 2;
    1147         uint32_t    u19Def0         : 20;
     1146        uint32_t    u19Undef0       : 19;
    11481147    } RdrandRdseed;
    11491148
     
    11761175    } VmreadVmwrite;
    11771176
     1177    /** LOADIWKEY information. */
    11781178    struct
    11791179    {
     
    31033103#define VMXINSTRID_MOV_TO_DRX                                   (0x18 | VMXINSTRID_VALID)
    31043104#define VMXINSTRID_MOV_FROM_DRX                                 (0x19 | VMXINSTRID_VALID)
     3105#define VMXINSTRID_RDSEED                                       (0x20 | VMXINSTRID_VALID | VMXINSTRID_MODRM_PRIMARY_OP_W)
     3106#define VMXINSTRID_RDRAND                                       (0x21 | VMXINSTRID_VALID | VMXINSTRID_MODRM_PRIMARY_OP_W)
    31053107/** @} */
    31063108
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