root/arch/i386/kernel/trampoline32.S

/* [previous][next][first][last][top][bottom][index][help] */
   1 !
   2 !       32bit side of the trampoline code
   3 !
   4 #define __ASSEMBLY__
   5 #include <linux/config.h>
   6 #include <asm/segment.h>
   7 !
   8 !
   9 !       Anything but a relative address here will be wrong by 8K...
  10 !
  11         .globl startup32
  12 .text
  13 startup32:
  14 !       Run the kernel
  15         mov     eax,#KERNEL_DS
  16         mov     ds,ax
  17         mov     eax,#0xA5A5A5A5
  18         mov     [8192],eax
  19         jmpi    0x100000,KERNEL_CS
  20 l1:
  21         .byte   0xEA,0x00,0x00,0x10,0x00,0x10,0x00

/* [previous][next][first][last][top][bottom][index][help] */