Module Name: src Committed By: matt Date: Mon Dec 31 00:01:48 UTC 2012
Modified Files: src/sys/arch/arm/vfp: vfp_init.c Log Message: print the PC of the VFP kernel fault in the panic message. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/sys/arch/arm/vfp/vfp_init.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/arm/vfp/vfp_init.c diff -u src/sys/arch/arm/vfp/vfp_init.c:1.13 src/sys/arch/arm/vfp/vfp_init.c:1.14 --- src/sys/arch/arm/vfp/vfp_init.c:1.13 Wed Dec 26 18:34:56 2012 +++ src/sys/arch/arm/vfp/vfp_init.c Mon Dec 31 00:01:48 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: vfp_init.c,v 1.13 2012/12/26 18:34:56 matt Exp $ */ +/* $NetBSD: vfp_init.c,v 1.14 2012/12/31 00:01:48 matt Exp $ */ /* * Copyright (c) 2008 ARM Ltd @@ -410,7 +410,7 @@ vfp_handler(u_int address, u_int insn, t /* This shouldn't ever happen. */ if (fault_code != FAULT_USER) - panic("VFP fault in non-user mode"); + panic("VFP fault at %#x in non-user mode", frame->tf_pc); if (ci->ci_vfp_id == 0) /* No VFP detected, just fault. */