Revision ae7d54d4
b/target-lm32/cpu.h | ||
---|---|---|
149 | 149 |
LM32_FLAG_IGNORE_MSB = 1, |
150 | 150 |
}; |
151 | 151 |
|
152 |
typedef struct CPULM32State {
|
|
152 |
struct CPULM32State { |
|
153 | 153 |
/* general registers */ |
154 | 154 |
uint32_t regs[32]; |
155 | 155 |
|
... | ... | |
182 | 182 |
uint8_t num_bps; |
183 | 183 |
uint8_t num_wps; |
184 | 184 |
|
185 |
} CPULM32State;
|
|
185 |
}; |
|
186 | 186 |
|
187 | 187 |
|
188 | 188 |
CPULM32State *cpu_lm32_init(const char *cpu_model); |
b/target-microblaze/cpu.h | ||
---|---|---|
230 | 230 |
#define STREAM_CONTROL (1 << 3) |
231 | 231 |
#define STREAM_NONBLOCK (1 << 4) |
232 | 232 |
|
233 |
typedef struct CPUMBState {
|
|
233 |
struct CPUMBState { |
|
234 | 234 |
uint32_t debug; |
235 | 235 |
uint32_t btaken; |
236 | 236 |
uint32_t btarget; |
... | ... | |
264 | 264 |
#endif |
265 | 265 |
|
266 | 266 |
CPU_COMMON |
267 |
} CPUMBState;
|
|
267 |
}; |
|
268 | 268 |
|
269 | 269 |
CPUMBState *cpu_mb_init(const char *cpu_model); |
270 | 270 |
int cpu_mb_exec(CPUMBState *s); |
Also available in: Unified diff