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 Use device_t
details: https://anonhg.NetBSD.org/src/rev/ac0880c4f558
branches: trunk
changeset: 781003:ac0880c4f558
user: matt <matt%NetBSD.org@localhost>
date: Tue Aug 14 20:39:49 2012 +0000
description:
Use device_t
diffstat:
sys/arch/arm/arm32/cpu.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (53 lines):
diff -r 2e0ba3c52783 -r ac0880c4f558 sys/arch/arm/arm32/cpu.c
--- a/sys/arch/arm/arm32/cpu.c Tue Aug 14 19:40:30 2012 +0000
+++ b/sys/arch/arm/arm32/cpu.c Tue Aug 14 20:39:49 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.83 2012/08/12 05:05:47 matt Exp $ */
+/* $NetBSD: cpu.c,v 1.84 2012/08/14 20:39:49 matt Exp $ */
/*
* Copyright (c) 1995 Mark Brinicombe.
@@ -46,7 +46,7 @@
#include <sys/param.h>
-__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.83 2012/08/12 05:05:47 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.84 2012/08/14 20:39:49 matt Exp $");
#include <sys/systm.h>
#include <sys/malloc.h>
@@ -67,14 +67,14 @@
char cpu_model[256];
/* Prototypes */
-void identify_arm_cpu(struct device *dv, struct cpu_info *);
+void identify_arm_cpu(device_t dv, struct cpu_info *);
/*
* Identify the master (boot) CPU
*/
void
-cpu_attach(struct device *dv)
+cpu_attach(device_t dv)
{
int usearmfpe;
@@ -157,7 +157,7 @@
initialise_arm_fpe();
#endif
- vfp_attach();
+ vfp_attach(); /* XXX SMP */
}
enum cpu_class {
@@ -491,7 +491,7 @@
};
void
-identify_arm_cpu(struct device *dv, struct cpu_info *ci)
+identify_arm_cpu(device_t dv, struct cpu_info *ci)
{
u_int cpuid;
enum cpu_class cpu_class = CPU_CLASS_NONE;
Home |
Main Index |
Thread Index |
Old Index