]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Include/Library/GenericBdsLib.h
Minor code enhancement.
[mirror_edk2.git] / IntelFrameworkModulePkg / Include / Library / GenericBdsLib.h
index eeae07f014e59967a881c92ab51d09e62fd73c89..a9b89316bf30b0e83b7864f4367d751cce943847 100644 (file)
@@ -4,7 +4,7 @@
     2) BDS boot device connect interface\r
     3) BDS Misc interfaces for mainting boot variable, ouput string.\r
 \r
     2) BDS boot device connect interface\r
     3) BDS Misc interfaces for mainting boot variable, ouput string.\r
 \r
-Copyright (c) 2004 - 2009, Intel Corporation. <BR>\r
+Copyright (c) 2004 - 2010, Intel Corporation. <BR>\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
 All rights reserved. This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -566,10 +566,17 @@ typedef struct {
   UINTN   Maxlen;\r
 } POOL_PRINT;\r
 \r
   UINTN   Maxlen;\r
 } POOL_PRINT;\r
 \r
+typedef\r
+VOID\r
+(*DEV_PATH_FUNCTION) (\r
+  IN OUT POOL_PRINT       *Str,\r
+  IN VOID                 *DevPath\r
+  );\r
+\r
 typedef struct {\r
 typedef struct {\r
-  UINT8 Type;\r
-  UINT8 SubType;\r
-  VOID (*Function) (POOL_PRINT *, VOID *);\r
+  UINT8             Type;\r
+  UINT8             SubType;\r
+  DEV_PATH_FUNCTION Function;\r
 } DEVICE_PATH_STRING_TABLE;\r
 \r
 extern EFI_GUID mEfiDevicePathMessagingUartFlowControlGuid;\r
 } DEVICE_PATH_STRING_TABLE;\r
 \r
 extern EFI_GUID mEfiDevicePathMessagingUartFlowControlGuid;\r