Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / u-boot / arch / openrisc / include / asm / global_data.h
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 (file)
index 0000000..428ce1b
--- /dev/null
@@ -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 */