aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/macintosh.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-10-02 10:01:43 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2013-11-26 11:09:14 +0100
commitbdd47c9fc1d96d3319e938931c83b863b5331b57 (patch)
tree4117fe0c99d55744a0efcfa3f43d8f1ebd5d519d /arch/m68k/include/asm/macintosh.h
parentm68k: Drop remainings and API of BOOTINFO_COMPAT_1_0 (diff)
downloadlinux-dev-bdd47c9fc1d96d3319e938931c83b863b5331b57.tar.xz
linux-dev-bdd47c9fc1d96d3319e938931c83b863b5331b57.zip
m68k/mac: Move struct mac_booter_data to <asm/macintosh.h>
struct mac_booter_data is no longer part of the bootinfo API, hence move it from <asm/bootinfo.h> to <asm/macintosh.h>, dropping all unused fields in the process. Also remove the no longer used mac_booter_data pointer from head.S. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/macintosh.h')
-rw-r--r--arch/m68k/include/asm/macintosh.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/macintosh.h b/arch/m68k/include/asm/macintosh.h
index 682a1a2ff55f..6a633eb64331 100644
--- a/arch/m68k/include/asm/macintosh.h
+++ b/arch/m68k/include/asm/macintosh.h
@@ -135,4 +135,27 @@ struct mac_model
extern struct mac_model *macintosh_config;
+
+ /*
+ * Internal representation of the Mac hardware, filled in from bootinfo
+ */
+
+struct mac_booter_data
+{
+ unsigned long videoaddr;
+ unsigned long videorow;
+ unsigned long videodepth;
+ unsigned long dimensions;
+ unsigned long boottime;
+ unsigned long gmtbias;
+ unsigned long videological;
+ unsigned long sccbase;
+ unsigned long id;
+ unsigned long memsize;
+ unsigned long cpuid;
+ unsigned long rombase;
+};
+
+extern struct mac_booter_data mac_bi_data;
+
#endif