Changeset 44004 in vbox for trunk/include/VBox
- Timestamp:
- Nov 30, 2012 3:52:31 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/apic.h
r38959 r44004 32 32 33 33 #define APIC_REG_VERSION 0x0030 34 #define APIC_REG_VERSION_GET_VER(u32)(u32 & 0xff)35 #define APIC_REG_VERSION_GET_MAX_LVT(u32)((u32 & 0xff0000) >> 16)34 #define APIC_REG_VERSION_GET_VER(u32) (u32 & 0xff) 35 #define APIC_REG_VERSION_GET_MAX_LVT(u32) ((u32 & 0xff0000) >> 16) 36 36 37 /* defines according to Figure 10-8 of the Intel Software Developers Manual Vol 3A */37 /* Defines according to Figure 10-8 of the Intel Software Developers Manual Vol 3A */ 38 38 #define APIC_REG_LVT_LINT0 0x0350 39 39 #define APIC_REG_LVT_LINT1 0x0360 … … 41 41 #define APIC_REG_LVT_PC 0x0340 42 42 #define APIC_REG_LVT_THMR 0x0330 43 #define APIC_REG_LVT_MODE_MASK (RT_BIT(8)|RT_BIT(9)|RT_BIT(10))44 #define APIC_REG_LVT_MODE_FIXED045 #define APIC_REG_LVT_MODE_NMI (RT_BIT(10))46 #define APIC_REG_LVT_MODE_EXTINT (RT_BIT(8)|RT_BIT(9)|RT_BIT(10))47 #define APIC_REG_LVT_PIN_POLARIYRT_BIT(13)48 #define APIC_REG_LVT_REMOTE_IRRRT_BIT(14)49 #define APIC_REG_LVT_LEVEL_TRIGGERRT_BIT(15)50 #define APIC_REG_LVT_MASKEDRT_BIT(16)43 #define APIC_REG_LVT_MODE_MASK (RT_BIT(8) | RT_BIT(9) | RT_BIT(10)) 44 #define APIC_REG_LVT_MODE_FIXED 0 45 #define APIC_REG_LVT_MODE_NMI RT_BIT(10) 46 #define APIC_REG_LVT_MODE_EXTINT (RT_BIT(8) | RT_BIT(9) | RT_BIT(10)) 47 #define APIC_REG_LVT_PIN_POLARIY RT_BIT(13) 48 #define APIC_REG_LVT_REMOTE_IRR RT_BIT(14) 49 #define APIC_REG_LVT_LEVEL_TRIGGER RT_BIT(15) 50 #define APIC_REG_LVT_MASKED RT_BIT(16) 51 51 52 52 DECLINLINE(uint32_t) ApicRegRead(void *pvBase, uint32_t offReg) … … 55 55 } 56 56 57 #endif 57 #endif /* ___VBox_apic_h */ 58 58
Note:
See TracChangeset
for help on using the changeset viewer.