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 
  13 #define halt .long PAL_halt
  14 
  15 .globl swapper_pg_dir
  16 swapper_pg_dir=SWAPPER_PGD
  17 
  18         .set noreorder
  19         .globl  __start
  20         .ent    __start
  21 __start:
  22         br      $27,1f
  23 1:      ldgp    $29,0($27)
  24         lda     $27,start_kernel
  25         jsr     $26,($27),start_kernel
  26         halt
  27         .end __start
  28 
  29         .align 5
  30         .globl  wrent
  31         .ent    wrent
  32 wrent:
  33         .long PAL_wrent
  34         ret ($26)
  35         .end wrent
  36 
  37         .align 5
  38         .globl  wrkgp
  39         .ent    wrkgp
  40 wrkgp:
  41         .long PAL_wrkgp
  42         ret ($26)
  43         .end wrkgp
  44 
  45         .align 5
  46         .globl  wrusp
  47         .ent    wrusp
  48 wrusp:
  49         .long PAL_wrusp
  50         ret ($26)
  51         .end wrusp
  52 
  53         .align 5
  54         .globl  rdusp
  55         .ent    rdusp
  56 rdusp:
  57         .long PAL_rdusp
  58         ret ($26)
  59         .end rdusp
  60 
  61 

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