summaryrefslogtreecommitdiff
path: root/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-30 23:54:42 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-30 23:54:42 +0000
commit53d74081d074a4f114a9720b9986df68d76275a7 (patch)
tree3ce319231c1473f66f68d7a40e7bd94d26d13cb1 /Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib
parentb5a8e95c5ec45d5f417eb899a0704822b6d4339f (diff)
downloadedk2-platforms-53d74081d074a4f114a9720b9986df68d76275a7.tar.xz
This checkin addresses the compatibility issue of passing arguments of type VA_LIST between components. The type VA_LIST is mapped onto the compiler specific implementation of varargs. As a result, modules build with different compilers may not use the same VA_LIST structure. The solution to this issue is to define a new type called BASE_LIST that is a compiler independent method of passing varargs between modules.
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
Diffstat (limited to 'Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib')
-rw-r--r--Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c b/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c
index 24f154ca15..f3d9efcaad 100644
--- a/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c
+++ b/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c
@@ -122,7 +122,7 @@ OemHookStatusCodeReport (
UINT32 ErrorLevel;
UINT32 LineNumber;
UINTN CharCount;
- VA_LIST Marker;
+ BASE_LIST Marker;
Buffer[0] = '\0';
@@ -158,7 +158,7 @@ OemHookStatusCodeReport (
//
// Print DEBUG() information into output buffer.
//
- CharCount = AsciiVSPrint (
+ CharCount = AsciiBSPrint (
Buffer,
EFI_STATUS_CODE_DATA_MAX_SIZE,
Format,