ReactOS 0.4.15-dev-5666-gc548b97
delay.c
Go to the documentation of this file.
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
17VOID
20{
21 /* FIXME */
22 NOTHING;
23}
24
25/* PUBLIC FUNCTIONS **********************************************************/
26
27#ifndef _MINIHAL_
28VOID
31 _In_ ULONG MicroSeconds)
32{
33 while (MicroSeconds--)
34 {
35 /* FIXME: Use stall factor */
37 }
38}
39#endif
VOID NTAPI KeStallExecutionProcessor(_In_ ULONG MicroSeconds)
Definition: delay.c:30
VOID NTAPI HalpCalibrateStallExecution(VOID)
Definition: delay.c:19
#define NOTHING
Definition: input_list.c:10
unsigned char * PUCHAR
Definition: retypes.h:3
unsigned int ULONG
Definition: retypes.h:1
#define _In_
Definition: ms_sal.h:308
#define WRITE_PORT_UCHAR(p, d)
Definition: pc98vid.h:21
#define CPU_IO_o_ARTIC_DELAY
Definition: cpu.h:22
#define NTAPI
Definition: typedefs.h:36