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 3
  31         .globl  wrent
  32         .ent    wrent
  33 wrent:
  34         .long PAL_wrent
  35         ret ($26)
  36         .end wrent
  37 
  38         .align 3
  39         .globl  wrkgp
  40         .ent    wrkgp
  41 wrkgp:
  42         .long PAL_wrkgp
  43         ret ($26)
  44         .end wrkgp
  45 
  46         .align 3
  47         .globl  wrusp
  48         .ent    wrusp
  49 wrusp:
  50         .long PAL_wrusp
  51         ret ($26)
  52         .end wrusp
  53 
  54         .align 3
  55         .globl  rdusp
  56         .ent    rdusp
  57 rdusp:
  58         .long PAL_rdusp
  59         ret ($26)
  60         .end rdusp
  61 
  62         .align 3
  63         .globl  tbi
  64         .ent    tbi
  65 tbi:
  66         .long PAL_tbi
  67         ret ($26)
  68         .end tbi
  69 
  70         .align 3
  71         .globl  imb
  72         .ent    imb
  73 imb:
  74         .long PAL_imb
  75         ret ($26)
  76         .end imb
  77 
  78         .align 3
  79         .globl  rdmces
  80         .ent    rdmces
  81 rdmces:
  82         call_pal PAL_rdmces
  83         ret ($26)
  84         .end rdmces
  85 
  86         .align 3
  87         .globl  wrmces
  88         .ent    wrmces
  89 wrmces:
  90         call_pal PAL_wrmces
  91         ret ($26)
  92         .end wrmces

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