Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenprocessor.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/up/processor.c 00005 * PURPOSE: HAL Processor Routines 00006 * PROGRAMMERS: Alex Ionescu (alex.ionescu@reactos.org) 00007 */ 00008 00009 /* INCLUDES ******************************************************************/ 00010 00011 #include <hal.h> 00012 #define NDEBUG 00013 #include <debug.h> 00014 00015 KAFFINITY HalpActiveProcessors; 00016 KAFFINITY HalpDefaultInterruptAffinity; 00017 00018 /* PRIVATE FUNCTIONS *********************************************************/ 00019 00020 VOID 00021 NTAPI 00022 HaliHaltSystem(VOID) 00023 { 00024 /* Disable interrupts and halt the CPU */ 00025 _disable(); 00026 __halt(); 00027 } 00028 00029 /* FUNCTIONS *****************************************************************/ 00030 00031 00032 /* 00033 * @implemented 00034 */ 00035 BOOLEAN 00036 NTAPI 00037 HalAllProcessorsStarted(VOID) 00038 { 00039 /* Do nothing */ 00040 return TRUE; 00041 } 00042 00043 /* 00044 * @implemented 00045 */ 00046 BOOLEAN 00047 NTAPI 00048 HalStartNextProcessor(IN PLOADER_PARAMETER_BLOCK LoaderBlock, 00049 IN PKPROCESSOR_STATE ProcessorState) 00050 { 00051 /* Ready to start */ 00052 return FALSE; 00053 } 00054 00055 /* 00056 * @implemented 00057 */ 00058 VOID 00059 NTAPI 00060 HalProcessorIdle(VOID) 00061 { 00062 /* Enable interrupts and halt the processor */ 00063 _enable(); 00064 __halt(); 00065 } 00066 00067 /* 00068 * @implemented 00069 */ 00070 VOID 00071 NTAPI 00072 HalRequestIpi(KAFFINITY TargetProcessors) 00073 { 00074 /* Not implemented on UP */ 00075 __debugbreak(); 00076 } 00077 00078 /* EOF */ Generated on Sun May 27 2012 04:22:35 for ReactOS by
1.7.6.1
|