Add some definitions for LoongArch
Added CHAR8, CHAR16, WCHAR and VOID type definitions for LoongArch
This commit is contained in:
parent
d27431f679
commit
fe31748c87
@ -42,9 +42,10 @@ typedef int64_t intptr_t;
|
|||||||
// Basic EFI types of various widths
|
// Basic EFI types of various widths
|
||||||
//
|
//
|
||||||
|
|
||||||
#ifndef __WCHAR_TYPE__
|
#include <stddef.h>
|
||||||
# define __WCHAR_TYPE__ short
|
|
||||||
#endif
|
typedef wchar_t CHAR16;
|
||||||
|
#define WCHAR CHAR16
|
||||||
|
|
||||||
typedef uint64_t UINT64;
|
typedef uint64_t UINT64;
|
||||||
typedef int64_t INT64;
|
typedef int64_t INT64;
|
||||||
@ -54,12 +55,13 @@ typedef int32_t INT32;
|
|||||||
|
|
||||||
typedef uint16_t UINT16;
|
typedef uint16_t UINT16;
|
||||||
typedef int16_t INT16;
|
typedef int16_t INT16;
|
||||||
|
|
||||||
typedef uint8_t UINT8;
|
typedef uint8_t UINT8;
|
||||||
|
typedef char CHAR8;
|
||||||
typedef int8_t INT8;
|
typedef int8_t INT8;
|
||||||
typedef __WCHAR_TYPE__ WCHAR;
|
|
||||||
|
|
||||||
#undef VOID
|
#undef VOID
|
||||||
#define VOID void
|
typedef void VOID;
|
||||||
|
|
||||||
typedef int64_t INTN;
|
typedef int64_t INTN;
|
||||||
typedef uint64_t UINTN;
|
typedef uint64_t UINTN;
|
||||||
|
Loading…
Reference in New Issue
Block a user