summaryrefslogtreecommitdiffstats
path: root/DuetPkg/CpuIoDxe/CpuIo.h
diff options
context:
space:
mode:
Diffstat (limited to 'DuetPkg/CpuIoDxe/CpuIo.h')
-rw-r--r--DuetPkg/CpuIoDxe/CpuIo.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/DuetPkg/CpuIoDxe/CpuIo.h b/DuetPkg/CpuIoDxe/CpuIo.h
index 622cc1560f..2facb53ad8 100644
--- a/DuetPkg/CpuIoDxe/CpuIo.h
+++ b/DuetPkg/CpuIoDxe/CpuIo.h
@@ -33,15 +33,13 @@ Abstract:
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
-#define VOLATILE volatile
-
typedef union {
- UINT8 VOLATILE *buf;
- UINT8 VOLATILE *ui8;
- UINT16 VOLATILE *ui16;
- UINT32 VOLATILE *ui32;
- UINT64 VOLATILE *ui64;
- UINTN VOLATILE ui;
+ UINT8 volatile *buf;
+ UINT8 volatile *ui8;
+ UINT16 volatile *ui16;
+ UINT32 volatile *ui32;
+ UINT64 volatile *ui64;
+ UINTN volatile ui;
} PTR;
EFI_STATUS