ReactOS 0.4.15-dev-8131-g4988de4
utxferror.c File Reference
#include "acpi.h"
#include "accommon.h"
Include dependency graph for utxferror.c:

Go to the source code of this file.

Macros

#define EXPORT_ACPI_INTERFACES
 
#define _COMPONENT   ACPI_UTILITIES
 

Functions

void ACPI_INTERNAL_VAR_XFACE AcpiError (const char *ModuleName, UINT32 LineNumber, const char *Format,...)
 
void ACPI_INTERNAL_VAR_XFACE AcpiException (const char *ModuleName, UINT32 LineNumber, ACPI_STATUS Status, const char *Format,...)
 
void ACPI_INTERNAL_VAR_XFACE AcpiWarning (const char *ModuleName, UINT32 LineNumber, const char *Format,...)
 
void ACPI_INTERNAL_VAR_XFACE AcpiInfo (const char *Format,...)
 
void ACPI_INTERNAL_VAR_XFACE AcpiBiosError (const char *ModuleName, UINT32 LineNumber, const char *Format,...)
 
void ACPI_INTERNAL_VAR_XFACE AcpiBiosException (const char *ModuleName, UINT32 LineNumber, ACPI_STATUS Status, const char *Format,...)
 
void ACPI_INTERNAL_VAR_XFACE AcpiBiosWarning (const char *ModuleName, UINT32 LineNumber, const char *Format,...)
 

Macro Definition Documentation

◆ _COMPONENT

#define _COMPONENT   ACPI_UTILITIES

Definition at line 50 of file utxferror.c.

◆ EXPORT_ACPI_INTERFACES

#define EXPORT_ACPI_INTERFACES

Definition at line 44 of file utxferror.c.

Function Documentation

◆ AcpiBiosError()

void ACPI_INTERNAL_VAR_XFACE AcpiBiosError ( const char ModuleName,
UINT32  LineNumber,
const char Format,
  ... 
)

Definition at line 240 of file utxferror.c.

245{
246 va_list ArgList;
247
248
251
252 va_start (ArgList, Format);
253 AcpiOsVprintf (Format, ArgList);
255 va_end (ArgList);
256
258}
char * va_list
Definition: acmsvcex.h:78
#define va_end(ap)
Definition: acmsvcex.h:90
#define va_start(ap, A)
Definition: acmsvcex.h:91
void AcpiOsVprintf(const char *Format, va_list Args)
Definition: osl.c:865
void ACPI_INTERNAL_VAR_XFACE AcpiOsPrintf(const char *Format,...)
Definition: osl.c:851
#define ACPI_MSG_BIOS_ERROR
Definition: acutils.h:131
#define ACPI_MSG_REDIRECT_BEGIN
Definition: acutils.h:113
#define ACPI_MSG_SUFFIX
Definition: acutils.h:140
#define ACPI_MSG_REDIRECT_END
Definition: acutils.h:114

◆ AcpiBiosException()

void ACPI_INTERNAL_VAR_XFACE AcpiBiosException ( const char ModuleName,
UINT32  LineNumber,
ACPI_STATUS  Status,
const char Format,
  ... 
)

Definition at line 280 of file utxferror.c.

286{
287 va_list ArgList;
288
289
291
292 /* For AE_OK, just print the message */
293
294 if (ACPI_SUCCESS (Status))
295 {
297
298 }
299 else
300 {
303 }
304
305 va_start (ArgList, Format);
306 AcpiOsVprintf (Format, ArgList);
308 va_end (ArgList);
309
311}
#define ACPI_SUCCESS(a)
Definition: acexcep.h:94
Status
Definition: gdiplustypes.h:25
const char * AcpiFormatException(ACPI_STATUS Status)
Definition: utexcep.c:70

◆ AcpiBiosWarning()

void ACPI_INTERNAL_VAR_XFACE AcpiBiosWarning ( const char ModuleName,
UINT32  LineNumber,
const char Format,
  ... 
)

Definition at line 332 of file utxferror.c.

337{
338 va_list ArgList;
339
340
343
344 va_start (ArgList, Format);
345 AcpiOsVprintf (Format, ArgList);
347 va_end (ArgList);
348
350}
#define ACPI_MSG_BIOS_WARNING
Definition: acutils.h:134

◆ AcpiError()

void ACPI_INTERNAL_VAR_XFACE AcpiError ( const char ModuleName,
UINT32  LineNumber,
const char Format,
  ... 
)

Definition at line 75 of file utxferror.c.

80{
81 va_list ArgList;
82
83
86
87 va_start (ArgList, Format);
88 AcpiOsVprintf (Format, ArgList);
90 va_end (ArgList);
91
93}
#define ACPI_MSG_ERROR
Definition: acutils.h:121

◆ AcpiException()

void ACPI_INTERNAL_VAR_XFACE AcpiException ( const char ModuleName,
UINT32  LineNumber,
ACPI_STATUS  Status,
const char Format,
  ... 
)

Definition at line 115 of file utxferror.c.

121{
122 va_list ArgList;
123
124
126
127 /* For AE_OK, just print the message */
128
129 if (ACPI_SUCCESS (Status))
130 {
132
133 }
134 else
135 {
138 }
139
140 va_start (ArgList, Format);
141 AcpiOsVprintf (Format, ArgList);
143 va_end (ArgList);
144
146}

◆ AcpiInfo()

void ACPI_INTERNAL_VAR_XFACE AcpiInfo ( const char Format,
  ... 
)

Definition at line 203 of file utxferror.c.

206{
207 va_list ArgList;
208
209
212
213 va_start (ArgList, Format);
214 AcpiOsVprintf (Format, ArgList);
215 AcpiOsPrintf ("\n");
216 va_end (ArgList);
217
219}
#define ACPI_MSG_INFO
Definition: acutils.h:127

◆ AcpiWarning()

void ACPI_INTERNAL_VAR_XFACE AcpiWarning ( const char ModuleName,
UINT32  LineNumber,
const char Format,
  ... 
)

Definition at line 166 of file utxferror.c.

171{
172 va_list ArgList;
173
174
177
178 va_start (ArgList, Format);
179 AcpiOsVprintf (Format, ArgList);
181 va_end (ArgList);
182
184}
#define ACPI_MSG_WARNING
Definition: acutils.h:124