Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
sun3xprom.h File Reference

Go to the source code of this file.

Macros

#define SUN3X_IOMMU   0x60000000
 
#define SUN3X_ENAREG   0x61000000
 
#define SUN3X_INTREG   0x61001400
 
#define SUN3X_DIAGREG   0x61001800
 
#define SUN3X_ZS1   0x62000000
 
#define SUN3X_ZS2   0x62002000
 
#define SUN3X_LANCE   0x65002000
 
#define SUN3X_EEPROM   0x64000000
 
#define SUN3X_IDPROM   0x640007d8
 
#define SUN3X_VIDEO_BASE   0x50400000
 
#define SUN3X_VIDEO_REGS   0x50300000
 
#define SUN3X_PROM_BASE   0xfefe0000
 
#define SUN3X_P_GETCHAR   (SUN3X_PROM_BASE + 20)
 
#define SUN3X_P_PUTCHAR   (SUN3X_PROM_BASE + 24)
 
#define SUN3X_P_MAYGET   (SUN3X_PROM_BASE + 28)
 
#define SUN3X_P_MAYPUT   (SUN3X_PROM_BASE + 32)
 
#define SUN3X_P_REBOOT   (SUN3X_PROM_BASE + 96)
 
#define SUN3X_P_SETLEDS   (SUN3X_PROM_BASE + 144)
 
#define SUN3X_P_ABORT   (SUN3X_PROM_BASE + 152)
 
#define SUN3X_MAP_START   0xfee00000
 
#define SUN3X_MAP_END   0xff000000
 

Functions

void sun3x_reboot (void)
 
void sun3x_abort (void)
 
void sun3x_prom_init (void)
 
unsigned long sun3x_prom_ptov (unsigned long pa, unsigned long size)
 

Variables

void(* sun3x_putchar )(int)
 
int(* sun3x_getchar )(void)
 
int(* sun3x_mayget )(void)
 
int(* sun3x_mayput )(int)
 

Macro Definition Documentation

#define SUN3X_DIAGREG   0x61001800

Definition at line 20 of file sun3xprom.h.

#define SUN3X_EEPROM   0x64000000

Definition at line 24 of file sun3xprom.h.

#define SUN3X_ENAREG   0x61000000

Definition at line 18 of file sun3xprom.h.

#define SUN3X_IDPROM   0x640007d8

Definition at line 25 of file sun3xprom.h.

#define SUN3X_INTREG   0x61001400

Definition at line 19 of file sun3xprom.h.

#define SUN3X_IOMMU   0x60000000

Definition at line 17 of file sun3xprom.h.

#define SUN3X_LANCE   0x65002000

Definition at line 23 of file sun3xprom.h.

#define SUN3X_MAP_END   0xff000000

Definition at line 41 of file sun3xprom.h.

#define SUN3X_MAP_START   0xfee00000

Definition at line 40 of file sun3xprom.h.

#define SUN3X_P_ABORT   (SUN3X_PROM_BASE + 152)

Definition at line 37 of file sun3xprom.h.

#define SUN3X_P_GETCHAR   (SUN3X_PROM_BASE + 20)

Definition at line 31 of file sun3xprom.h.

#define SUN3X_P_MAYGET   (SUN3X_PROM_BASE + 28)

Definition at line 33 of file sun3xprom.h.

#define SUN3X_P_MAYPUT   (SUN3X_PROM_BASE + 32)

Definition at line 34 of file sun3xprom.h.

#define SUN3X_P_PUTCHAR   (SUN3X_PROM_BASE + 24)

Definition at line 32 of file sun3xprom.h.

#define SUN3X_P_REBOOT   (SUN3X_PROM_BASE + 96)

Definition at line 35 of file sun3xprom.h.

#define SUN3X_P_SETLEDS   (SUN3X_PROM_BASE + 144)

Definition at line 36 of file sun3xprom.h.

#define SUN3X_PROM_BASE   0xfefe0000

Definition at line 30 of file sun3xprom.h.

#define SUN3X_VIDEO_BASE   0x50400000

Definition at line 26 of file sun3xprom.h.

#define SUN3X_VIDEO_REGS   0x50300000

Definition at line 27 of file sun3xprom.h.

#define SUN3X_ZS1   0x62000000

Definition at line 21 of file sun3xprom.h.

#define SUN3X_ZS2   0x62002000

Definition at line 22 of file sun3xprom.h.

Function Documentation

void sun3x_abort ( void  )
void sun3x_prom_init ( void  )

Definition at line 95 of file prom.c.

unsigned long sun3x_prom_ptov ( unsigned long  pa,
unsigned long  size 
)
void sun3x_reboot ( void  )

Definition at line 60 of file prom.c.

Variable Documentation

int(* sun3x_getchar)(void)

Definition at line 24 of file prom.c.

int(* sun3x_mayget)(void)

Definition at line 25 of file prom.c.

int(* sun3x_mayput)(int)

Definition at line 26 of file prom.c.

void(* sun3x_putchar)(int)

Definition at line 23 of file prom.c.