VirtualBox

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

Last change on this file since 51757 was 47876, checked in by vboxsync, 11 years ago

kmk incs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.0 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_MODE_MASK (RT_BIT(8) | RT_BIT(9) | RT_BIT(10))
12%define APIC_REG_LVT_MODE_FIXED 0
13%define APIC_REG_LVT_MODE_NMI RT_BIT(10)
14%define APIC_REG_LVT_MODE_EXTINT (RT_BIT(8) | RT_BIT(9) | RT_BIT(10))
15%define APIC_REG_LVT_PIN_POLARIY RT_BIT(13)
16%define APIC_REG_LVT_REMOTE_IRR RT_BIT(14)
17%define APIC_REG_LVT_LEVEL_TRIGGER RT_BIT(15)
18%define APIC_REG_LVT_MASKED RT_BIT(16)
19%ifdef ___iprt_asm_amd64_x86_h
20%endif
21%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