Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/include Add mask for TLB IPI rendezvous, and s...



details:   https://anonhg.NetBSD.org/src/rev/58b0b3eb5edd
branches:  trunk
changeset: 537793:58b0b3eb5edd
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Sat Oct 05 21:22:31 2002 +0000

description:
Add mask for TLB IPI rendezvous, and stackpointers + TSS structures
for TSS gates per CPU.

XXX struct cpu_info is getting to be a bit large

diffstat:

 sys/arch/i386/include/cpu.h |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r d1ad2317257e -r 58b0b3eb5edd sys/arch/i386/include/cpu.h
--- a/sys/arch/i386/include/cpu.h       Sat Oct 05 21:21:05 2002 +0000
+++ b/sys/arch/i386/include/cpu.h       Sat Oct 05 21:22:31 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.82 2002/10/01 12:57:04 fvdl Exp $    */
+/*     $NetBSD: cpu.h,v 1.83 2002/10/05 21:22:31 fvdl Exp $    */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -50,6 +50,7 @@
  */
 #include <machine/frame.h>
 #include <machine/segments.h>
+#include <machine/tss.h>
 
 #include <sys/device.h>
 #include <sys/lock.h>                  /* will also get LOCKDEBUG */
@@ -142,6 +143,14 @@
        int64_t ci_tsc_denom;
 
        union descriptor *ci_gdt;
+
+       volatile u_int32_t      ci_tlb_ipi_mask;
+
+       struct i386tss  ci_doubleflt_tss;
+       struct i386tss  ci_ddbipi_tss;
+
+       char *ci_doubleflt_stack;
+       char *ci_ddbipi_stack;
 };
 
 /*



Home | Main Index | Thread Index | Old Index