From 8e8ae2daec6bb317da1ccbe89fa5d328f609735f Mon Sep 17 00:00:00 2001 From: xli24 Date: Thu, 7 Jan 2010 09:17:03 +0000 Subject: Minor code enhancement. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9686 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'IntelFrameworkModulePkg/Include') diff --git a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h index eeae07f014..a9b89316bf 100644 --- a/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h +++ b/IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h @@ -4,7 +4,7 @@ 2) BDS boot device connect interface 3) BDS Misc interfaces for mainting boot variable, ouput string. -Copyright (c) 2004 - 2009, Intel Corporation.
+Copyright (c) 2004 - 2010, 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 @@ -566,10 +566,17 @@ typedef struct { UINTN Maxlen; } POOL_PRINT; +typedef +VOID +(*DEV_PATH_FUNCTION) ( + IN OUT POOL_PRINT *Str, + IN VOID *DevPath + ); + typedef struct { - UINT8 Type; - UINT8 SubType; - VOID (*Function) (POOL_PRINT *, VOID *); + UINT8 Type; + UINT8 SubType; + DEV_PATH_FUNCTION Function; } DEVICE_PATH_STRING_TABLE; extern EFI_GUID mEfiDevicePathMessagingUartFlowControlGuid; -- cgit v1.2.3