|
|
|
|
|
|
|
|
|
|
xen-merge
[Xen-merge] [PATCH 16/23] setup subarch headers
--- linux-2.6.12-xen0-arch.orig/include/asm-i386/setup.h
+++ linux-2.6.12-xen0-arch/include/asm-i386/setup.h
@@ -53,9 +53,9 @@ extern unsigned char boot_params[PARAM_S
#define AUX_DEVICE_INFO (*(unsigned char *) (PARAM+0x1FF))
#define LOADER_TYPE (*(unsigned char *) (PARAM+0x210))
#define KERNEL_START (*(unsigned long *) (PARAM+0x214))
-#define INITRD_START (*(unsigned long *) (PARAM+0x218))
-#define INITRD_SIZE (*(unsigned long *) (PARAM+0x21c))
-#define EDID_INFO (*(struct edid_info *) (PARAM+0x140))
+
+#include <mach_setup.h>
+
#define EDD_NR (*(unsigned char *) (PARAM+EDDNR))
#define EDD_MBR_SIG_NR (*(unsigned char *) (PARAM+EDD_MBR_SIG_NR_BUF))
#define EDD_MBR_SIGNATURE ((unsigned int *) (PARAM+EDD_MBR_SIG_BUF))
--- /dev/null
+++ linux-2.6.12-xen0-arch/include/asm-i386/mach-default/mach_setup.h
@@ -0,0 +1,8 @@
+#ifndef __ASM_MACH_SETUP_H
+#define __ASM_MACH_SETUP_H
+
+#define INITRD_START (*(unsigned long *) (PARAM+0x218))
+#define INITRD_SIZE (*(unsigned long *) (PARAM+0x21c))
+#define EDID_INFO (*(struct edid_info *) (PARAM+0x140))
+
+#endif
--- linux-2.6.12-xen0/include/asm-i386/mach-xen/mach_setup.h 1969-12-31
16:00:00.000000000 -0800
+++ linux-2.6.12-xen0-arch/include/asm-i386/mach-xen/mach_setup.h
2005-08-02 00:25:57.000000000 -0700
@@ -0,0 +1,8 @@
+#ifndef __ASM_MACH_SETUP_H
+#define __ASM_MACH_SETUP_H
+
+#define INITRD_START (__pa(xen_start_info.mod_start))
+#define INITRD_SIZE (xen_start_info.mod_len)
+#define EDID_INFO (*(struct edid_info *) (PARAM+0x440))
+
+#endif
--
_______________________________________________
Xen-merge mailing list
Xen-merge@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-merge
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-merge] [PATCH 00/23] i386 subarch (broken down patches), Chris Wright
- [Xen-merge] [PATCH 21/23] Xen subarch headers, Chris Wright
- [Xen-merge] [PATCH 20/23] vga subarch headers, Chris Wright
- [Xen-merge] [PATCH 16/23] setup subarch headers,
Chris Wright <=
- [Xen-merge] [PATCH 15/23] segment subarch headers, Chris Wright
- [Xen-merge] [PATCH 04/23] dma-mapping subarch headers, Chris Wright
- [Xen-merge] [PATCH 22/23] add asm-i386/synch_bitops, Chris Wright
- [Xen-merge] [PATCH 17/23] spinlock subarch headers, Chris Wright
- [Xen-merge] [PATCH 07/23] highmem subarch headers, Chris Wright
- [Xen-merge] [PATCH 14/23] processor subarch headers, Chris Wright
- [Xen-merge] [PATCH 23/23] Xen subarch (largely copied files still), Chris Wright
- [Xen-merge] [PATCH 11/23] page subarch headers, Chris Wright
- [Xen-merge] [PATCH 10/23] mmu subarch headers, Chris Wright
- [Xen-merge] [PATCH 09/23] mmu_context subarch headers, Chris Wright
|
|
|
|
|