aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/amd64/support.S
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-09-22 04:45:21 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-09-22 04:45:21 +0000
commiteb1443c8dd655639caf174d20974ea5e96437f34 (patch)
tree336b9c28a5372b15800f7164f37383e1df6435de /sys/amd64/amd64/support.S
parente94ce82689d34ed91f3182b1954d3075d174bd71 (diff)
downloadsrc-eb1443c8dd655639caf174d20974ea5e96437f34.tar.gz
src-eb1443c8dd655639caf174d20974ea5e96437f34.zip
Create inlines for ltr(sel), lldt(sel), lidt(addr) rather than
functions that have one instruction.
Notes
Notes: svn path=/head/; revision=103778
Diffstat (limited to 'sys/amd64/amd64/support.S')
-rw-r--r--sys/amd64/amd64/support.S22
1 files changed, 0 insertions, 22 deletions
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S
index 6e3286ed8fee..5e5731598043 100644
--- a/sys/amd64/amd64/support.S
+++ b/sys/amd64/amd64/support.S
@@ -1553,28 +1553,6 @@ ENTRY(lgdt)
movl $KCSEL,4(%esp)
lret
-/*
- * void lidt(struct region_descriptor *rdp);
- */
-ENTRY(lidt)
- movl 4(%esp),%eax
- lidt (%eax)
- ret
-
-/*
- * void lldt(u_short sel)
- */
-ENTRY(lldt)
- lldt 4(%esp)
- ret
-
-/*
- * void ltr(u_short sel)
- */
-ENTRY(ltr)
- ltr 4(%esp)
- ret
-
/* ssdtosd(*ssdp,*sdp) */
ENTRY(ssdtosd)
pushl %ebx