Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/include Add a temporary bridge to use %foo ...



details:   https://anonhg.NetBSD.org/src/rev/ce9313f01f87
branches:  trunk
changeset: 541816:ce9313f01f87
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Jan 18 21:36:44 2003 +0000

description:
Add a temporary bridge to use %foo regnames in kernel / standalone code.

diffstat:

 sys/arch/powerpc/include/asm.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r dfdfe1b4cbed -r ce9313f01f87 sys/arch/powerpc/include/asm.h
--- a/sys/arch/powerpc/include/asm.h    Sat Jan 18 21:32:58 2003 +0000
+++ b/sys/arch/powerpc/include/asm.h    Sat Jan 18 21:36:44 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.10 2002/07/30 06:09:10 matt Exp $    */
+/*     $NetBSD: asm.h,v 1.11 2003/01/18 21:36:44 matt Exp $    */
 
 /*
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -94,6 +94,7 @@
 
 /* Condition Register Bit Fields */
 
+#if !defined(_NOREGNAMES)
 #if defined(_KERNEL) || defined(_STANDALONE)
 #define cr0     0
 #define cr1     1
@@ -178,5 +179,6 @@
 #define fr30    30
 #define fr31    31
 #endif
+#endif /* !_NOREGNAMES */
 
 #endif /* !_PPC_ASM_H_ */



Home | Main Index | Thread Index | Old Index