diff options
author | Robert Moore <Robert.Moore@intel.com> | 2016-06-15 10:51:12 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-15 10:51:12 -0700 |
commit | d776c9ee6e67f3b7a186d809763558ca7a358710 (patch) | |
tree | 22aee76d7f384a2553421abf763747a229bf0680 /source/components/utilities/utdebug.c | |
parent | 8aac0be3c840747a032b63e7365c99190e2a0ba9 (diff) | |
download | acpica-d776c9ee6e67f3b7a186d809763558ca7a358710.tar.gz |
Revert "Efi edk2"revert-143-efi-edk2
Diffstat (limited to 'source/components/utilities/utdebug.c')
-rw-r--r-- | source/components/utilities/utdebug.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/source/components/utilities/utdebug.c b/source/components/utilities/utdebug.c index 995d45cc3..4d2b306a0 100644 --- a/source/components/utilities/utdebug.c +++ b/source/components/utilities/utdebug.c @@ -780,3 +780,33 @@ AcpiTracePoint ( ACPI_EXPORT_SYMBOL (AcpiTracePoint) #endif + + +#ifdef ACPI_APPLICATION +/******************************************************************************* + * + * FUNCTION: AcpiLogError + * + * PARAMETERS: Format - Printf format field + * ... - Optional printf arguments + * + * RETURN: None + * + * DESCRIPTION: Print error message to the console, used by applications. + * + ******************************************************************************/ + +void ACPI_INTERNAL_VAR_XFACE +AcpiLogError ( + const char *Format, + ...) +{ + va_list Args; + + va_start (Args, Format); + (void) AcpiUtFileVprintf (ACPI_FILE_ERR, Format, Args); + va_end (Args); +} + +ACPI_EXPORT_SYMBOL (AcpiLogError) +#endif |