Add BANK_ #defines to index banked registers.
Suggested-by: Peter Maydell
Signed-off-by: Soren Brinkmann
---
v2:
- move #defines from cpu.h to internals.h
- drop ARM_ prefix in #defines
---
target-arm/helper.c| 37 ++---
target-arm/internals.h | 16
Add ARM_BANK_ #defines to index banked registers.
Suggested-by: Peter Maydell
Signed-off-by: Soren Brinkmann
---
This change was suggested by Peter in the submission of "target-arm: Add
support for SPSR_(ABT|UND|IRQ|FIQ)", which this patch depends on.
I applied this to the banked_(sp
Signed-off-by: Soren Brinkmann
---
Hi,
I recently came across some code that caused undefined instruction exceptions
when executing instructions 'mrs x11, spsr_abt' and the like. I'm not sure I
get the full picture, but it seems QEMU already keeps the state for those SPSR
re
The macro is defined twice in identical ways.
Signed-off-by: Soren Brinkmann
---
I have the feeling I'm missing a tiny one-letter difference or some
ifdef, but I believe the mentioned macro is defined twice.
Sören
---
include/migration/vmstate.h | 3 ---
1 file changed, 3 dele
When taking an exception print the content of the exception link
register. This is useful especially for synchronous exceptions because
in that case this registers holds the address of the instruction that
generated the exception.
Signed-off-by: Soren Brinkmann
---
target-arm/helper-a64.c | 2
Introduce 'load_ramdisk()' which can load "normal" ramdisks and ramdisks
with a u-boot header.
To enable this and leverage synergies 'load_uimage()' is refactored to
accomodate this additional use case.
Signed-off-by: Soren Brinkmann
---
v3:
- remove fallback code
The load_ramdisk function is used to load ramdisk featuring a U-Boot
header.
Signed-off-by: Soren Brinkmann
---
v2:
- try to load a u-boot ramdisk using the new load_ramdisk() function
first. And then, in case of an error, fall back to the traditional
way for loading a ramdisk. In order
Sorry, for the delay, but I finally found some time for a follow up. I assume
the asymmety between loading kernels and loading the ramdisk is the blocker for
this series and fixed it up.
Detailed changelog in the following emails.
Sören
Soren Brinkmann (2):
hw/loader: Support ramdisk
Introduce 'load_ramdisk()' which can load "normal" ramdisks and ramdisks
with a u-boot header.
To enable this and leverage synergies 'load_uimage()' is refactored to
accomodate this additional use case.
Signed-off-by: Soren Brinkmann
---
v2:
- document the new
Updated with Peter's comments. The detailed changelog can be found in the
following emails with the patches.
Sören
Soren Brinkmann (2):
hw/loader: Support ramdisk with u-boot header
hw/arm: Use 'load_ramdisk()' for loading ramdisk
hw/arm/boot.c | 8 ++---
h
The load_ramdisk function takes over loading traditional ramdisks images
and does also load ramdisks with u-boot header.
Signed-off-by: Soren Brinkmann
---
hw/arm/boot.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/arm/boot.c b/hw/arm/boot.c
index f310f73
Introduce 'load_ramdisk()' which can load "normal" ramdisks and ramdisks
with a u-boot header.
To enable this and leverage synergies 'load_uimage()' is refactored to
accomodate this additional use case.
Signed-off-by: Soren Brinkmann
The load_ramdisk function takes over loading traditional ramdisks images
and does also load ramdisks with u-boot header.
Signed-off-by: Soren Brinkmann
---
hw/arm/boot.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/arm/boot.c b/hw/arm/boot.c
index f310f73
For loading Linux kernels, QEMU already is able to recognize and load
them when they feature a U-Boot header. This patch series targets to
extend this support to ramdisks.
Furthermore the ARM support code is changed to use the new functionality.
Regards,
Sören
Soren Brinkmann (2
14 matches
Mail list logo