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

profil.c
Go to the documentation of this file.
00001 /*
00002  * PROJECT:         ReactOS HAL
00003  * LICENSE:         GPL - See COPYING in the top level directory
00004  * FILE:            hal/halx86/generic/profil.c
00005  * PURPOSE:         System Profiling
00006  * PROGRAMMERS:     Alex Ionescu (alex.ionescu@reactos.org)
00007  *                  Eric Kohl
00008  */
00009 
00010 /* INCLUDES ******************************************************************/
00011 
00012 #include <hal.h>
00013 #define NDEBUG
00014 #include <debug.h>
00015 
00016 /* FUNCTIONS *****************************************************************/
00017 
00018 /*
00019  * @implemented
00020  */
00021 VOID
00022 NTAPI
00023 HalStopProfileInterrupt(IN KPROFILE_SOURCE ProfileSource)
00024 {
00025     UCHAR StatusB;
00026 
00027     /* Acquire the CMOS lock */
00028     HalpAcquireCmosSpinLock();
00029 
00030     /* Read Status Register B */
00031     StatusB = HalpReadCmos(RTC_REGISTER_B);
00032 
00033     /* Disable periodic interrupts */
00034     StatusB = StatusB & ~RTC_REG_B_PI;
00035 
00036     /* Write new value into Status Register B */
00037     HalpWriteCmos(RTC_REGISTER_B, StatusB);
00038 
00039     /* Release the CMOS lock */
00040     HalpReleaseCmosSpinLock();
00041 }
00042 
00043 /*
00044  * @unimplemented
00045  */
00046 VOID
00047 NTAPI
00048 HalStartProfileInterrupt(IN KPROFILE_SOURCE ProfileSource)
00049 {
00050     UNIMPLEMENTED;
00051     return;
00052 }
00053 
00054 /*
00055  * @unimplemented
00056  */
00057 ULONG_PTR
00058 NTAPI
00059 HalSetProfileInterval(IN ULONG_PTR Interval)
00060 {
00061     UNIMPLEMENTED;
00062     return Interval;
00063 }

Generated on Sat May 26 2012 04:27:16 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.