[HAL]
[reactos.git] / reactos / hal / halppc / generic / beep.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: ntoskrnl/hal/x86/beep.c
5 * PURPOSE: Speaker function (it's only one)
6 * PROGRAMMER: Eric Kohl
7 * UPDATE HISTORY:
8 * Created 31/01/99
9 */
10
11 /* INCLUDES *****************************************************************/
12
13 #include <hal.h>
14 #define NDEBUG
15 #include <debug.h>
16
17
18 /* CONSTANTS *****************************************************************/
19
20 #define TIMER2 0x42
21 #define TIMER3 0x43
22 #define PORT_B 0x61
23 #define CLOCKFREQ 1193167
24
25
26 /* FUNCTIONS *****************************************************************/
27 /*
28 * FUNCTION: Beeps the speaker.
29 * ARGUMENTS:
30 * Frequency = If 0, the speaker will be switched off, otherwise
31 * the speaker beeps with the specified frequency.
32 */
33
34 BOOLEAN
35 NTAPI
36 HalMakeBeep (
37 ULONG Frequency
38 )
39 {
40 return TRUE;
41 }
42