Print this page
8956 Implement KPTI
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
@@ -21,11 +21,11 @@
/*
* Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2014 Nexenta Systems, Inc. All rights reserved.
* Copyright (c) 2014 by Delphix. All rights reserved.
- * Copyright 2016 Joyent, Inc.
+ * Copyright 2018 Joyent, Inc.
*/
/*
* Copyright (c) 1990, 1991 UNIX System Laboratories, Inc.
* Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T
@@ -434,31 +434,20 @@
#if defined(__lint)
/* ARGSUSED */
void
-mmu_tlbflush_entry(caddr_t m)
+mmu_invlpg(caddr_t m)
{}
#else /* __lint */
-#if defined(__amd64)
-
- ENTRY(mmu_tlbflush_entry)
+ ENTRY(mmu_invlpg)
invlpg (%rdi)
ret
- SET_SIZE(mmu_tlbflush_entry)
+ SET_SIZE(mmu_invlpg)
-#elif defined(__i386)
-
- ENTRY(mmu_tlbflush_entry)
- movl 4(%esp), %eax
- invlpg (%eax)
- ret
- SET_SIZE(mmu_tlbflush_entry)
-
-#endif /* __i386 */
#endif /* __lint */
/*
* Get/Set the value of various control registers