VirtualBox

Changeset 30922 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jul 20, 2010 6:35:18 AM (14 years ago)
Author:
vboxsync
Message:

x86.h: comments, offsets.

File:
1 edited

Legend:

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

    r30889 r30922  
    21182118typedef struct X86DESCGATE
    21192119{
    2120     /** Target code segment offset - Low word.
     2120    /** 00 - Target code segment offset - Low word.
    21212121     * Ignored if task-gate. */
    21222122    unsigned    u16OffsetLow : 16;
    2123     /** Target code segment selector for call-, interrupt- and trap-gates,
     2123    /** 10 - Target code segment selector for call-, interrupt- and trap-gates,
    21242124     * TSS selector if task-gate. */
    21252125    unsigned    u16Sel : 16;
    2126     /** Number of parameters for a call-gate.
     2126    /** 20 - Number of parameters for a call-gate.
    21272127     * Ignored if interrupt-, trap- or task-gate. */
    21282128    unsigned    u4ParmCount : 4;
    2129     /** Reserved / ignored. */
     2129    /** 24 - Reserved / ignored. */
    21302130    unsigned    u4Reserved : 4;
    2131     /** Segment Type. */
     2131    /** 28 - Segment Type. */
    21322132    unsigned    u4Type : 4;
    2133     /** Descriptor Type (0 = system). */
     2133    /** 2c - Descriptor Type (0 = system). */
    21342134    unsigned    u1DescType : 1;
    2135     /** Descriptor Privelege level. */
     2135    /** 2d - Descriptor Privelege level. */
    21362136    unsigned    u2Dpl : 2;
    2137     /** Flags selector present(=1) or not. */
     2137    /** 2f - Flags selector present(=1) or not. */
    21382138    unsigned    u1Present : 1;
    2139     /** Target code segment offset - High word.
     2139    /** 30 - Target code segment offset - High word.
    21402140     * Ignored if task-gate. */
    21412141    unsigned    u16OffsetHigh : 16;
     
    24802480/** @name AMD64 System Selector Types.
    24812481 * @{ */
     2482/** LDT selector. */
    24822483#define AMD64_SEL_TYPE_SYS_LDT              2
    2483 /** 286 TSS selector - Busy. */
     2484/** TSS selector - Busy. */
    24842485#define AMD64_SEL_TYPE_SYS_TSS_AVAIL        9
    2485 /** 386 TSS selector - Busy. */
     2486/** TSS selector - Busy. */
    24862487#define AMD64_SEL_TYPE_SYS_TSS_BUSY         0xB
    2487 /** 386 Callgate selector. */
     2488/** Callgate selector. */
    24882489#define AMD64_SEL_TYPE_SYS_CALL_GATE        0xC
    2489 /** 386 Interruptgate selector. */
     2490/** Interruptgate selector. */
    24902491#define AMD64_SEL_TYPE_SYS_INT_GATE         0xE
    2491 /** 386 Trapgate selector. */
     2492/** Trapgate selector. */
    24922493#define AMD64_SEL_TYPE_SYS_TRAP_GATE        0xF
    24932494/** @} */
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