Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/include Add EFER_TCE. This would be an interest...



details:   https://anonhg.NetBSD.org/src/rev/405bae2f5733
branches:  trunk
changeset: 824677:405bae2f5733
user:      maxv <maxv%NetBSD.org@localhost>
date:      Wed Jun 14 08:45:42 2017 +0000

description:
Add EFER_TCE. This would be an interesting feature to have, since it
reduces the indirect cost of invlpg; but I'm not convinced the way we
flush upper-levels is correct for this yet.

diffstat:

 sys/arch/x86/include/specialreg.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r c687b4ac8aa8 -r 405bae2f5733 sys/arch/x86/include/specialreg.h
--- a/sys/arch/x86/include/specialreg.h Wed Jun 14 08:12:22 2017 +0000
+++ b/sys/arch/x86/include/specialreg.h Wed Jun 14 08:45:42 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: specialreg.h,v 1.98 2017/05/15 04:02:52 msaitoh Exp $  */
+/*     $NetBSD: specialreg.h,v 1.99 2017/06/14 08:45:42 maxv Exp $     */
 
 /*-
  * Copyright (c) 1991 The Regents of the University of California.
@@ -732,6 +732,7 @@
 #define        EFER_SVME       0x00001000      /* Secure Virtual Machine En. */
 #define        EFER_LMSLE      0x00002000      /* Long Mode Segment Limit E. */
 #define        EFER_FFXSR      0x00004000      /* Fast FXSAVE/FXRSTOR En. */
+#define        EFER_TCE        0x00008000      /* Translation Cache Ext. */
 
 #define MSR_STAR       0xc0000081              /* 32 bit syscall gate addr */
 #define MSR_LSTAR      0xc0000082              /* 64 bit syscall gate addr */



Home | Main Index | Thread Index | Old Index