| 1 |
#if defined(__x86_64__) |
| 2 |
/* shim.h will check if the compiler is new enough in some other CU */ |
| 3 |
|
| 4 |
#if !defined(GNU_EFI_USE_EXTERNAL_STDARG) |
| 5 |
#define GNU_EFI_USE_EXTERNAL_STDARG |
| 6 |
#endif |
| 7 |
|
| 8 |
#if !defined(GNU_EFI_USE_MS_ABI) |
| 9 |
#define GNU_EFI_USE_MS_ABI |
| 10 |
#endif |
| 11 |
|
| 12 |
#ifdef NO_BUILTIN_VA_FUNCS |
| 13 |
#undef NO_BUILTIN_VA_FUNCS |
| 14 |
#endif |
| 15 |
#endif |
| 16 |
|
| 17 |
#include <efi.h> |
| 18 |
#include <efilib.h> |
| 19 |
|
| 20 |
UINT32 WriteUnaligned32 (UINT32 *Buffer, UINT32 Value); |
| 21 |
UINTN AsciiStrSize (const CHAR8 *string); |
| 22 |
CHAR8 *AsciiStrnCpy(CHAR8 *Destination, const CHAR8 *Source, UINTN count); |
| 23 |
CHAR8 *AsciiStrCat(CHAR8 *Destination, const CHAR8 *Source); |
| 24 |
CHAR8 *AsciiStrCpy(CHAR8 *Destination, const CHAR8 *Source); |
| 25 |
UINTN AsciiStrDecimalToUintn(const CHAR8 *String); |