summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-12-14 12:31:44 +0000
committerkato <kato@FreeBSD.org>1997-12-14 12:31:44 +0000
commit9f9d75499785ebace452cb7cd50b40191d4f75a2 (patch)
tree02b04739f5a66c49ae29d02c932fedb94f15171e /sys
parentc4f28f1efa130ce705aa2261fe0951b28a286d5f (diff)
downloadFreeBSD-src-9f9d75499785ebace452cb7cd50b40191d4f75a2.zip
FreeBSD-src-9f9d75499785ebace452cb7cd50b40191d4f75a2.tar.gz
Sync with sys/i386/i386/machdep.c revision 1.279.
Diffstat (limited to 'sys')
-rw-r--r--sys/pc98/i386/machdep.c10
-rw-r--r--sys/pc98/pc98/machdep.c10
2 files changed, 18 insertions, 2 deletions
diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c
index a6e9cc8..b062524 100644
--- a/sys/pc98/i386/machdep.c
+++ b/sys/pc98/i386/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.63 1997/12/03 09:46:33 kato Exp $
+ * $Id: machdep.c,v 1.64 1997/12/05 11:48:51 kato Exp $
*/
#include "apm.h"
@@ -159,6 +159,14 @@ int msgbufmapped = 0; /* set when safe to use msgbuf */
int _udatasel, _ucodesel;
u_int atdevbase;
+#if defined(SWTCH_OPTIM_STATS)
+extern int swtch_optim_stats;
+SYSCTL_INT(_debug, OID_AUTO, swtch_optim_stats,
+ CTLFLAG_RD, &swtch_optim_stats, 0, "");
+SYSCTL_INT(_debug, OID_AUTO, tlb_flush_count,
+ CTLFLAG_RD, &tlb_flush_count, 0, "");
+#endif
+
int physmem = 0;
int cold = 1;
diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c
index a6e9cc8..b062524 100644
--- a/sys/pc98/pc98/machdep.c
+++ b/sys/pc98/pc98/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.63 1997/12/03 09:46:33 kato Exp $
+ * $Id: machdep.c,v 1.64 1997/12/05 11:48:51 kato Exp $
*/
#include "apm.h"
@@ -159,6 +159,14 @@ int msgbufmapped = 0; /* set when safe to use msgbuf */
int _udatasel, _ucodesel;
u_int atdevbase;
+#if defined(SWTCH_OPTIM_STATS)
+extern int swtch_optim_stats;
+SYSCTL_INT(_debug, OID_AUTO, swtch_optim_stats,
+ CTLFLAG_RD, &swtch_optim_stats, 0, "");
+SYSCTL_INT(_debug, OID_AUTO, tlb_flush_count,
+ CTLFLAG_RD, &tlb_flush_count, 0, "");
+#endif
+
int physmem = 0;
int cold = 1;
OpenPOWER on IntegriCloud