Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/vfp print the PC of the VFP kernel fault in the...
details: https://anonhg.NetBSD.org/src/rev/bfe614fb94df
branches: trunk
changeset: 783591:bfe614fb94df
user: matt <matt%NetBSD.org@localhost>
date: Mon Dec 31 00:01:48 2012 +0000
description:
print the PC of the VFP kernel fault in the panic message.
diffstat:
sys/arch/arm/vfp/vfp_init.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r e29fff729fb9 -r bfe614fb94df sys/arch/arm/vfp/vfp_init.c
--- a/sys/arch/arm/vfp/vfp_init.c Sun Dec 30 23:52:48 2012 +0000
+++ b/sys/arch/arm/vfp/vfp_init.c Mon Dec 31 00:01:48 2012 +0000
@@ -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 @@
/* 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. */
Home |
Main Index |
Thread Index |
Old Index