blob: 01a3b2d5e0dbde4b54f351a8439c13793597d4e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#define ROM_VECTORS 0xff000000
#define ROM_VERSION (ROM_VECTORS + 0)
#define ROM_COMM_AREA (ROM_VECTORS + 8)
#define ROM_COMMAND (ROM_VECTORS + 16)
#define ROM_SLAVEHALT (ROM_VECTORS + 24)
#define ROM_MSGBUFP (ROM_VECTORS + 32)
#define ROM_DGRAM (ROM_VECTORS + 40)
#define ROM_EEVERSION (ROM_VECTORS + 48)
#define ROM_REVISION (ROM_VECTORS + 56)
struct prom_command_area
{
char *command_ptr;
int ret_val;
int first_free;
int memsize;
int ramdisk;
char *iomap_addr;
int (*slave_start) __P((void));
int row;
int col;
int silent;
};
/* Prom related fucntions. */
void idprom_etheraddr __P((u_char *ether));
void verbose_rom_reset __P((void));
|