Selaa lähdekoodia

riscv64: adjust type definitions

CHAR8 needs to be defined while BOOLEAN should be removed
here to prevent typedef conflicts

Signed-off-by: Moody Liu <mooodyhunter@outlook.com>
Moody Liu 1 vuosi sitten
vanhempi
commit
1de5094978
1 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  1. 1 3
      inc/riscv64/efibind.h

+ 1 - 3
inc/riscv64/efibind.h

@@ -32,11 +32,9 @@ typedef uint16_t                UINT16;
 typedef int16_t                 INT16;
 typedef uint8_t                 UINT8;
 typedef int8_t                  INT8;
+typedef char                    CHAR8;
 typedef wchar_t                 CHAR16;
 #define WCHAR                   CHAR16
-#ifndef BOOLEAN
-typedef uint8_t                 BOOLEAN;
-#endif
 #undef VOID
 typedef void                    VOID;
 typedef int64_t                 INTN;