1 |
/* gxemul: $Id: dec_prom.h,v 1.5 2005/03/05 12:34:02 debug Exp $ */ |
/* gxemul: $Id: dec_prom.h,v 1.7 2006/04/22 08:40:45 debug Exp $ */ |
2 |
#ifndef _PMAX_DEC_PROM_H_ |
#ifndef _PMAX_DEC_PROM_H_ |
3 |
#define _PMAX_DEC_PROM_H_ |
#define _PMAX_DEC_PROM_H_ |
4 |
|
|
85 |
|
|
86 |
#define DEC_PROM_MAGIC 0x30464354 |
#define DEC_PROM_MAGIC 0x30464354 |
87 |
|
|
88 |
/* typedef */ struct memmap { |
/* typedef */ struct dec_memmap { |
89 |
uint32_t pagesize; /* system page size */ /* was type int in netbsd */ |
uint32_t pagesize; /* system page size */ /* was type int in netbsd */ |
90 |
u_char bitmap[15360]; /* bit for each page indicating safe to use */ |
u_char bitmap[15360]; /* bit for each page indicating safe to use */ |
91 |
} memmap; |
} /* memmap */; |
92 |
|
|
93 |
typedef struct { |
typedef struct { |
94 |
int revision; /* hardware revision level */ |
int revision; /* hardware revision level */ |
101 |
int reserved[4]; |
int reserved[4]; |
102 |
} tcinfo; |
} tcinfo; |
103 |
|
|
104 |
|
#if 0 |
105 |
|
/* Not in GXemul. */ |
106 |
|
|
107 |
typedef int jmp_buf[12]; |
typedef int jmp_buf[12]; |
108 |
typedef void (*psig_t)(int); |
typedef void (*psig_t)(int); |
109 |
|
|
206 |
#define bcopy(src, dst, len) memcpy(dst, src, len) |
#define bcopy(src, dst, len) memcpy(dst, src, len) |
207 |
#endif |
#endif |
208 |
|
|
209 |
|
#endif /* not in gxemul */ |
210 |
|
|
211 |
/* |
/* |
212 |
* The prom routines use the following structure to hold strings. |
* The prom routines use the following structure to hold strings. |
213 |
*/ |
*/ |