pintos/src/devices/speaker.h File Reference

Go to the source code of this file.

Functions

void speaker_on (int frequency)
void speaker_off (void)
void speaker_beep (void)


Function Documentation

void speaker_beep ( void   ) 

Definition at line 49 of file speaker.c.

References intr_get_level(), INTR_ON, speaker_off(), speaker_on(), and timer_msleep().

Referenced by vga_putc().

void speaker_off ( void   ) 

Definition at line 40 of file speaker.c.

References inb(), intr_disable(), intr_set_level(), outb(), SPEAKER_GATE_ENABLE, and SPEAKER_PORT_GATE.

Referenced by speaker_beep(), and speaker_on().

void speaker_on ( int  frequency  ) 


Generated on Mon Jan 10 16:43:58 2011 for Pintos by  doxygen 1.5.6