aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2012-02-25 04:29:56 +0100
committerAndreas Färber <afaerber@suse.de>2012-03-14 22:20:24 +0100
commitb98e9ca8bb38c4a80af458dd16c906f36ce50112 (patch)
treec4bcce9dc115d5697159ececdaeab342c29b2d51
parentc91dcf0b8157e40f1d51d9ad34c2724798137ec1 (diff)
bsd-user: Don't overuse CPUState
Use CPU*State where applicable. Signed-off-by: Andreas Färber <afaerber@suse.de>
-rw-r--r--bsd-user/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsd-user/main.c b/bsd-user/main.c
index c3af395034..78533d52ac 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -63,7 +63,7 @@ void gemu_log(const char *fmt, ...)
}
#if defined(TARGET_I386)
-int cpu_get_pic_interrupt(CPUState *env)
+int cpu_get_pic_interrupt(CPUX86State *env)
{
return -1;
}
@@ -109,7 +109,7 @@ void cpu_list_unlock(void)
/***********************************************************/
/* CPUX86 core interface */
-void cpu_smm_update(CPUState *env)
+void cpu_smm_update(CPUX86State *env)
{
}