Line 26... |
Line 26... |
|
|
#define MAX_DMAS 4 /* Max. number of DMA controllers */
|
#define MAX_DMAS 4 /* Max. number of DMA controllers */
|
#define MAX_ETHERNETS 4 /* Max. number of Ethernet MACs */
|
#define MAX_ETHERNETS 4 /* Max. number of Ethernet MACs */
|
#define MAX_GPIOS 4 /* Max. number of GPIO modules */
|
#define MAX_GPIOS 4 /* Max. number of GPIO modules */
|
#define MAX_MEMORIES 16 /* Max. number of memory devices attached */
|
#define MAX_MEMORIES 16 /* Max. number of memory devices attached */
|
#define MAX_VGAS 4 /* Max. number of VGAs */
|
|
#define MAX_ATAS 4 /* Max. number of ATAS */
|
#define MAX_ATAS 4 /* Max. number of ATAS */
|
#define MAX_SBUF_LEN 256 /* Max. length of store buffer */
|
#define MAX_SBUF_LEN 256 /* Max. length of store buffer */
|
|
|
#define EXE_LOG_HARDWARE 0 /* Print out RTL states */
|
#define EXE_LOG_HARDWARE 0 /* Print out RTL states */
|
#define EXE_LOG_SIMPLE 1 /* Executed log prints out dissasembly */
|
#define EXE_LOG_SIMPLE 1 /* Executed log prints out dissasembly */
|
Line 69... |
Line 68... |
unsigned long baseaddr; /* Base address */
|
unsigned long baseaddr; /* Base address */
|
int irq; /* IRQ of this device */
|
int irq; /* IRQ of this device */
|
unsigned long base_vapi_id; /* First VAPI ID. GPIO uses 8 consecutive IDs */
|
unsigned long base_vapi_id; /* First VAPI ID. GPIO uses 8 consecutive IDs */
|
} gpios[MAX_GPIOS];
|
} gpios[MAX_GPIOS];
|
|
|
int nvgas;
|
|
struct {
|
|
unsigned long baseaddr; /* Base address */
|
|
int irq; /* IRQ of this device */
|
|
int refresh_rate; /* Number of clocks per refresh */
|
|
char filename[STR_SIZE]; /* Base file name; suffix of ####.bmp is added */
|
|
} vgas[MAX_VGAS];
|
|
|
|
struct {
|
struct {
|
int enabled; /* Whether frame buffer is enabled */
|
int enabled; /* Whether frame buffer is enabled */
|
unsigned long baseaddr; /* Base address of frame buffer register */
|
unsigned long baseaddr; /* Base address of frame buffer register */
|
int refresh_rate; /* Number of clocks per refresh */
|
int refresh_rate; /* Number of clocks per refresh */
|
char filename[STR_SIZE]; /* Base file name; suffix of ####.bmp is added */
|
char filename[STR_SIZE]; /* Base file name; suffix of ####.bmp is added */
|