aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/arm64/include/arch/hlt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm64/include/arch/hlt.h')
-rw-r--r--src/arch/arm64/include/arch/hlt.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/arch/arm64/include/arch/hlt.h b/src/arch/arm64/include/arch/hlt.h
new file mode 100644
index 000000000..285b6f878
--- /dev/null
+++ b/src/arch/arm64/include/arch/hlt.h
@@ -0,0 +1,9 @@
+#ifndef ARCH_HLT_H
+#define ARCH_HLT_H
+
+static inline __attribute__((always_inline)) void hlt(void)
+{
+ for (;;) ;
+}
+
+#endif /* ARCH_HLT_H */