PERFORCE change 134482 for review
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Wed Jan 30 10:28:20 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=134482
Change 134482 by gonzo at gonzo_jeeves on 2008/01/30 18:27:43
o Register definitions are vital for userland assembler pieces as
well, so check for __ASSEMBLY__ here, not _LOCORE
Approved by: imp@
Affected files ...
.. //depot/projects/mips2-jnpr/src/sys/mips/include/regdef.h#4 edit
Differences ...
==== //depot/projects/mips2-jnpr/src/sys/mips/include/regdef.h#4 (text+ko) ====
@@ -12,7 +12,7 @@
#ifndef _MACHINE_REGDEF_H_
#define _MACHINE_REGDEF_H_
-#if defined(_LOCORE)
+#if defined(__ASSEMBLER__)
/* General purpose CPU register names */
#define zero $0 /* wired zero */
#define AT $at /* assembler temp */
@@ -48,6 +48,6 @@
#define s8 $30 /* callee saved */
#define ra $31 /* return address */
-#endif /* _LOCORE */
+#endif /* __ASSEMBLER__ */
#endif /* !_MACHINE_REGDEF_H_ */
More information about the p4-projects
mailing list