patch-2.1.17 linux/arch/m68k/boot/amiga/linuxboot.h

Next file: linux/arch/m68k/boot/atari/bootstrap.c
Previous file: linux/arch/m68k/boot/amiga/linuxboot.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.16/linux/arch/m68k/boot/amiga/linuxboot.h linux/arch/m68k/boot/amiga/linuxboot.h
@@ -31,7 +31,35 @@
      *  Amiboot Version
      */
 
-#define AMIBOOT_VERSION		"4.0"
+#define AMIBOOT_VERSION		"5.1"
+
+
+    /*
+     *  Amiga Bootinfo Definitions
+     *
+     *  All limits herein are `soft' limits, i.e. they don't put constraints
+     *  on the actual parameters in the kernel.
+     */
+
+struct amiga_bootinfo {
+    u_long machtype;			/* machine type */
+    u_long cputype;			/* system CPU */
+    u_long fputype;			/* system FPU */
+    u_long mmutype;			/* system MMU */
+    int num_memory;			/* # of memory blocks found */
+    struct mem_info memory[NUM_MEMINFO];/* memory description */
+    struct mem_info ramdisk;		/* ramdisk description */
+    char command_line[CL_SIZE];		/* kernel command line parameters */
+    u_long model;			/* Amiga Model */
+    int num_autocon;			/* # of autoconfig devices found */
+    struct ConfigDev autocon[ZORRO_NUM_AUTO];	/* autoconfig devices */
+    u_long chip_size;			/* size of chip memory (bytes) */
+    u_char vblank;			/* VBLANK frequency */
+    u_char psfreq;			/* power supply frequency */
+    u_long eclock;			/* EClock frequency */
+    u_long chipset;			/* native chipset present */
+    u_short serper;			/* serial port period */
+};
 
 
     /*
@@ -45,6 +73,7 @@
     int debugflag;
     int keep_video;
     int reset_boards;
+    u_int baud;
     void (*puts)(const char *str);
     long (*getchar)(void);
     void (*putchar)(char c);
@@ -55,7 +84,7 @@
     void (*close)(int fd);
     int (*filesize)(const char *path);
     void (*sleep)(u_long micros);
-    int (*modify_bootinfo)(struct bootinfo *bi);
+    int (*modify_bootinfo)(struct amiga_bootinfo *bi);
 };
 
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov