Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenprofil.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
1.7.6.1
|