summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/arch/openrisc/include/asm/global_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/roms/u-boot/arch/openrisc/include/asm/global_data.h')
-rw-r--r--qemu/roms/u-boot/arch/openrisc/include/asm/global_data.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/qemu/roms/u-boot/arch/openrisc/include/asm/global_data.h b/qemu/roms/u-boot/arch/openrisc/include/asm/global_data.h
new file mode 100644
index 000000000..428ce1b4d
--- /dev/null
+++ b/qemu/roms/u-boot/arch/openrisc/include/asm/global_data.h
@@ -0,0 +1,21 @@
+/*
+ * (C) Copyright 2004 Atmark Techno, Inc.
+ *
+ * Yasushi SHOJI <yashi@atmark-techno.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __ASM_GBL_DATA_H
+#define __ASM_GBL_DATA_H
+
+/* Architecture-specific global data */
+struct arch_global_data {
+};
+
+#include <asm-generic/global_data.h>
+
+/* OR32 GCC already has r10 set as fixed-use */
+#define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r10")
+
+#endif /* __ASM_GBL_DATA_H */