mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
lm32: replace cpu_lm32_init() with cpu_generic_init()
it's just a wrapper, drop it and use cpu_generic_init() directly Signed-off-by: Igor Mammedov <imammedo@redhat.com> Acked-by: Michael Walle <michael@walle.cc> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Message-Id: <1503592308-93913-22-git-send-email-imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
This commit is contained in:
parent
a7a1c09b41
commit
1d197417a3
4 changed files with 4 additions and 10 deletions
|
@ -219,11 +219,6 @@ bool lm32_cpu_exec_interrupt(CPUState *cs, int interrupt_request)
|
|||
return false;
|
||||
}
|
||||
|
||||
LM32CPU *cpu_lm32_init(const char *cpu_model)
|
||||
{
|
||||
return LM32_CPU(cpu_generic_init(TYPE_LM32_CPU, cpu_model));
|
||||
}
|
||||
|
||||
/* Some soc ignores the MSB on the address bus. Thus creating a shadow memory
|
||||
* area. As a general rule, 0x00000000-0x7fffffff is cached, whereas
|
||||
* 0x80000000-0xffffffff is not cached and used to access IO devices. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue