aboutsummaryrefslogtreecommitdiff
path: root/linux-user/qemu.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-10 13:14:52 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-05-10 13:14:52 +0000
commit631271d7164f8209c044988b6a02e1153391c4f9 (patch)
tree5d75b7807ac06f643715334c76c89e5e8e3bea3e /linux-user/qemu.h
parent9d27abd94fe2c48281a77112d58422b392a80f7b (diff)
added vm86.c
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@143 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/qemu.h')
-rw-r--r--linux-user/qemu.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/linux-user/qemu.h b/linux-user/qemu.h
index 300a188563..5613c3ed92 100644
--- a/linux-user/qemu.h
+++ b/linux-user/qemu.h
@@ -54,6 +54,8 @@ typedef struct TaskState {
struct TaskState *next;
struct target_vm86plus_struct *target_v86;
struct vm86_saved_state vm86_saved_regs;
+ uint32_t v86flags;
+ uint32_t v86mask;
int used; /* non zero if used */
uint8_t stack[0];
} __attribute__((aligned(16))) TaskState;
@@ -73,9 +75,17 @@ void cpu_loop(CPUX86State *env);
void process_pending_signals(void *cpu_env);
void signal_init(void);
int queue_signal(int sig, target_siginfo_t *info);
-void save_v86_state(CPUX86State *env);
void init_paths(const char *prefix);
const char *path(const char *pathname);
extern int loglevel;
+extern FILE *logfile;
+
+/* vm86.c */
+void save_v86_state(CPUX86State *env);
+void do_int(CPUX86State *env, int intno);
+void handle_vm86_fault(CPUX86State *env);
+int do_vm86(CPUX86State *env, long subfunction,
+ struct target_vm86plus_struct * target_v86);
+
#endif