]>
Commit | Line | Data |
---|---|---|
9f38945f OM |
1 | /** @file\r |
2 | *\r | |
7aec2926 | 3 | * Copyright (c) 2013-2015, ARM Limited. All rights reserved.\r |
9f38945f OM |
4 | *\r |
5 | * This program and the accompanying materials\r | |
6 | * are licensed and made available under the terms and conditions of the BSD License\r | |
7 | * which accompanies this distribution. The full text of the license may be found at\r | |
8 | * http://opensource.org/licenses/bsd-license.php\r | |
9 | *\r | |
10 | * THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | * WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | *\r | |
13 | **/\r | |
14 | \r | |
15 | #ifndef __ARM_JUNO_DXE_INTERNAL_H__\r | |
16 | #define __ARM_JUNO_DXE_INTERNAL_H__\r | |
17 | \r | |
18 | #include <Uefi.h>\r | |
19 | \r | |
7aec2926 RC |
20 | #include <Library/BaseLib.h>\r |
21 | #include <Library/ArmLib.h>\r | |
22 | #include <Library/AcpiLib.h>\r | |
9f38945f OM |
23 | #include <Library/DebugLib.h>\r |
24 | #include <Library/DxeServicesTableLib.h>\r | |
25 | #include <Library/UefiBootServicesTableLib.h>\r | |
e0ae2761 OM |
26 | #include <Library/UefiLib.h>\r |
27 | \r | |
28 | #include <Protocol/AcpiTable.h>\r | |
9f38945f OM |
29 | \r |
30 | #include <IndustryStandard/Acpi.h>\r | |
31 | \r | |
a8675a19 DE |
32 | #define ACPI_SPECFLAG_PREFETCHABLE 0x06\r |
33 | #define JUNO_MARVELL_YUKON_ID 0x438011AB /* Juno Marvell PCI Dev ID */\r | |
34 | #define TST_CFG_WRITE_ENABLE 0x02 /* Enable Config Write */\r | |
35 | #define TST_CFG_WRITE_DISABLE 0x00 /* Disable Config Write */\r | |
36 | #define CS_RESET_CLR 0x02 /* SW Reset Clear */\r | |
37 | #define CS_RESET_SET 0x00 /* SW Reset Set */\r | |
38 | #define R_CONTROL_STATUS 0x0004 /* Control/Status Register */\r | |
39 | #define R_MAC 0x0100 /* MAC Address */\r | |
40 | #define R_MAC_MAINT 0x0110 /* MAC Address Maintenance */\r | |
41 | #define R_MAC_LOW 0x04 /* MAC Address Low Register Offset */\r | |
42 | #define R_TST_CTRL_1 0x0158 /* Test Control Register 1 */\r | |
43 | \r | |
44 | \r | |
e0ae2761 OM |
45 | /**\r |
46 | * Callback called when ACPI Protocol is installed\r | |
47 | */\r | |
48 | VOID\r | |
49 | AcpiPciNotificationEvent (\r | |
50 | IN EFI_EVENT Event,\r | |
51 | IN VOID *Context\r | |
52 | );\r | |
53 | \r | |
9f38945f | 54 | #endif // __ARM_JUNO_DXE_INTERNAL_H__\r |