Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2008 18:28:19 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 134482 for review
Message-ID:  <200801301828.m0UISJRY083234@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=134482

Change 134482 by gonzo@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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801301828.m0UISJRY083234>