The function with the variable parameters should have EFIAPI. Cc: Ruiyu Ni <ruiyu...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming....@intel.com> --- DuetPkg/DxeIpl/Debug.c | 1 + DuetPkg/DxeIpl/Debug.h | 1 + DuetPkg/EfiLdr/Debug.c | 1 + DuetPkg/EfiLdr/Debug.h | 1 + 4 files changed, 4 insertions(+)
diff --git a/DuetPkg/DxeIpl/Debug.c b/DuetPkg/DxeIpl/Debug.c index 1cb7e39..800f008 100644 --- a/DuetPkg/DxeIpl/Debug.c +++ b/DuetPkg/DxeIpl/Debug.c @@ -52,6 +52,7 @@ ClearScreen ( } VOID +EFIAPI PrintString ( IN CONST CHAR8 *FormatString, ... diff --git a/DuetPkg/DxeIpl/Debug.h b/DuetPkg/DxeIpl/Debug.h index 7fcad26..81bb826 100644 --- a/DuetPkg/DxeIpl/Debug.h +++ b/DuetPkg/DxeIpl/Debug.h @@ -27,6 +27,7 @@ PrintHeader ( ); VOID +EFIAPI PrintString ( IN CONST CHAR8 *FormatString, ... diff --git a/DuetPkg/EfiLdr/Debug.c b/DuetPkg/EfiLdr/Debug.c index 84b2772..0727292 100644 --- a/DuetPkg/EfiLdr/Debug.c +++ b/DuetPkg/EfiLdr/Debug.c @@ -49,6 +49,7 @@ ClearScreen ( } VOID +EFIAPI PrintString ( IN CONST CHAR8 *FormatString, ... diff --git a/DuetPkg/EfiLdr/Debug.h b/DuetPkg/EfiLdr/Debug.h index f6aa7a2..4252f31 100644 --- a/DuetPkg/EfiLdr/Debug.h +++ b/DuetPkg/EfiLdr/Debug.h @@ -27,6 +27,7 @@ PrintHeader ( ); VOID +EFIAPI PrintString ( IN CONST CHAR8 *FormatString, ... -- 2.8.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel