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 extra arg to fpa_test as it should ha...
details: https://anonhg.NetBSD.org/src/rev/838a0e168e7d
branches: trunk
changeset: 515541:838a0e168e7d
user: chris <chris%NetBSD.org@localhost>
date: Fri Sep 28 09:53:41 2001 +0000
description:
Add extra arg to fpa_test as it should have 4 args. Also add prototypes for fpa_test and fpa_handler.
diffstat:
sys/arch/arm/arm32/cpu.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (32 lines):
diff -r 61ef68c63564 -r 838a0e168e7d sys/arch/arm/arm32/cpu.c
--- a/sys/arch/arm/arm32/cpu.c Fri Sep 28 09:29:17 2001 +0000
+++ b/sys/arch/arm/arm32/cpu.c Fri Sep 28 09:53:41 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.4 2001/09/05 16:13:18 matt Exp $ */
+/* $NetBSD: cpu.c,v 1.5 2001/09/28 09:53:41 chris Exp $ */
/*
* Copyright (c) 1995 Mark Brinicombe.
@@ -70,7 +70,8 @@
void identify_master_cpu __P((struct device *dv, int cpu_number));
void identify_arm_cpu __P((struct device *dv, int cpu_number));
void identify_arm_fpu __P((struct device *dv, int cpu_number));
-
+int fpa_test __P((u_int, u_int, trapframe_t *, int));
+int fpa_handler __P((u_int, u_int, trapframe_t *, int));
/*
* void cpusattach(struct device *parent, struct device *dev, void *aux)
@@ -93,10 +94,11 @@
*/
int
-fpa_test(address, instruction, frame)
+fpa_test(address, instruction, frame, fault_code)
u_int address;
u_int instruction;
trapframe_t *frame;
+ int fault_code;
{
frame->tf_pc += INSN_SIZE;
Home |
Main Index |
Thread Index |
Old Index