ReactOS  0.4.15-dev-1197-g8081ba9
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 
17 VOID
18 NTAPI
20 {
21  /* FIXME */
22  NOTHING;
23 }
24 
25 /* PUBLIC FUNCTIONS **********************************************************/
26 
27 #ifndef _MINIHAL_
28 VOID
29 NTAPI
31  _In_ ULONG MicroSeconds)
32 {
33  while (MicroSeconds--)
34  {
35  /* FIXME: Use stall factor */
37  }
38 }
39 #endif
unsigned char * PUCHAR
Definition: retypes.h:3
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
#define WRITE_PORT_UCHAR(p, d)
Definition: pc98vid.h:20
#define NOTHING
Definition: env_spec_w32.h:461
#define _In_
Definition: no_sal2.h:204
#define CPU_IO_o_ARTIC_DELAY
Definition: cpu.h:22
VOID NTAPI KeStallExecutionProcessor(_In_ ULONG MicroSeconds)
Definition: delay.c:30
VOID NTAPI HalpCalibrateStallExecution(VOID)
Definition: delay.c:19
unsigned int ULONG
Definition: retypes.h:1