Something went wrong. Try again.
Reactos
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354/* * PROJECT: ReactOS Hardware Abstraction Layer * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later) * PURPOSE: HAL Processor Routines * COPYRIGHT: Copyright 2006 Alex Ionescu <alex.ionescu@reactos.org> */
/* INCLUDES ******************************************************************/
#include <hal.h>#define NDEBUG#include <debug.h>
KAFFINITY HalpActiveProcessors;KAFFINITY HalpDefaultInterruptAffinity;
/* PRIVATE FUNCTIONS *********************************************************/
VOIDNTAPIHaliHaltSystem(VOID){ /* Disable interrupts and halt the CPU */ _disable(); __halt();}
/* FUNCTIONS *****************************************************************/
/* * @implemented */BOOLEANNTAPIHalAllProcessorsStarted(VOID){ /* Do nothing */ return TRUE;}
/* * @implemented */VOIDNTAPIHalProcessorIdle(VOID){ /* Enable interrupts and halt the processor */ _enable(); __halt();}
/* EOF */