mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
target-arm: Extend feature flags to 64 bits
Extend feature flags to 64 bits, as we've just run out of space in the 32 bit integer we were using for them. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
de9b05b807
commit
918f5dca18
3 changed files with 6 additions and 6 deletions
|
@ -60,7 +60,7 @@ void cpu_save(QEMUFile *f, void *opaque)
|
|||
qemu_put_be32(f, env->cp15.c15_diagnostic);
|
||||
qemu_put_be32(f, env->cp15.c15_power_diagnostic);
|
||||
|
||||
qemu_put_be32(f, env->features);
|
||||
qemu_put_be64(f, env->features);
|
||||
|
||||
if (arm_feature(env, ARM_FEATURE_VFP)) {
|
||||
for (i = 0; i < 16; i++) {
|
||||
|
@ -177,7 +177,7 @@ int cpu_load(QEMUFile *f, void *opaque, int version_id)
|
|||
env->cp15.c15_diagnostic = qemu_get_be32(f);
|
||||
env->cp15.c15_power_diagnostic = qemu_get_be32(f);
|
||||
|
||||
env->features = qemu_get_be32(f);
|
||||
env->features = qemu_get_be64(f);
|
||||
|
||||
if (arm_feature(env, ARM_FEATURE_VFP)) {
|
||||
for (i = 0; i < 16; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue