File tree Expand file tree Collapse file tree 14 files changed +393
-21
lines changed Expand file tree Collapse file tree 14 files changed +393
-21
lines changed Original file line number Diff line number Diff line change 24
24
#include <linux/version.h>
25
25
26
26
#include <asm/console.h>
27
- #include <asm/ hwrpb.h>
28
- #include <asm/ system.h>
27
+ #include " hwrpb.h"
28
+ #include " system.h"
29
29
30
30
#include <alloca.h>
31
31
#include <errno.h>
Original file line number Diff line number Diff line change 3
3
#include <linux/kernel.h>
4
4
5
5
#include <asm/console.h>
6
- #include <asm/ hwrpb.h>
7
- #include <asm/ system.h>
6
+ #include " hwrpb.h"
7
+ #include " system.h"
8
8
9
9
#include "aboot.h"
10
10
#include "cons.h"
20
20
#endif
21
21
22
22
long cons_dev ; /* console device */
23
- extern long int dispatch (); /* Need the full 64 bit return here...*/
24
23
25
24
long
26
25
cons_puts (const char * str , long len )
Original file line number Diff line number Diff line change 35
35
36
36
#include <linux/elf.h>
37
37
#include <asm/console.h>
38
- #include <asm/ system.h>
38
+ #include " system.h"
39
39
#include <asm/elf.h>
40
40
41
41
extern struct bootfs ext2fs ;
Original file line number Diff line number Diff line change 4
4
*
5
5
* Michael Schwingen ([email protected] ).
6
6
*/
7
- #include <asm/ system.h>
7
+ #include " system.h"
8
8
9
9
#include <config.h>
10
10
#include <aboot.h>
Original file line number Diff line number Diff line change 4
4
* initial bootloader stuff..
5
5
*/
6
6
7
- #include <asm/system.h>
7
+ #include "pal.h"
8
8
9
9
#include <config.h>
10
10
@@ -170,4 +170,4 @@ run_kernel:
170
170
mov $16 ,$27
171
171
mov $17 ,$30
172
172
jmp $31 ,($27 )
173
- .end run_kernel
173
+ .end run_kernel
Original file line number Diff line number Diff line change 3
3
4
4
#include <stdarg.h>
5
5
6
- #include <asm/ hwrpb.h>
6
+ #include " hwrpb.h"
7
7
8
8
#include <setjmp.h>
9
9
Original file line number Diff line number Diff line change
1
+ #ifndef __ALPHA_PAL_H
2
+ #define __ALPHA_PAL_H
3
+
4
+ /*
5
+ * Common PAL-code
6
+ */
7
+ #define PAL_halt 0
8
+ #define PAL_cflush 1
9
+ #define PAL_draina 2
10
+ #define PAL_bpt 128
11
+ #define PAL_bugchk 129
12
+ #define PAL_chmk 131
13
+ #define PAL_callsys 131
14
+ #define PAL_imb 134
15
+ #define PAL_rduniq 158
16
+ #define PAL_wruniq 159
17
+ #define PAL_gentrap 170
18
+ #define PAL_nphalt 190
19
+
20
+ /*
21
+ * VMS specific PAL-code
22
+ */
23
+ #define PAL_swppal 10
24
+ #define PAL_mfpr_vptb 41
25
+
26
+ /*
27
+ * OSF specific PAL-code
28
+ */
29
+ #define PAL_cserve 9
30
+ #define PAL_wripir 13
31
+ #define PAL_rdmces 16
32
+ #define PAL_wrmces 17
33
+ #define PAL_wrfen 43
34
+ #define PAL_wrvptptr 45
35
+ #define PAL_jtopal 46
36
+ #define PAL_swpctx 48
37
+ #define PAL_wrval 49
38
+ #define PAL_rdval 50
39
+ #define PAL_tbi 51
40
+ #define PAL_wrent 52
41
+ #define PAL_swpipl 53
42
+ #define PAL_rdps 54
43
+ #define PAL_wrkgp 55
44
+ #define PAL_wrusp 56
45
+ #define PAL_wrperfmon 57
46
+ #define PAL_rdusp 58
47
+ #define PAL_whami 60
48
+ #define PAL_retsys 61
49
+ #define PAL_rti 63
50
+
51
+ #endif /* __ALPHA_PAL_H */
You can’t perform that action at this time.
0 commit comments