summaryrefslogtreecommitdiff
path: root/UnixPkg/Library/UnixBdsLib/PlatformData.c
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-13 07:59:35 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-13 07:59:35 +0000
commitc5085e11b85eb1d082bd93c1e01b1496731ad09c (patch)
tree20b19c14e7848571b7782316189eef1a69f43aa5 /UnixPkg/Library/UnixBdsLib/PlatformData.c
parenta7451d112dcda017ffbcf61d60d6951515e974f1 (diff)
downloadedk2-platforms-c5085e11b85eb1d082bd93c1e01b1496731ad09c.tar.xz
Add DevicePathLib reference, for these macros have been moved to DevicePathLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6491 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/Library/UnixBdsLib/PlatformData.c')
-rw-r--r--UnixPkg/Library/UnixBdsLib/PlatformData.c42
1 files changed, 27 insertions, 15 deletions
diff --git a/UnixPkg/Library/UnixBdsLib/PlatformData.c b/UnixPkg/Library/UnixBdsLib/PlatformData.c
index cf1b55ce30..9051dbf33f 100644
--- a/UnixPkg/Library/UnixBdsLib/PlatformData.c
+++ b/UnixPkg/Library/UnixBdsLib/PlatformData.c
@@ -32,18 +32,22 @@ UINT16 gPlatformBootTimeOutDefault = 10;
//
UNIX_PLATFORM_UGA_DEVICE_PATH gUgaDevicePath0 =
{
- {
+ {
HARDWARE_DEVICE_PATH,
HW_VENDOR_DP,
- (UINT8) (sizeof (VENDOR_DEVICE_PATH)),
- (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),
+ {
+ (UINT8) (sizeof (VENDOR_DEVICE_PATH)),
+ (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),
+ },
EFI_UNIX_THUNK_PROTOCOL_GUID
},
{
HARDWARE_DEVICE_PATH,
HW_VENDOR_DP,
- (UINT8) (sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)),
- (UINT8) ((sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)) >> 8),
+ {
+ (UINT8) (sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)),
+ (UINT8) ((sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)) >> 8),
+ },
EFI_UNIX_UGA_GUID,
0
},
@@ -54,15 +58,19 @@ UNIX_PLATFORM_UGA_DEVICE_PATH gUgaDevicePath1 = {
{
HARDWARE_DEVICE_PATH,
HW_VENDOR_DP,
- (UINT8) (sizeof (VENDOR_DEVICE_PATH)),
- (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),
+ {
+ (UINT8) (sizeof (VENDOR_DEVICE_PATH)),
+ (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),
+ },
EFI_UNIX_THUNK_PROTOCOL_GUID
},
{
HARDWARE_DEVICE_PATH,
HW_VENDOR_DP,
- (UINT8) (sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)),
- (UINT8) ((sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)) >> 8),
+ {
+ (UINT8) (sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)),
+ (UINT8) ((sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)) >> 8),
+ },
EFI_UNIX_UGA_GUID,
1
},
@@ -72,16 +80,20 @@ UNIX_PLATFORM_UGA_DEVICE_PATH gUgaDevicePath1 = {
UNIX_CONSOLE_DEVICE_PATH gUnixConsoleDevicePath = {
{
HARDWARE_DEVICE_PATH,
- HW_VENDOR_DP,
- (UINT8) (sizeof (VENDOR_DEVICE_PATH)),
- (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),
+ HW_VENDOR_DP,
+ {
+ (UINT8) (sizeof (VENDOR_DEVICE_PATH)),
+ (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8),
+ },
EFI_UNIX_THUNK_PROTOCOL_GUID
},
{
HARDWARE_DEVICE_PATH,
- HW_VENDOR_DP,
- (UINT8) (sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)),
- (UINT8) ((sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)) >> 8),
+ HW_VENDOR_DP,
+ {
+ (UINT8) (sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)),
+ (UINT8) ((sizeof (UNIX_VENDOR_DEVICE_PATH_NODE)) >> 8),
+ },
EFI_UNIX_CONSOLE_GUID,
0
},