ReactOS
0.4.16-dev-570-g1868985
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
Functions
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
Variables
_
c
d
e
f
g
h
i
l
m
n
o
p
s
t
u
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
_
a
b
c
d
f
i
l
m
o
p
s
t
w
x
Enumerator
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Related Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
x
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
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
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
HalpCalibrateStallExecution
VOID NTAPI HalpCalibrateStallExecution(VOID)
Definition:
delay.c:19
NOTHING
#define NOTHING
Definition:
input_list.c:10
void
Definition:
nsiface.idl:2307
KeStallExecutionProcessor
#define KeStallExecutionProcessor(MicroSeconds)
Definition:
precomp.h:27
_In_
#define _In_
Definition:
no_sal2.h:158
WRITE_PORT_UCHAR
#define WRITE_PORT_UCHAR(p, d)
Definition:
pc98vid.h:21
CPU_IO_o_ARTIC_DELAY
#define CPU_IO_o_ARTIC_DELAY
Definition:
cpu.h:22
NTAPI
#define NTAPI
Definition:
typedefs.h:36
PUCHAR
unsigned char * PUCHAR
Definition:
typedefs.h:53
ULONG
uint32_t ULONG
Definition:
typedefs.h:59
hal
halx86
pc98
delay.c
Generated on Wed Jan 22 2025 06:06:21 for ReactOS by
1.9.6