Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/include - protect from multiple inclusion
details: https://anonhg.NetBSD.org/src/rev/e429da2a04d7
branches: trunk
changeset: 467873:e429da2a04d7
user: soda <soda%NetBSD.org@localhost>
date: Tue Mar 30 14:22:58 1999 +0000
description:
- protect from multiple inclusion
- incorporate changes to comments from asm.h
diffstat:
sys/arch/mips/include/regdef.h | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 16e5c6d0da1b -r e429da2a04d7 sys/arch/mips/include/regdef.h
--- a/sys/arch/mips/include/regdef.h Tue Mar 30 14:20:43 1999 +0000
+++ b/sys/arch/mips/include/regdef.h Tue Mar 30 14:22:58 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: regdef.h,v 1.6 1999/03/24 21:15:17 drochner Exp $ */
+/* $NetBSD: regdef.h,v 1.7 1999/03/30 14:22:58 soda Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -39,8 +39,11 @@
* @(#)regdef.h 8.1 (Berkeley) 6/10/93
*/
+#ifndef _MIPS_REGDEF_H
+#define _MIPS_REGDEF_H
+
#define zero $0 /* always zero */
-#define AT $at /* assembler temp */
+#define AT $at /* assembler temporary */
#define v0 $2 /* return value */
#define v1 $3
#define a0 $4 /* argument registers */
@@ -63,7 +66,7 @@
#define s5 $21
#define s6 $22
#define s7 $23
-#define t8 $24 /* two more temp registers */
+#define t8 $24 /* two more temporary registers */
#define t9 $25
#define k0 $26 /* kernel temporary */
#define k1 $27
@@ -71,3 +74,5 @@
#define sp $29 /* stack pointer */
#define s8 $30 /* one more callee saved */
#define ra $31 /* return address */
+
+#endif /* _MIPS_REGDEF_H */
Home |
Main Index |
Thread Index |
Old Index