Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Marco Trevisan
xserver
Commits
dcdd47eb
Commit
dcdd47eb
authored
Feb 23, 2004
by
Kaleb Keithley Keithley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial revision
parent
a27ffd26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
0 deletions
+57
-0
hw/xfree86/os-support/misc/PortIO.S
hw/xfree86/os-support/misc/PortIO.S
+57
-0
No files found.
hw/xfree86/os-support/misc/PortIO.S
0 → 100644
View file @
dcdd47eb
/*
$XFree86
:
xc
/
programs
/
Xserver
/
hw
/
xfree86
/
os
-
support
/
misc
/
PortIO
.
S
,
v
1
.1
2004
/
02
/
02
03
:
55
:
32
dawes
Exp
$
*/
/*
Port
I
/
O
functions
for
platforms
with
no
inlining
.
*/
#include "assyntax.h"
FILE
("
PortIO
.
s
")
AS_BEGIN
GLOBL
GLNAME
(
outb
)
GLOBL
GLNAME
(
outw
)
GLOBL
GLNAME
(
outl
)
GLOBL
GLNAME
(
inb
)
GLOBL
GLNAME
(
inw
)
GLOBL
GLNAME
(
inl
)
SEG_TEXT
ALIGNTEXT4
GLNAME
(
outb
):
MOV_L
(
REGOFF
(
4
,
ESP
),
EDX
)
MOV_L
(
REGOFF
(
8
,
ESP
),
EAX
)
OUT_B
RET
ALIGNTEXT4
GLNAME
(
outw
):
MOV_L
(
REGOFF
(
4
,
ESP
),
EDX
)
MOV_L
(
REGOFF
(
8
,
ESP
),
EAX
)
OUT_W
RET
ALIGNTEXT4
GLNAME
(
outl
):
MOV_L
(
REGOFF
(
4
,
ESP
),
EDX
)
MOV_L
(
REGOFF
(
8
,
ESP
),
EAX
)
OUT_L
RET
ALIGNTEXT4
GLNAME
(
inb
):
MOV_L
(
REGOFF
(
4
,
ESP
),
EDX
)
IN_B
RET
ALIGNTEXT4
GLNAME
(
inw
):
MOV_L
(
REGOFF
(
4
,
ESP
),
EDX
)
IN_L
RET
ALIGNTEXT4
GLNAME
(
inl
):
MOV_L
(
REGOFF
(
4
,
ESP
),
EDX
)
IN_L
RET
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment