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 .globl _stext
  18 swapper_pg_dir=SWAPPER_PGD
  19 
  20         .set noreorder
  21         .globl  __start
  22         .ent    __start
  23 _stext:
  24 __start:
  25         br      $27,1f
  26 1:      ldgp    $29,0($27)
  27         lda     $27,start_kernel
  28         jsr     $26,($27),start_kernel
  29         halt
  30         .end __start
  31 
  32         .align 3
  33         .globl  wrent
  34         .ent    wrent
  35 wrent:
  36         .long PAL_wrent
  37         ret ($26)
  38         .end wrent
  39 
  40         .align 3
  41         .globl  wrkgp
  42         .ent    wrkgp
  43 wrkgp:
  44         .long PAL_wrkgp
  45         ret ($26)
  46         .end wrkgp
  47 
  48         .align 3
  49         .globl  wrusp
  50         .ent    wrusp
  51 wrusp:
  52         .long PAL_wrusp
  53         ret ($26)
  54         .end wrusp
  55 
  56         .align 3
  57         .globl  rdusp
  58         .ent    rdusp
  59 rdusp:
  60         .long PAL_rdusp
  61         ret ($26)
  62         .end rdusp
  63 
  64         .align 3
  65         .globl  tbi
  66         .ent    tbi
  67 tbi:
  68         .long PAL_tbi
  69         ret ($26)
  70         .end tbi
  71 
  72         .align 3
  73         .globl  imb
  74         .ent    imb
  75 imb:
  76         .long PAL_imb
  77         ret ($26)
  78         .end imb
  79 
  80         .align 3
  81         .globl  rdmces
  82         .ent    rdmces
  83 rdmces:
  84         call_pal PAL_rdmces
  85         ret ($26)
  86         .end rdmces
  87 
  88         .align 3
  89         .globl  wrmces
  90         .ent    wrmces
  91 wrmces:
  92         call_pal PAL_wrmces
  93         ret ($26)
  94         .end wrmces

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