aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1994-09-01 03:16:40 +0000
committerDavid Greenman <dg@FreeBSD.org>1994-09-01 03:16:40 +0000
commit431be400a733c39adf0a1751788babf7eacdee69 (patch)
treebb12878559d8fb1e12973aa2daee11a9aa471d59 /sys/amd64/include
parenteb0c95a462ae2d5cad4de9bb79585c5681e82531 (diff)
Notes
Diffstat (limited to 'sys/amd64/include')
-rw-r--r--sys/amd64/include/vmparam.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/sys/amd64/include/vmparam.h b/sys/amd64/include/vmparam.h
index 05218ad6f781..0fb5f97f2182 100644
--- a/sys/amd64/include/vmparam.h
+++ b/sys/amd64/include/vmparam.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)vmparam.h 5.9 (Berkeley) 5/12/91
- * $Id: vmparam.h,v 1.11 1994/01/14 16:24:00 davidg Exp $
+ * $Id: vmparam.h,v 1.13 1994/05/25 08:57:22 rgrimes Exp $
*/
@@ -235,29 +235,4 @@
#define I386_CR3PAT 0x0
#endif
-#ifdef notyet
-#define _cr3() ({u_long rtn; \
- asm (" movl %%cr3,%%eax; movl %%eax,%0 " \
- : "=g" (rtn) \
- : \
- : "ax"); \
- rtn; \
-})
-
-#define load_cr3(s) ({ u_long val; \
- val = (s) | I386_CR3PAT; \
- asm ("movl %0,%%eax; movl %%eax,%%cr3" \
- : \
- : "g" (val) \
- : "ax"); \
-})
-
-#define tlbflush() ({ u_long val; \
- val = u.u_pcb.pcb_ptd | I386_CR3PAT; \
- asm ("movl %0,%%eax; movl %%eax,%%cr3" \
- : \
- : "g" (val) \
- : "ax"); \
-})
-#endif
#endif /* _MACHINE_VMPARAM_H_ */