root/arch/alpha/kernel/head.S

/* [previous][next][first][last][top][bottom][index][help] */
   1 /*
   2  * alpha/boot/head.S
   3  *
   4  * initial boot stuff.. At this point, the bootloader has already
   5  * switched into OSF/1 PAL-code, and loaded us at the correct address
   6  * (START_ADDR).  So there isn't much left for us to do: just set up
   7  * the kernel global pointer and jump to the kernel entry-point.
   8  */
   9 
  10 #define __ASSEMBLY__
  11 #include <asm/system.h>
  12 #include <linux/fd.h>
  13 
  14 #define halt .long PAL_halt
  15 
  16 .globl swapper_pg_dir
  17 swapper_pg_dir=SWAPPER_PGD
  18 
  19         .set noreorder
  20         .globl  __start
  21         .ent    __start
  22 __start:
  23         br      $27,1f
  24 1:      ldgp    $29,0($27)
  25         lda     $27,start_kernel
  26         jsr     $26,($27),start_kernel
  27         halt
  28         .end __start
  29 
  30         .align 5
  31         .globl  wrent
  32         .ent    wrent
  33 wrent:
  34         .long PAL_wrent
  35         ret ($26)
  36         .end wrent
  37 
  38         .align 5
  39         .globl  wrkgp
  40         .ent    wrkgp
  41 wrkgp:
  42         .long PAL_wrkgp
  43         ret ($26)
  44         .end wrkgp
  45 
  46         .align 5
  47         .globl  wrusp
  48         .ent    wrusp
  49 wrusp:
  50         .long PAL_wrusp
  51         ret ($26)
  52         .end wrusp
  53 
  54         .align 5
  55         .globl  rdusp
  56         .ent    rdusp
  57 rdusp:
  58         .long PAL_rdusp
  59         ret ($26)
  60         .end rdusp
  61 
  62 .align 9
  63 .globl floppy_track_buffer
  64 floppy_track_buffer:
  65         .space 512*2*MAX_BUFFER_SECTORS,1

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