2020-03-13 14:11:58 +01:00
|
|
|
/*
|
|
|
|
Headers collection for procedures
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __BOOTLOG__H__
|
|
|
|
#define __BOOTLOG__H__
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#include <Protocol/SimpleFileSystem.h> // for EFI_FILE_HANDLE
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} // extern "C"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
VOID
|
|
|
|
InitBooterLog (VOID);
|
|
|
|
|
|
|
|
EFI_STATUS
|
|
|
|
SetupBooterLog (
|
|
|
|
BOOLEAN AllowGrownSize
|
|
|
|
);
|
|
|
|
|
|
|
|
EFI_STATUS
|
|
|
|
SaveBooterLog (
|
|
|
|
IN EFI_FILE_HANDLE BaseDir OPTIONAL,
|
|
|
|
IN CONST CHAR16 *FileName
|
|
|
|
);
|
|
|
|
|
2020-03-25 19:32:44 +01:00
|
|
|
#ifdef _MSC_VER
|
|
|
|
#define __attribute__(x)
|
|
|
|
#endif
|
|
|
|
|
2020-03-13 14:11:58 +01:00
|
|
|
VOID
|
|
|
|
EFIAPI
|
|
|
|
DebugLog (
|
|
|
|
IN INTN DebugMode,
|
2020-03-25 19:32:44 +01:00
|
|
|
IN CONST CHAR8 *FormatString, ...) __attribute__((format(printf, 2, 3)));;
|
|
|
|
|
2020-03-13 14:11:58 +01:00
|
|
|
|
|
|
|
#endif
|