Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm32 Add CPU_VFP_ID and PCB_VFP_FPEXC



details:   https://anonhg.NetBSD.org/src/rev/782c9f478d87
branches:  trunk
changeset: 783372:782c9f478d87
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Dec 17 17:10:48 2012 +0000

description:
Add CPU_VFP_ID and PCB_VFP_FPEXC

diffstat:

 sys/arch/arm/arm32/genassym.cf |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 27d8d85c42c6 -r 782c9f478d87 sys/arch/arm/arm32/genassym.cf
--- a/sys/arch/arm/arm32/genassym.cf    Mon Dec 17 16:26:38 2012 +0000
+++ b/sys/arch/arm/arm32/genassym.cf    Mon Dec 17 17:10:48 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.59 2012/12/10 06:50:28 matt Exp $
+#      $NetBSD: genassym.cf,v 1.60 2012/12/17 17:10:48 matt Exp $
 
 # Copyright (c) 1982, 1990 The Regents of the University of California.
 # All rights reserved.
@@ -140,6 +140,7 @@
 define PCB_PC                  offsetof(struct pcb, pcb_un.un_32.pcb32_pc)
 define PCB_USER_PID_RW         offsetof(struct pcb, pcb_un.un_32.pcb32_user_pid_rw)
 define PCB_ONFAULT             offsetof(struct pcb, pcb_onfault)
+define PCB_VFP_FPEXC           offsetof(struct pcb, pcb_vfp.vfp_fpexc)
 
 define PCB_SIZE                sizeof(struct pcb)
 
@@ -192,6 +193,9 @@
 define CI_CC_NTRAP             offsetof(struct cpu_info, ci_data.cpu_ntrap)
 define CI_CC_NINTR             offsetof(struct cpu_info, ci_data.cpu_nintr)
 define CI_CC_NSOFT             offsetof(struct cpu_info, ci_data.cpu_nsoft)
+ifdef FPU_VFP
+define CI_VFP_ID               offsetof(struct cpu_info, ci_vfp_id)
+endif
 
 define VFP_FPEXC_EN            VFP_FPEXC_EN
 



Home | Main Index | Thread Index | Old Index