From 67b8f419575b9e4521f0fa59b7a0faee401502ca Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Tue, 29 Sep 2009 22:48:51 +0200 Subject: x86: fpus is uint16_t not unsigned int We save more that fpus on that 16 bits (fpstt), we need an additional field Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- target-i386/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'target-i386/cpu.h') diff --git a/target-i386/cpu.h b/target-i386/cpu.h index 3e0dbd4..685b828 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -593,7 +593,8 @@ typedef struct CPUX86State { /* FPU state */ unsigned int fpstt; /* top of stack index */ - unsigned int fpus; + uint16_t fpus; + uint16_t fpus_vmstate; uint16_t fpuc; uint8_t fptags[8]; /* 0 = valid, 1 = empty */ union { -- cgit v1.1