~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/m68k/include/asm/sun3xprom.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /* Useful PROM locations */
  3 
  4 #ifndef SUN3X_PROM_H
  5 #define SUN3X_PROM_H
  6 
  7 extern void (*sun3x_putchar)(int);
  8 extern int (*sun3x_getchar)(void);
  9 extern int (*sun3x_mayget)(void);
 10 extern int (*sun3x_mayput)(int);
 11 
 12 void sun3x_reboot(void);
 13 void sun3x_abort(void);
 14 void sun3x_prom_init(void);
 15 unsigned long sun3x_prom_ptov(unsigned long pa, unsigned long size);
 16 
 17 /* interesting hardware locations */
 18 #define SUN3X_IOMMU       0x60000000
 19 #define SUN3X_ENAREG      0x61000000
 20 #define SUN3X_INTREG      0x61001400
 21 #define SUN3X_DIAGREG     0x61001800
 22 #define SUN3X_ZS1         0x62000000
 23 #define SUN3X_ZS2         0x62002000
 24 #define SUN3X_LANCE       0x65002000
 25 #define SUN3X_EEPROM      0x64000000
 26 #define SUN3X_IDPROM      0x640007d8
 27 #define SUN3X_VIDEO_BASE  0x50400000
 28 #define SUN3X_VIDEO_REGS  0x50300000
 29 
 30 /* vector table */
 31 #define SUN3X_PROM_BASE   0xfefe0000
 32 #define SUN3X_P_GETCHAR   (SUN3X_PROM_BASE + 20)
 33 #define SUN3X_P_PUTCHAR   (SUN3X_PROM_BASE + 24)
 34 #define SUN3X_P_MAYGET    (SUN3X_PROM_BASE + 28)
 35 #define SUN3X_P_MAYPUT    (SUN3X_PROM_BASE + 32)
 36 #define SUN3X_P_REBOOT    (SUN3X_PROM_BASE + 96)
 37 #define SUN3X_P_SETLEDS   (SUN3X_PROM_BASE + 144)
 38 #define SUN3X_P_ABORT     (SUN3X_PROM_BASE + 152)
 39 
 40 /* mapped area */
 41 #define SUN3X_MAP_START   0xfee00000
 42 #define SUN3X_MAP_END     0xff000000
 43 
 44 #endif
 45 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php