summaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-21 23:25:50 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-21 23:25:50 +0000
commit6a00d60127dc0e1d4efadafe1feb88f05030fe52 (patch)
treedb2e5b6984751b052a7d16b565fc1730a001c351 /vl.h
parentf0aca8227fbdb0cec65331cb59dbe768e2586e7d (diff)
downloadqemu-6a00d60127dc0e1d4efadafe1feb88f05030fe52.zip
SMP support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1640 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/vl.h b/vl.h
index d5efcd2e7d..1daae5042e 100644
--- a/vl.h
+++ b/vl.h
@@ -142,6 +142,7 @@ extern const char *keyboard_layout;
extern int kqemu_allowed;
extern int win2k_install_hack;
extern int usb_enabled;
+extern int smp_cpus;
/* XXX: make it dynamic */
#if defined (TARGET_PPC)
@@ -429,6 +430,9 @@ int register_savevm(const char *idstr,
void qemu_get_timer(QEMUFile *f, QEMUTimer *ts);
void qemu_put_timer(QEMUFile *f, QEMUTimer *ts);
+void cpu_save(QEMUFile *f, void *opaque);
+int cpu_load(QEMUFile *f, void *opaque, int version_id);
+
/* block.c */
typedef struct BlockDriverState BlockDriverState;
typedef struct BlockDriver BlockDriver;
@@ -774,6 +778,9 @@ int pit_get_out(PITState *pit, int channel, int64_t current_time);
extern QEMUMachine pc_machine;
extern QEMUMachine isapc_machine;
+void ioport_set_a20(int enable);
+int ioport_get_a20(void);
+
/* ppc.c */
extern QEMUMachine prep_machine;
extern QEMUMachine core99_machine;