patch-1.3.31 linux/arch/i386/kernel/trampoline32.S

Next file: linux/arch/i386/kernel/traps.c
Previous file: linux/arch/i386/kernel/trampoline.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.30/linux/arch/i386/kernel/trampoline32.S linux/arch/i386/kernel/trampoline32.S
@@ -0,0 +1,21 @@
+!
+!	32bit side of the trampoline code
+!
+#define __ASSEMBLY__
+#include <linux/config.h>
+#include <asm/segment.h>
+!
+!
+!	Anything but a relative address here will be wrong by 8K...
+!
+	.globl startup32
+.text
+startup32:
+!	Run the kernel
+	mov	eax,#KERNEL_DS
+	mov	ds,ax
+	mov	eax,#0xA5A5A5A5
+	mov	[8192],eax
+	jmpi	0x100000,KERNEL_CS
+l1:
+	.byte	0xEA,0x00,0x00,0x10,0x00,0x10,0x00

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this