diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2020-09-01 16:40:57 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-09-14 14:23:19 +0100 |
commit | 14a560359d24d0f30ced8a2613b83323e9302490 (patch) | |
tree | 40dda3f5042e8069999632aa587d2b085a9afe6f /hw/i386 | |
parent | a68694cd1f3e5448cca814ff39b871f9ebd71ed5 (diff) | |
download | qemu-14a560359d24d0f30ced8a2613b83323e9302490.zip qemu-14a560359d24d0f30ced8a2613b83323e9302490.tar.gz qemu-14a560359d24d0f30ced8a2613b83323e9302490.tar.bz2 |
hw/misc/a9scu: Do not allow invalid CPU count
Per the datasheet (DDI0407 r2p0):
"The SCU connects one to four Cortex-A9 processors to
the memory system through the AXI interfaces."
Change the instance_init() handler to a device_realize()
one so we can verify the property is in range, and return
an error to the caller if not.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200901144100.116742-2-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/i386')
0 files changed, 0 insertions, 0 deletions