aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/supervisor/hsm/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/supervisor/hsm/compiler.h')
-rw-r--r--arch/riscv/supervisor/hsm/compiler.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/riscv/supervisor/hsm/compiler.h b/arch/riscv/supervisor/hsm/compiler.h
new file mode 100644
index 0000000..f86b0da
--- /dev/null
+++ b/arch/riscv/supervisor/hsm/compiler.h
@@ -0,0 +1,12 @@
+#ifndef __COMPILER_H__
+#define __COMPILER_H__
+
+typedef unsigned long uint64_t;
+typedef unsigned long uintptr_t;
+typedef unsigned long size_t;
+
+typedef struct {
+ unsigned int value;
+} atomic_t;
+
+#endif // __COMPILER_H__