summaryrefslogtreecommitdiffstats
path: root/Nt32Pkg
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-31 00:06:01 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-05-31 00:06:01 +0000
commita776476a83373be231125795c5eeea05fa9bcf7d (patch)
tree0da75b8996e1b6391ddb6c6d3ac2e2e8cb63c1a9 /Nt32Pkg
parent9c98c8e10602183565b45c8b6f783c229b64bc3b (diff)
downloadedk2-a776476a83373be231125795c5eeea05fa9bcf7d.tar.gz
edk2-a776476a83373be231125795c5eeea05fa9bcf7d.tar.bz2
edk2-a776476a83373be231125795c5eeea05fa9bcf7d.zip
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@8410 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg')
-rw-r--r--Nt32Pkg/Sec/SecMain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Nt32Pkg/Sec/SecMain.c b/Nt32Pkg/Sec/SecMain.c
index 120a7f85c7..8e638e04da 100644
--- a/Nt32Pkg/Sec/SecMain.c
+++ b/Nt32Pkg/Sec/SecMain.c
@@ -438,7 +438,7 @@ Returns:
// TODO: Data - add argument and description to function comment
{
CHAR8 *Format;
- VA_LIST Marker;
+ BASE_LIST Marker;
CHAR8 PrintBuffer[BYTES_PER_RECORD * 2];
CHAR8 *Filename;
CHAR8 *Description;
@@ -457,7 +457,7 @@ Returns:
//
// Process DEBUG () macro
//
- AsciiVSPrint (PrintBuffer, BYTES_PER_RECORD, Format, Marker);
+ AsciiBSPrint (PrintBuffer, BYTES_PER_RECORD, Format, Marker);
printf (PrintBuffer);
}