X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=DuetPkg%2FLibrary%2FDuetBdsLib%2FBdsPlatform.h;h=564d488c1ade59c88e9306537c41276aacd12cdd;hb=db4d3fa114f01798537315b5b54da32204415332;hp=ce2a0ba2b80ab6354d5d7cbe6351cececd772d74;hpb=c69dd9dfad3eb97d5e21f520f3ba35d102ec4cfa;p=mirror_edk2.git
diff --git a/DuetPkg/Library/DuetBdsLib/BdsPlatform.h b/DuetPkg/Library/DuetBdsLib/BdsPlatform.h
index ce2a0ba2b8..564d488c1a 100644
--- a/DuetPkg/Library/DuetBdsLib/BdsPlatform.h
+++ b/DuetPkg/Library/DuetBdsLib/BdsPlatform.h
@@ -1,7 +1,7 @@
/*++
-Copyright (c) 2006 - 2007, Intel Corporation
-All rights reserved. This program and the accompanying materials
+Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
+This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php
@@ -27,7 +27,7 @@ Abstract:
#include
#include
-#include
+#include
#include
#include
@@ -38,7 +38,6 @@ Abstract:
#include
#include
#include
-#include
#include
#include
#include
@@ -46,13 +45,13 @@ Abstract:
#include
-#include
#include
-#include
+#include
#include
#include
#include
#include
+#include
extern BDS_CONSOLE_CONNECT_ENTRY gPlatformConsole[];
extern EFI_DEVICE_PATH_PROTOCOL *gPlatformConnectSequence[];
@@ -76,18 +75,24 @@ extern VENDOR_DEVICE_PATH gTerminalTypeDeviceNode;
{ \
HARDWARE_DEVICE_PATH, \
HW_PCI_DP, \
- (UINT8) (sizeof (PCI_DEVICE_PATH)), \
- (UINT8) ((sizeof (PCI_DEVICE_PATH)) >> 8), \
+ { \
+ (UINT8) (sizeof (PCI_DEVICE_PATH)), \
+ (UINT8) ((sizeof (PCI_DEVICE_PATH)) >> 8) \
+ }, \
(Func), \
(Dev) \
}
#define PNPID_DEVICE_PATH_NODE(PnpId) \
{ \
- ACPI_DEVICE_PATH, \
- ACPI_DP, \
- (UINT8) (sizeof (ACPI_HID_DEVICE_PATH)), \
- (UINT8) ((sizeof (ACPI_HID_DEVICE_PATH)) >> 8), \
+ { \
+ ACPI_DEVICE_PATH, \
+ ACPI_DP, \
+ { \
+ (UINT8) (sizeof (ACPI_HID_DEVICE_PATH)), \
+ (UINT8) ((sizeof (ACPI_HID_DEVICE_PATH)) >> 8) \
+ } \
+ }, \
EISA_PNP_ID((PnpId)), \
0 \
}
@@ -109,10 +114,14 @@ extern VENDOR_DEVICE_PATH gTerminalTypeDeviceNode;
#define gUart \
{ \
- MESSAGING_DEVICE_PATH, \
- MSG_UART_DP, \
- (UINT8) (sizeof (UART_DEVICE_PATH)), \
- (UINT8) ((sizeof (UART_DEVICE_PATH)) >> 8), \
+ { \
+ MESSAGING_DEVICE_PATH, \
+ MSG_UART_DP, \
+ { \
+ (UINT8) (sizeof (UART_DEVICE_PATH)), \
+ (UINT8) ((sizeof (UART_DEVICE_PATH)) >> 8) \
+ } \
+ }, \
0, \
115200, \
8, \
@@ -122,10 +131,14 @@ extern VENDOR_DEVICE_PATH gTerminalTypeDeviceNode;
#define gPcAnsiTerminal \
{ \
- MESSAGING_DEVICE_PATH, \
- MSG_VENDOR_DP, \
- (UINT8) (sizeof (VENDOR_DEVICE_PATH)), \
- (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8), \
+ { \
+ MESSAGING_DEVICE_PATH, \
+ MSG_VENDOR_DP, \
+ { \
+ (UINT8) (sizeof (VENDOR_DEVICE_PATH)), \
+ (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8) \
+ } \
+ }, \
DEVICE_PATH_MESSAGING_PC_ANSI \
}
@@ -133,8 +146,10 @@ extern VENDOR_DEVICE_PATH gTerminalTypeDeviceNode;
{ \
END_DEVICE_PATH_TYPE, \
END_ENTIRE_DEVICE_PATH_SUBTYPE, \
- END_DEVICE_PATH_LENGTH, \
- 0 \
+ { \
+ END_DEVICE_PATH_LENGTH, \
+ 0 \
+ } \
}
#define PCI_CLASS_SCC 0x07
@@ -200,31 +215,15 @@ extern PLATFORM_ROOT_BRIDGE_DEVICE_PATH gPlatformRootBridge0;
//
// Platform BDS Functions
//
-VOID
-PlatformBdsInit (
- IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData
- )
-;
-
-VOID
-PlatformBdsPolicyBehavior (
- IN EFI_BDS_ARCH_PROTOCOL_INSTANCE *PrivateData,
- IN LIST_ENTRY *DriverOptionList,
- IN LIST_ENTRY *BootOptionList
- )
-;
-
VOID
PlatformBdsGetDriverOption (
IN LIST_ENTRY *BdsDriverLists
- )
-;
+ );
EFI_STATUS
BdsMemoryTest (
EXTENDMEM_COVERAGE_LEVEL Level
- )
-;
+ );
EFI_STATUS
PlatformBdsShowProgress (
@@ -234,79 +233,54 @@ PlatformBdsShowProgress (
EFI_GRAPHICS_OUTPUT_BLT_PIXEL ProgressColor,
UINTN Progress,
UINTN PreviousValue
- )
-;
+ );
VOID
PlatformBdsConnectSequence (
VOID
- )
-;
-
-VOID
-PlatformBdsBootFail (
- IN BDS_COMMON_OPTION *Option,
- IN EFI_STATUS Status,
- IN CHAR16 *ExitData,
- IN UINTN ExitDataSize
- )
-;
-
-VOID
-PlatformBdsBootSuccess (
- IN BDS_COMMON_OPTION *Option
- )
-;
+ );
EFI_STATUS
ProcessCapsules (
EFI_BOOT_MODE BootMode
- )
-;
+ );
EFI_STATUS
PlatformBdsConnectConsole (
IN BDS_CONSOLE_CONNECT_ENTRY *PlatformConsole
- )
-;
+ );
EFI_STATUS
PlatformBdsNoConsoleAction (
VOID
- )
-;
+ );
EFI_STATUS
ConvertMpsTable (
IN OUT VOID **Table
- )
-;
+ );
EFI_STATUS
ConvertSmbiosTable (
IN OUT VOID **Table
- )
-;
+ );
EFI_STATUS
ConvertAcpiTable (
IN UINTN TableLen,
IN OUT VOID **Table
- )
-;
+ );
EFI_STATUS
ConvertSystemTable (
IN EFI_GUID *TableGuid,
IN OUT VOID **Table
- )
-;
+ );
VOID
PlatformBdsEnterFrontPage (
IN UINT16 TimeoutDefault,
IN BOOLEAN ConnectAllHappened
- )
-;
+ );
#endif // _PLATFORM_SPECIFIC_BDS_PLATFORM_H_