OSDN Git Service

hw/openrisc/openrisc_sim: Parameterize initialization
authorStafford Horne <shorne@gmail.com>
Wed, 9 Feb 2022 21:26:59 +0000 (06:26 +0900)
committerStafford Horne <shorne@gmail.com>
Fri, 25 Feb 2022 06:42:23 +0000 (15:42 +0900)
commit76f36985e54e1ebb2c1907bee75b5f7d778a5902
tree891d49e7e6d97e2e815f5c23205c6597b4c5930b
parentf85ad231e4f4df7962d9385db4605b6a54ddc263
hw/openrisc/openrisc_sim: Parameterize initialization

Move magic numbers to variables and enums. These will be reused for
upcoming fdt initialization.

Signed-off-by: Stafford Horne <shorne@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/openrisc/openrisc_sim.c