ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

beep.c
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:       See COPYING in the top level directory
00003  * PROJECT:         ReactOS kernel
00004  * FILE:            ntoskrnl/hal/x86/beep.c
00005  * PURPOSE:         Speaker function (it's only one)
00006  * PROGRAMMER:      Eric Kohl
00007  * UPDATE HISTORY:
00008  *                  Created 31/01/99
00009  */
00010 
00011 /* INCLUDES *****************************************************************/
00012 
00013 #include <hal.h>
00014 #define NDEBUG
00015 #include <debug.h>
00016 
00017 
00018 /* CONSTANTS *****************************************************************/
00019 
00020 #define TIMER2     0x42
00021 #define TIMER3     0x43
00022 #define PORT_B     0x61
00023 #define CLOCKFREQ  1193167
00024 
00025 
00026 /* FUNCTIONS *****************************************************************/
00027 /*
00028  * FUNCTION: Beeps the speaker.
00029  * ARGUMENTS:
00030  *       Frequency = If 0, the speaker will be switched off, otherwise
00031  *                   the speaker beeps with the specified frequency.
00032  */
00033 
00034 BOOLEAN
00035 NTAPI
00036 HalMakeBeep (
00037     ULONG   Frequency
00038     )
00039 {
00040     return TRUE;
00041 }
00042 

Generated on Sat May 26 2012 04:17:00 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.