diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2018-02-05 15:04:26 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2018-02-09 10:55:40 +0000 |
| commit | bbba7757bacc9f890a3f028d328b4b429dbe78ec (patch) | |
| tree | 20ec2e25be5c4c4a4f4547cb5d0012af6623b031 /qobject/json-parser.c | |
| parent | 384c6c03fb687bea239a5990a538c4bc50fdcecb (diff) | |
| download | focaccia-qemu-bbba7757bacc9f890a3f028d328b4b429dbe78ec.tar.gz focaccia-qemu-bbba7757bacc9f890a3f028d328b4b429dbe78ec.zip | |
hw/core/generic-loader: Allow PC to be set on command line
The documentation for the generic loader claims that you can set the PC for a CPU with an option of the form -device loader,cpu-num=0,addr=0x10000004 However if you try this QEMU complains: cpu_num must be specified when setting a program counter This is because we were testing against 0 rather than CPU_NONE. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20180205150426.20542-1-peter.maydell@linaro.org
Diffstat (limited to 'qobject/json-parser.c')
0 files changed, 0 insertions, 0 deletions