pmppc.h File Reference

Back to the index.

Classes | Macros | Functions | Variables
pmppc.h File Reference

Go to the source code of this file.

Classes

struct  a_config
 

Macros

#define PMPPC_SDRAM_BASE   0x00000000
 
#define PMPPC_FLASH_BASE   0x70000000
 
#define PMPPC_IO_START   0x7fe00000
 
#define PMPPC_CS_IO_BASE   0x7fe00000
 
#define PMPPC_CS_IO   0x7fe00c00
 
#define PMPPC_CS_MEM   0x7fe04000
 
#define PMPPC_RTC   0x7ff00000
 
#define PMPPC_RTC_SIZE   0x00002000
 
#define PMPPC_CONFIG0   0x7ff40000
 
#define PMPPC_CONFIG1   0x7ff40001
 
#define PMPPC_LEDS   0x7ff40002
 
#define PMPPC_RESET   0x7ff40003
 
#define PMPPC_RESET_SEQ_STEP1   0xac
 
#define PMPPC_RESET_SEQ_STEP2   0x1d
 
#define PMPPC_INTR   0x7ff40004
 
#define PMPPC_ROM_BASE   0x7ff80000
 
#define PMPPC_I_BPMC_INTA   CPC_IB_EXT0 /* PCI INTA */
 
#define PMPPC_I_BPMC_INTB   CPC_IB_EXT1 /* PCI INTB */
 
#define PMPPC_I_BPMC_INTC   CPC_IB_EXT2 /* PCI INTC */
 
#define PMPPC_I_BPMC_INTD   CPC_IB_EXT3 /* PCI INTD */
 
#define PMPPC_I_ETH_INT   CPC_IB_EXT4 /* ethernet */
 
#define PMPPC_I_RTC_INT   CPC_IB_EXT5 /* rtc */
 
#define A_BOOT_ROM   0
 
#define A_BOOT_FLASH   1
 
#define A_CACHE_PARITY   0
 
#define A_CACHE_NO_PARITY   1
 
#define A_CACHE_NONE   3
 

Functions

void setleds (int leds)
 

Variables

struct a_config __attribute__
 
struct a_config a_config
 

Macro Definition Documentation

◆ A_BOOT_FLASH

#define A_BOOT_FLASH   1

Definition at line 90 of file pmppc.h.

◆ A_BOOT_ROM

#define A_BOOT_ROM   0

Definition at line 89 of file pmppc.h.

◆ A_CACHE_NO_PARITY

#define A_CACHE_NO_PARITY   1

Definition at line 95 of file pmppc.h.

◆ A_CACHE_NONE

#define A_CACHE_NONE   3

Definition at line 96 of file pmppc.h.

◆ A_CACHE_PARITY

#define A_CACHE_PARITY   0

Definition at line 94 of file pmppc.h.

◆ PMPPC_CONFIG0

#define PMPPC_CONFIG0   0x7ff40000

Definition at line 61 of file pmppc.h.

◆ PMPPC_CONFIG1

#define PMPPC_CONFIG1   0x7ff40001

Definition at line 62 of file pmppc.h.

◆ PMPPC_CS_IO

#define PMPPC_CS_IO   0x7fe00c00

Definition at line 53 of file pmppc.h.

◆ PMPPC_CS_IO_BASE

#define PMPPC_CS_IO_BASE   0x7fe00000

Definition at line 52 of file pmppc.h.

◆ PMPPC_CS_MEM

#define PMPPC_CS_MEM   0x7fe04000

Definition at line 54 of file pmppc.h.

◆ PMPPC_FLASH_BASE

#define PMPPC_FLASH_BASE   0x70000000

Definition at line 47 of file pmppc.h.

◆ PMPPC_I_BPMC_INTA

#define PMPPC_I_BPMC_INTA   CPC_IB_EXT0 /* PCI INTA */

Definition at line 75 of file pmppc.h.

◆ PMPPC_I_BPMC_INTB

#define PMPPC_I_BPMC_INTB   CPC_IB_EXT1 /* PCI INTB */

Definition at line 76 of file pmppc.h.

◆ PMPPC_I_BPMC_INTC

#define PMPPC_I_BPMC_INTC   CPC_IB_EXT2 /* PCI INTC */

Definition at line 77 of file pmppc.h.

◆ PMPPC_I_BPMC_INTD

#define PMPPC_I_BPMC_INTD   CPC_IB_EXT3 /* PCI INTD */

Definition at line 78 of file pmppc.h.

◆ PMPPC_I_ETH_INT

#define PMPPC_I_ETH_INT   CPC_IB_EXT4 /* ethernet */

Definition at line 79 of file pmppc.h.

◆ PMPPC_I_RTC_INT

#define PMPPC_I_RTC_INT   CPC_IB_EXT5 /* rtc */

Definition at line 80 of file pmppc.h.

◆ PMPPC_INTR

#define PMPPC_INTR   0x7ff40004

Definition at line 67 of file pmppc.h.

◆ PMPPC_IO_START

#define PMPPC_IO_START   0x7fe00000

Definition at line 49 of file pmppc.h.

◆ PMPPC_LEDS

#define PMPPC_LEDS   0x7ff40002

Definition at line 63 of file pmppc.h.

◆ PMPPC_RESET

#define PMPPC_RESET   0x7ff40003

Definition at line 64 of file pmppc.h.

◆ PMPPC_RESET_SEQ_STEP1

#define PMPPC_RESET_SEQ_STEP1   0xac

Definition at line 65 of file pmppc.h.

◆ PMPPC_RESET_SEQ_STEP2

#define PMPPC_RESET_SEQ_STEP2   0x1d

Definition at line 66 of file pmppc.h.

◆ PMPPC_ROM_BASE

#define PMPPC_ROM_BASE   0x7ff80000

Definition at line 70 of file pmppc.h.

◆ PMPPC_RTC

#define PMPPC_RTC   0x7ff00000

Definition at line 57 of file pmppc.h.

◆ PMPPC_RTC_SIZE

#define PMPPC_RTC_SIZE   0x00002000

Definition at line 58 of file pmppc.h.

◆ PMPPC_SDRAM_BASE

#define PMPPC_SDRAM_BASE   0x00000000

Definition at line 44 of file pmppc.h.

Function Documentation

◆ setleds()

void setleds ( int  leds)

Variable Documentation

◆ __attribute__

struct a_config __attribute__

◆ a_config


Generated on Tue Mar 24 2020 14:04:48 for GXemul by doxygen 1.8.17