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
|
|
|
|
|
2021-04-03 12:55:25 +02:00
|
|
|
#include "posix/posix.h"
|
2021-02-06 18:16:46 +01:00
|
|
|
#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>
|
2021-09-28 10:28:45 +02:00
|
|
|
#include "../cpp_foundation/XBool.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"
|
2021-04-03 12:55:25 +02:00
|
|
|
#include "../include/remove_ref.h"
|
2021-03-19 16:35:01 +01:00
|
|
|
#include "../cpp_lib/undefinable.h"
|
2020-02-28 21:28:33 +01:00
|
|
|
#endif
|
|
|
|
|
2020-04-16 11:09:22 +02:00
|
|
|
#include "../include/OneLinerMacros.h"
|
|
|
|
|
2021-04-28 20:30:34 +02:00
|
|
|
//#include "../Settings/Self.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"
|
2021-04-03 12:55:25 +02:00
|
|
|
#include "../Platform/BootLog.h"
|
|
|
|
#include "../Platform/BasicIO.h"
|
|
|
|
#include "../Platform/VersionString.h"
|
|
|
|
#include "../Platform/Utils.h"
|
2020-08-17 21:40:52 +02:00
|
|
|
//#include "Settings.h"
|
2020-04-16 09:15:26 +02:00
|
|
|
|
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
|
|
|
|
2021-05-08 11:34:17 +02:00
|
|
|
#if defined(_MSC_VER) && !defined(__PRETTY_FUNCTION__)
|
|
|
|
#define __PRETTY_FUNCTION__ __FUNCSIG__
|
|
|
|
#endif
|
|
|
|
|
2020-08-09 17:55:30 +02:00
|
|
|
|
|
|
|
// Jief : temporary rename
|
2022-04-26 00:55:56 +02:00
|
|
|
//#define AllocateZeroPool AllocateZeroPool
|
2020-08-09 17:55:30 +02:00
|
|
|
|
2019-09-03 11:58:42 +02:00
|
|
|
#endif
|