blob: 2cff1159a17cd6d06ac234473b67f8616a497f82 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
/*
* alpha/boot/head.S
*
* initial boot stuff.. At this point, the bootloader has already
* switched into OSF/1 PAL-code, and loaded us at the correct address
* (START_ADDR). So there isn't much left for us to do: just set up
* the kernel global pointer and jump to the kernel entry-point.
*/
#define __ASSEMBLY__
#include <asm/system.h>
#include <linux/fd.h>
#define halt .long PAL_halt
.globl swapper_pg_dir
swapper_pg_dir=SWAPPER_PGD
.set noreorder
.globl __start
.ent __start
__start:
br $27,1f
1: ldgp $29,0($27)
lda $27,start_kernel
jsr $26,($27),start_kernel
halt
.end __start
.align 3
.globl wrent
.ent wrent
wrent:
.long PAL_wrent
ret ($26)
.end wrent
.align 3
.globl wrkgp
.ent wrkgp
wrkgp:
.long PAL_wrkgp
ret ($26)
.end wrkgp
.align 3
.globl wrusp
.ent wrusp
wrusp:
.long PAL_wrusp
ret ($26)
.end wrusp
.align 3
.globl rdusp
.ent rdusp
rdusp:
.long PAL_rdusp
ret ($26)
.end rdusp
.align 3
.globl tbi
.ent tbi
tbi:
.long PAL_tbi
ret ($26)
.end tbi
.align 3
.globl imb
.ent imb
imb:
.long PAL_imb
ret ($26)
.end imb
.align 3
.globl rdmces
.ent rdmces
rdmces:
call_pal PAL_rdmces
ret ($26)
.end rdmces
.align 3
.globl wrmces
.ent wrmces
wrmces:
call_pal PAL_wrmces
ret ($26)
.end wrmces
.align 9
.globl floppy_track_buffer
floppy_track_buffer:
.space 512*2*MAX_BUFFER_SECTORS,1
|