diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-m68k/sun3xprom.h |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-m68k/sun3xprom.h')
-rw-r--r-- | include/asm-m68k/sun3xprom.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/include/asm-m68k/sun3xprom.h b/include/asm-m68k/sun3xprom.h new file mode 100644 index 000000000000..6735efcf5f6d --- /dev/null +++ b/include/asm-m68k/sun3xprom.h | |||
@@ -0,0 +1,43 @@ | |||
1 | /* Useful PROM locations */ | ||
2 | |||
3 | #ifndef SUN3X_PROM_H | ||
4 | #define SUN3X_PROM_H | ||
5 | |||
6 | extern void (*sun3x_putchar)(int); | ||
7 | extern int (*sun3x_getchar)(void); | ||
8 | extern int (*sun3x_mayget)(void); | ||
9 | extern int (*sun3x_mayput)(int); | ||
10 | |||
11 | void sun3x_reboot(void); | ||
12 | void sun3x_abort(void); | ||
13 | void sun3x_prom_init(void); | ||
14 | unsigned long sun3x_prom_ptov(unsigned long pa, unsigned long size); | ||
15 | |||
16 | /* interesting hardware locations */ | ||
17 | #define SUN3X_IOMMU 0x60000000 | ||
18 | #define SUN3X_ENAREG 0x61000000 | ||
19 | #define SUN3X_INTREG 0x61001400 | ||
20 | #define SUN3X_DIAGREG 0x61001800 | ||
21 | #define SUN3X_ZS1 0x62000000 | ||
22 | #define SUN3X_ZS2 0x62002000 | ||
23 | #define SUN3X_LANCE 0x65002000 | ||
24 | #define SUN3X_EEPROM 0x64000000 | ||
25 | #define SUN3X_IDPROM 0x640007d8 | ||
26 | #define SUN3X_VIDEO_BASE 0x50400000 | ||
27 | #define SUN3X_VIDEO_REGS 0x50300000 | ||
28 | |||
29 | /* vector table */ | ||
30 | #define SUN3X_PROM_BASE 0xfefe0000 | ||
31 | #define SUN3X_P_GETCHAR (SUN3X_PROM_BASE + 20) | ||
32 | #define SUN3X_P_PUTCHAR (SUN3X_PROM_BASE + 24) | ||
33 | #define SUN3X_P_MAYGET (SUN3X_PROM_BASE + 28) | ||
34 | #define SUN3X_P_MAYPUT (SUN3X_PROM_BASE + 32) | ||
35 | #define SUN3X_P_REBOOT (SUN3X_PROM_BASE + 96) | ||
36 | #define SUN3X_P_SETLEDS (SUN3X_PROM_BASE + 144) | ||
37 | #define SUN3X_P_ABORT (SUN3X_PROM_BASE + 152) | ||
38 | |||
39 | /* mapped area */ | ||
40 | #define SUN3X_MAP_START 0xfee00000 | ||
41 | #define SUN3X_MAP_END 0xff000000 | ||
42 | |||
43 | #endif | ||