blob: 55ca9f68fd9b52fd06eb72e628271bee843d99a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/** @file
Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef _IOAPIC_H_
#define _IOAPIC_H_
#define EFI_IO_APIC_INDEX_OFFSET 0x00
#define EFI_IO_APIC_DATA_OFFSET 0x10
#define EFI_IO_APIC_IRQ_ASSERTION_OFFSET 0x20
#define EFI_IO_APIC_EOI_OFFSET 0x40
#define EFI_IO_APIC_ID_REGISTER 0x0
#define EFI_IO_APIC_ID_BITSHIFT 24
#define EFI_IO_APIC_VER_REGISTER 0x1
#define EFI_IO_APIC_BOOT_CONFIG_REGISTER 0x3
#define EFI_IO_APIC_FSB_INT_DELIVERY 0x1
#endif
|