CloverBootloader/Xcode/cpp_tests/Include/Platform.h

74 lines
1.3 KiB
C
Raw Normal View History

//
// Platform.h.h
// cpp_tests
//
// Created by jief on 23.02.20.
// Copyright © 2020 JF Knudsen. All rights reserved.
//
#ifndef Platform_h_h
#define Platform_h_h
2020-04-25 11:59:07 +02:00
#ifdef _MSC_VER
#include <Windows.h>
#endif
#ifdef __cplusplus
extern "C" {
#endif
#include "Uefi.h"
2020-11-02 14:45:11 +01:00
#include "../Include/Library/Base.h"
#include "../Include/Library/BaseLib.h"
#include "../Include/Library/BaseMemoryLib.h"
#include "../Include/Library/MemoryAllocationLib.h"
2020-11-12 22:25:56 +01:00
#include <BootLog.h>
#ifdef __cplusplus
}
#endif
2020-11-02 14:45:11 +01:00
#include <stdio.h>
#include <limits.h>
#include <stdarg.h>
#include <stdint.h>
#include <string.h>
#include <inttypes.h>
#include <wchar.h>
#include "posix.h"
#ifndef __cplusplus
//typedef uint16_t wchar_t;
typedef uint32_t char32_t;
typedef uint16_t char16_t;
#endif
#include "../../../rEFIt_UEFI/Platform/Posix/abort.h"
#include "../../../rEFIt_UEFI/cpp_foundation/unicode_conversions.h"
2020-11-12 22:25:56 +01:00
#ifdef __cplusplus
#include "../../../rEFIt_UEFI/cpp_foundation/XString.h"
#include "../../../rEFIt_UEFI/cpp_foundation/XObjArray.h"
2020-11-12 22:25:56 +01:00
#endif
#include "../../../rEFIt_UEFI/Platform/Utils.h"
#include "xcode_utf_fixed.h"
void CpuDeadLoop(void);
void PauseForKey(const wchar_t* msg);
const char* efiStrError(EFI_STATUS Status);
2020-04-05 14:25:39 +02:00
CHAR16* EfiStrDuplicate (IN CONST CHAR16 *Src);
2020-02-24 14:07:59 +01:00
2020-11-12 22:25:56 +01:00
#define DEBUG_VERBOSE 0
#define DEBUG( expression )
#endif /* Platform_h_h */