Add PC speaker driver and connect it to '\a' in the VGA console.
[pintos-anon] / src / devices / speaker.h
diff --git a/src/devices/speaker.h b/src/devices/speaker.h
new file mode 100644 (file)
index 0000000..98cef7b
--- /dev/null
@@ -0,0 +1,8 @@
+#ifndef DEVICES_SPEAKER_H
+#define DEVICES_SPEAKER_H
+
+void speaker_on (int frequency);
+void speaker_off (void);
+void speaker_beep (void);
+
+#endif /* devices/speaker.h */