aboutsummaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-24 21:58:30 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-04-24 21:58:30 +0000
commitfd06c37550b43980e8d641bb109c219cbe001d13 (patch)
tree785a969324a3bcd45cce511775a15891e3cc673d /vl.h
parent52328140e2892c0f7033f6857f1a96da1680bf79 (diff)
PC speaker emulation (Joachim Henke)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1851 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vl.h b/vl.h
index 72381ec8f6..964ca8a8fe 100644
--- a/vl.h
+++ b/vl.h
@@ -819,8 +819,14 @@ typedef struct PITState PITState;
PITState *pit_init(int base, int irq);
void pit_set_gate(PITState *pit, int channel, int val);
int pit_get_gate(PITState *pit, int channel);
+int pit_get_initial_count(PITState *pit, int channel);
+int pit_get_mode(PITState *pit, int channel);
int pit_get_out(PITState *pit, int channel, int64_t current_time);
+/* pcspk.c */
+void pcspk_init(PITState *);
+int pcspk_audio_init(AudioState *);
+
/* pc.c */
extern QEMUMachine pc_machine;
extern QEMUMachine isapc_machine;