CloverBootloader/rEFIt_UEFI/Platform/Platform.h

51 lines
994 B
C
Raw Normal View History

/*
Headers collection for procedures
*/
#ifndef __REFIT_PLATFORM_H__
#define __REFIT_PLATFORM_H__
// Set all debug options - apianti
// Uncomment to set all debug options
// Comment to use source debug options
//#define DEBUG_ALL 2
#include "Posix/posix.h"
2020-04-16 11:09:22 +02:00
#include "../include/Efi.h"
#ifdef __cplusplus
#include <Library/printf_lite.h>
2020-03-29 15:44:08 +02:00
#include "../cpp_foundation/XString.h"
#include "../cpp_foundation/XArray.h"
#include "../cpp_foundation/XObjArray.h"
#include "../cpp_util/remove_ref.h"
#endif
2020-04-16 11:09:22 +02:00
#include "../include/OneLinerMacros.h"
#include "Self.h"
#include "../entry_scan/common.h"
2020-04-11 08:21:06 +02:00
#include "../libeg/BmLib.h"
2020-03-26 13:59:20 +01:00
#include "BootLog.h"
2020-03-28 16:14:18 +01:00
#include "BasicIO.h"
2020-04-16 11:09:22 +02:00
#include "VersionString.h"
2020-08-17 21:40:52 +02:00
//#include "Settings.h"
2020-04-16 11:09:22 +02:00
#ifndef CLOVERAPPLICATION
2020-08-09 17:55:30 +02:00
#include "../Platform/Utils.h"
#endif
2020-03-29 15:44:08 +02:00
#ifndef DEBUG_ALL
#define MsgLog(...) DebugLog(1, __VA_ARGS__)
#else
#define MsgLog(...) DebugLog(DEBUG_ALL, __VA_ARGS__)
#endif
2020-08-09 17:55:30 +02:00
// Jief : temporary rename
#define AllocateZeroPool AllocateZeroPool
2020-08-09 17:55:30 +02:00
#endif