VirtualBox

Changeset 66599 in vbox


Ignore:
Timestamp:
Apr 18, 2017 6:15:32 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
114626
Message:

x86.h,bs2: X86_XCPT_MAX -> X86_XCPT_LAST; Corrected X86_XCPT_SX value.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/x86.h

    r66581 r66599  
    40314031    X86_XCPT_VE = 0x14,
    40324032    /** \#SX - Security Exception. */
    4033     X86_XCPT_SX = 0x1f  /** @todo r=ramshankar: typo. \#SX should be 0x1e (30) but X86_XCPT_MAX probably needs to remain 31. */
     4033    X86_XCPT_SX = 0x1e
    40344034} X86XCPT;
    40354035/** Pointer to a x86 exception code. */
     
    40374037/** Pointer to a const x86 exception code. */
    40384038typedef const X86XCPT *PCX86XCPT;
    4039 /** The maximum exception value. */
    4040 #define X86_XCPT_MAX                (X86_XCPT_SX)
     4039/** The last valid (currently reserved) exception value. */
     4040#define X86_XCPT_LAST               0x1f
    40414041
    40424042
  • trunk/include/iprt/x86.mac

    r66148 r66599  
    955955%define X86_SEL_RPL             0x0003
    956956%define X86_SEL_RPL_LDT         0x0007
    957 %define X86_XCPT_MAX                (X86_XCPT_SX)
     957%define X86_XCPT_LAST               0x1f
    958958%define X86_TRAP_ERR_EXTERNAL       1
    959959%define X86_TRAP_ERR_IDT            2
  • trunk/src/VBox/ValidationKit/bootsectors/bootsector2-common-routines-template-1.mac

    r66149 r66599  
    11321132        je      .nok
    11331133
    1134         cmp     dword [sDI + BS2TRAPREC.u8TrapNo], X86_XCPT_MAX
     1134        cmp     dword [sDI + BS2TRAPREC.u8TrapNo], X86_XCPT_LAST
    11351135        ja      .nok
    11361136
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette