]> code.delx.au - refind/blobdiff - gptsync/gptsync.h
Added support for ARM64 (AARCH64) platform in rEFInd, drivers, and
[refind] / gptsync / gptsync.h
index 1232c1c578e313725a58c3bb01248ca9315790aa..5aeb195f97c7833aba4bb0908b7565c9c2c63cb6 100644 (file)
  */
 /* Changes copyright (c) 2013 Roderick W. Smith */
 
-#define VERSION L"0.7.9"
+#define VERSION L"0.9.1"
 
 //
 // config
 //
 
 
-#if defined(EFI32) || defined(EFIX64)
+#if defined(EFI32) || defined(EFIX64) || defined(EFIAARCH64)
 #define CONFIG_EFI
 #endif
 
@@ -81,6 +81,7 @@ typedef CHAR16 CHARN;
 #include <sys/time.h>
 #include <fcntl.h>
 
+/*
 typedef int                 INTN;
 typedef unsigned int        UINTN;
 typedef unsigned char       UINT8;
@@ -88,6 +89,7 @@ typedef unsigned short      UINT16;
 typedef unsigned long       UINT32;
 typedef unsigned long long  UINT64;
 typedef void                VOID;
+*/
 
 typedef int                 BOOLEAN;
 #ifndef FALSE
@@ -105,10 +107,6 @@ void Print(wchar_t *format, ...);
 
 // FUTURE: use STR(),  #define Print printf
 
-#define CopyMem     memcpy
-#define SetMem      memset
-#define CompareMem  memcmp
-
 #define copy_guid(destguid, srcguid) (memcpy(destguid, srcguid, 16))
 #define guids_are_equal(guid1, guid2) (memcmp(guid1, guid2, 16) == 0)