1 /* 2 * PROJECT: NEC PC-98 series HAL 3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later) 4 * PURPOSE: Delay routines 5 * COPYRIGHT: Copyright 2020 Dmitry Borisov (di.sean@protonmail.com) 6 */ 7 8 /* INCLUDES ******************************************************************/ 9 10 #include <hal.h> 11 12 #define NDEBUG 13 #include <debug.h> 14 15 /* PRIVATE FUNCTIONS *********************************************************/ 16 17 VOID 18 NTAPI 19 HalpCalibrateStallExecution(VOID) 20 { 21 /* FIXME */ 22 NOTHING; 23 } 24 25 /* PUBLIC FUNCTIONS **********************************************************/ 26 27 #ifndef _MINIHAL_ 28 VOID 29 NTAPI 30 KeStallExecutionProcessor( 31 _In_ ULONG MicroSeconds) 32 { 33 while (MicroSeconds--) 34 { 35 /* FIXME: Use stall factor */ 36 WRITE_PORT_UCHAR((PUCHAR)CPU_IO_o_ARTIC_DELAY, 0); 37 } 38 } 39 #endif 40