Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm don't need arm/cpu.h, we just need the cpureg.h...
details: https://anonhg.NetBSD.org/src/rev/26fcca05b2e4
branches: trunk
changeset: 777354:26fcca05b2e4
user: christos <christos%NetBSD.org@localhost>
date: Thu Feb 16 02:35:52 2012 +0000
description:
don't need arm/cpu.h, we just need the cpureg.h...
diffstat:
sys/arch/arm/arm/cpufunc_asm.S | 4 ++--
sys/arch/arm/arm32/setstack.S | 7 +++----
2 files changed, 5 insertions(+), 6 deletions(-)
diffs (42 lines):
diff -r cc33f56bf947 -r 26fcca05b2e4 sys/arch/arm/arm/cpufunc_asm.S
--- a/sys/arch/arm/arm/cpufunc_asm.S Thu Feb 16 02:34:56 2012 +0000
+++ b/sys/arch/arm/arm/cpufunc_asm.S Thu Feb 16 02:35:52 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufunc_asm.S,v 1.14 2008/04/27 18:58:43 matt Exp $ */
+/* $NetBSD: cpufunc_asm.S,v 1.15 2012/02/16 02:35:52 christos Exp $ */
/*
* Copyright (c) 1997,1998 Mark Brinicombe.
@@ -41,8 +41,8 @@
* Created : 30/01/97
*/
+#include <arm/armreg.h>
#include <machine/asm.h>
-#include <machine/cpu.h>
.text
.align 0
diff -r cc33f56bf947 -r 26fcca05b2e4 sys/arch/arm/arm32/setstack.S
--- a/sys/arch/arm/arm32/setstack.S Thu Feb 16 02:34:56 2012 +0000
+++ b/sys/arch/arm/arm32/setstack.S Thu Feb 16 02:35:52 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: setstack.S,v 1.4 2008/04/27 18:58:44 matt Exp $ */
+/* $NetBSD: setstack.S,v 1.5 2012/02/16 02:35:52 christos Exp $ */
/*
* Copyright (c) 1994 Mark Brinicombe.
@@ -46,11 +46,10 @@
*
* Based of kate/display/setstack.s
*/
-
-#include <machine/cpu.h>
+#include <arm/armreg.h>
#include <machine/asm.h>
- RCSID("$NetBSD: setstack.S,v 1.4 2008/04/27 18:58:44 matt Exp $")
+ RCSID("$NetBSD: setstack.S,v 1.5 2012/02/16 02:35:52 christos Exp $")
/* To set the stack pointer for a particular mode we must switch
* to that mode update the banked r13 and then switch back.
Home |
Main Index |
Thread Index |
Old Index