On 09/30/2013 09:48 PM, Richard Henderson wrote:
On 09/30/2013 11:13 AM, Alexander Graf wrote:
-int cpu_num;
+union {
+uint64_t cpuid;
+struct {
+#ifdef HOST_WORDS_BIGENDIAN
+uint32_t cpu_num;
+uint32_t machine_type;
+#else
+uint32_t
On 10/01/2013 08:52 AM, Alexander Graf wrote:
On 09/30/2013 09:48 PM, Richard Henderson wrote:
On 09/30/2013 11:13 AM, Alexander Graf wrote:
-int cpu_num;
+union {
+uint64_t cpuid;
+struct {
+#ifdef HOST_WORDS_BIGENDIAN
+uint32_t cpu_num;
+
On 09/23/2013 04:04 PM, Richard Henderson wrote:
The implementation had been incomplete, as we did not store the
machine type.
Signed-off-by: Richard Hendersonr...@twiddle.net
---
target-s390x/cpu.c | 2 ++
target-s390x/cpu.h | 14 +-
target-s390x/translate.c | 2
On 09/30/2013 11:13 AM, Alexander Graf wrote:
-int cpu_num;
+union {
+uint64_t cpuid;
+struct {
+#ifdef HOST_WORDS_BIGENDIAN
+uint32_t cpu_num;
+uint32_t machine_type;
+#else
+uint32_t machine_type;
+uint32_t
The implementation had been incomplete, as we did not store the
machine type.
Signed-off-by: Richard Henderson r...@twiddle.net
---
target-s390x/cpu.c | 2 ++
target-s390x/cpu.h | 14 +-
target-s390x/translate.c | 2 +-
3 files changed, 16 insertions(+), 2 deletions(-)