1
2
3
4
5
6
7
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