2019-09-03 11:58:42 +02:00
|
|
|
/*
|
|
|
|
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
|
|
|
|
|
2020-03-13 14:11:58 +01:00
|
|
|
#include "Posix/posix.h"
|
2020-04-16 11:09:22 +02:00
|
|
|
#include "../include/Efi.h"
|
2020-03-13 14:11:58 +01:00
|
|
|
|
2020-02-15 15:29:59 +01:00
|
|
|
#ifdef __cplusplus
|
2020-04-08 12:49:00 +02:00
|
|
|
#include <Library/printf_lite.h>
|
2020-03-29 15:44:08 +02:00
|
|
|
#include "../cpp_foundation/XString.h"
|
2020-02-28 21:28:33 +01:00
|
|
|
#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"
|
|
|
|
|
2020-04-16 09:15:26 +02:00
|
|
|
#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-04-16 09:15:26 +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"
|
2020-02-20 13:53:27 +01:00
|
|
|
#endif
|
2019-09-03 11:58:42 +02:00
|
|
|
|
2020-03-29 15:44:08 +02:00
|
|
|
|
2019-09-03 11:58:42 +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
|
2020-08-15 15:47:56 +02:00
|
|
|
#define AllocateZeroPool AllocateZeroPool
|
2020-08-09 17:55:30 +02:00
|
|
|
|
2019-09-03 11:58:42 +02:00
|
|
|
#endif
|