Revision 0347d689 target-lm32/helper.c
b/target-lm32/helper.c | ||
---|---|---|
192 | 192 |
return cfg; |
193 | 193 |
} |
194 | 194 |
|
195 |
CPULM32State *cpu_lm32_init(const char *cpu_model)
|
|
195 |
LM32CPU *cpu_lm32_init(const char *cpu_model)
|
|
196 | 196 |
{ |
197 | 197 |
LM32CPU *cpu; |
198 | 198 |
CPULM32State *env; |
... | ... | |
219 | 219 |
lm32_translate_init(); |
220 | 220 |
} |
221 | 221 |
|
222 |
return env;
|
|
222 |
return cpu;
|
|
223 | 223 |
} |
224 | 224 |
|
225 | 225 |
/* Some soc ignores the MSB on the address bus. Thus creating a shadow memory |
Also available in: Unified diff