VirtualBox

source: vbox/trunk/include/VBox/apic.mac@ 53835

Last change on this file since 53835 was 53835, checked in by vboxsync, 10 years ago

VMMSwitcher: also mask NMI in APIC_REG_LVT_CMCI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1%ifndef ___VBox_apic_h
2%define ___VBox_apic_h
3%define APIC_REG_VERSION 0x0030
4%define APIC_REG_VERSION_GET_VER(u32) (u32 & 0xff)
5%define APIC_REG_VERSION_GET_MAX_LVT(u32) ((u32 & 0xff0000) >> 16)
6%define APIC_REG_LVT_LINT0 0x0350
7%define APIC_REG_LVT_LINT1 0x0360
8%define APIC_REG_LVT_ERR 0x0370
9%define APIC_REG_LVT_PC 0x0340
10%define APIC_REG_LVT_THMR 0x0330
11%define APIC_REG_LVT_CMCI 0x02F0
12%define APIC_REG_LVT_MODE_MASK (RT_BIT(8) | RT_BIT(9) | RT_BIT(10))
13%define APIC_REG_LVT_MODE_FIXED 0
14%define APIC_REG_LVT_MODE_NMI RT_BIT(10)
15%define APIC_REG_LVT_MODE_EXTINT (RT_BIT(8) | RT_BIT(9) | RT_BIT(10))
16%define APIC_REG_LVT_PIN_POLARIY RT_BIT(13)
17%define APIC_REG_LVT_REMOTE_IRR RT_BIT(14)
18%define APIC_REG_LVT_LEVEL_TRIGGER RT_BIT(15)
19%define APIC_REG_LVT_MASKED RT_BIT(16)
20%ifdef ___iprt_asm_amd64_x86_h
21%endif
22%endif
Note: See TracBrowser for help on using the repository browser.

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