console.c (8001:3ff970f61e80) console.c (8003:7408e4b599ae)
1
2
3/* ******************************************
4 * SimOS SRM Console
5 *
6 * Derived from Lance Berc's SRM console
7 * for the SRC XXM�Machine
8 * ******************************************/

--- 19 unchanged lines hidden (view full) ---

28
29#define CONS_INT_TX 0x01 /* interrupt enable / state bits */
30#define CONS_INT_RX 0x02
31
32#define KSEG 0xfffffc0000000000
33#define K1BASE 0xfffffc8000000000
34#define KSEG_TO_PHYS(x)(((ul)x) & ~KSEG)
35
1
2
3/* ******************************************
4 * SimOS SRM Console
5 *
6 * Derived from Lance Berc's SRM console
7 * for the SRC XXM�Machine
8 * ******************************************/

--- 19 unchanged lines hidden (view full) ---

28
29#define CONS_INT_TX 0x01 /* interrupt enable / state bits */
30#define CONS_INT_RX 0x02
31
32#define KSEG 0xfffffc0000000000
33#define K1BASE 0xfffffc8000000000
34#define KSEG_TO_PHYS(x)(((ul)x) & ~KSEG)
35
36#ifdef TSUNAMI
37#define ALPHA_ACCESS_BASE 0xfffffd0200000000
38#elif TLASER
36#define ALPHA_ACCESS_BASE 0xfffffc8000a00000
39#define ALPHA_ACCESS_BASE 0xfffffc8000a00000
40#else
41#error TSUNAMI/TLASER not defined.
42#endif
37
43
38
39#define PHYS_TO_K1(_x) (K1BASE|(_x))
40
41#define AOUT_LOAD_ADDR (KSEG|0xf000)
42
43#define ROUNDUP8(x) ((ul)(((ul)x)+7) & ~7)
44#define ROUNDUP128(x) ((ul)(((ul)x)+127) & ~127)
45#define ROUNDUP8K(x) ((ul)(((ul)(x))+8191) & ~8191)
46

--- 1247 unchanged lines hidden ---
44#define PHYS_TO_K1(_x) (K1BASE|(_x))
45
46#define AOUT_LOAD_ADDR (KSEG|0xf000)
47
48#define ROUNDUP8(x) ((ul)(((ul)x)+7) & ~7)
49#define ROUNDUP128(x) ((ul)(((ul)x)+127) & ~127)
50#define ROUNDUP8K(x) ((ul)(((ul)(x))+8191) & ~8191)
51

--- 1247 unchanged lines hidden ---