CloverBootloader/Xcode/cpp_tests/Include/BootLog.h
2020-11-13 00:25:56 +03:00

41 lines
480 B
C
Executable File

/*
Headers collection for procedures
*/
#ifndef __BOOTLOG__H__
#define __BOOTLOG__H__
#define MsgLog ::printf
#ifdef __cplusplus
extern "C" {
#endif
#ifdef _MSC_VER
#define __attribute__(x)
#endif
void
EFIAPI
DebugLog (
IN INTN DebugMode,
IN CONST CHAR8 *FormatString, ...) __attribute__((format(printf, 2, 3)));
/** Prints series of bytes. */
void
PrintBytes (
IN void *Bytes,
IN UINTN Number
);
#ifdef __cplusplus
} // extern "C"
#endif
#endif