diff options
author | Richard Henderson <rth@twiddle.net> | 2013-09-20 11:33:41 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2015-02-03 12:06:37 -0800 |
commit | 7f745b31b39cb9be8b3c3dfaf3173390ae07353e (patch) | |
tree | 2143e9ff944720d1e9ee00807412ce7ab16d9a4a /target-s390x/cpu.h | |
parent | e30a9d3fea58c356000ce328421fe65e03143bb1 (diff) |
target-s390: Fix STIDP
The implementation had been incomplete, as we did not store the
machine type. Note that the machine_type member is still unset
during initialization, so this has no effect yet.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-s390x/cpu.h')
-rw-r--r-- | target-s390x/cpu.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target-s390x/cpu.h b/target-s390x/cpu.h index c123b6f023..2e2554c4b3 100644 --- a/target-s390x/cpu.h +++ b/target-s390x/cpu.h @@ -133,7 +133,9 @@ typedef struct CPUS390XState { /* reset does memset(0) up to here */ - int cpu_num; + uint32_t cpu_num; + uint32_t machine_type; + uint8_t *storage_keys; uint64_t tod_offset; |