Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ia64/include Add ci_vhpt to cpu_info



details:   https://anonhg.NetBSD.org/src/rev/de902cc522f0
branches:  trunk
changeset: 822814:de902cc522f0
user:      scole <scole%NetBSD.org@localhost>
date:      Sat Apr 08 18:01:22 2017 +0000

description:
Add ci_vhpt to cpu_info

diffstat:

 sys/arch/ia64/include/cpu.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 90786f8afe89 -r de902cc522f0 sys/arch/ia64/include/cpu.h
--- a/sys/arch/ia64/include/cpu.h       Sat Apr 08 17:47:14 2017 +0000
+++ b/sys/arch/ia64/include/cpu.h       Sat Apr 08 18:01:22 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.15 2017/02/08 18:01:12 christos Exp $        */
+/*     $NetBSD: cpu.h,v 1.16 2017/04/08 18:01:22 scole Exp $   */
 
 /*-
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -102,7 +102,7 @@
        cpuid_t ci_cpuid;               /* our CPU ID */
        uint32_t ci_acpiid;             /* our ACPI/MADT ID */
        uint32_t ci_initapicid;         /* our intitial APIC ID */
-       struct pmap *ci_pmap;           /* current pmap */
+       struct pmap *ci_pmap;           /* current pmap */ /* XXX FreeBSD has *pcb_current_pmap in pcb ? */
        struct lwp *ci_fpcurlwp;        /* current owner of the FPU */
        paddr_t ci_curpcb;              /* PA of current HW PCB */
        struct pcb *ci_idle_pcb;        /* our idle PCB */
@@ -111,6 +111,7 @@
        struct trapframe *ci_db_regs;   /* registers for debuggers */
        uint64_t ci_clock;              /* clock counter */
        uint64_t ci_clockadj;           /* clock adjust */
+       uint64_t ci_vhpt;               /* address of vhpt */
 };
 
 



Home | Main Index | Thread Index | Old Index