]> git.proxmox.com Git - mirror_edk2.git/commitdiff
This checkin addresses the compatibility issue of passing arguments of type VA_LIST...
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 30 May 2009 23:54:42 +0000 (23:54 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Sat, 30 May 2009 23:54:42 +0000 (23:54 +0000)
1) Update status code listeners to use the BASE_LIST based APIs in the PrintLib instead of the VA_LIST based APIs, since ReportStatusCodeExtractDebugInfo() was updated to return a parameter of type BASE_LIST.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8408 6f19259b-4bc3-4df7-8a09-765794883524

Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c
Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c

index 24f154ca157a8cc73a6b478d2b87d71e991fa6f7..f3d9efcaada4c0dedbf622a08f933a3f8cb62304 100644 (file)
@@ -122,7 +122,7 @@ OemHookStatusCodeReport (
   UINT32          ErrorLevel;\r
   UINT32          LineNumber;\r
   UINTN           CharCount;\r
-  VA_LIST         Marker;\r
+  BASE_LIST       Marker;\r
 \r
   Buffer[0] = '\0';\r
 \r
@@ -158,7 +158,7 @@ OemHookStatusCodeReport (
     //\r
     // Print DEBUG() information into output buffer.\r
     //\r
-    CharCount = AsciiVSPrint (\r
+    CharCount = AsciiBSPrint (\r
                   Buffer,\r
                   EFI_STATUS_CODE_DATA_MAX_SIZE,\r
                   Format,\r
index a7d68410ba62d20c567f40822f1fca7d7872b629..ff73c1c84afd35c1a40d17152e5cdd385bf3210e 100644 (file)
@@ -131,7 +131,7 @@ OemHookStatusCodeReport (
   UINT32          ErrorLevel;\r
   UINT32          LineNumber;\r
   UINTN           CharCount;\r
-  VA_LIST         Marker;\r
+  BASE_LIST       Marker;\r
 \r
   Buffer[0] = '\0';\r
 \r
@@ -167,7 +167,7 @@ OemHookStatusCodeReport (
     //\r
     // Print DEBUG() information into output buffer.\r
     //\r
-    CharCount = AsciiVSPrint (\r
+    CharCount = AsciiBSPrint (\r
                   Buffer,\r
                   EFI_STATUS_CODE_DATA_MAX_SIZE,\r
                   Format,\r