* configure.in (mipos-*-riscos*): New host and target; use riscos.

* config/mips/nm-riscos.h: If BSD43_NBPG is not defined by
	vmparam.h, include machparam.h.
	(KERNEL_U_ADDR): Define to be BSD43_UADDR.
This commit is contained in:
Ian Lance Taylor 1993-07-02 20:54:02 +00:00
parent c0bca41c47
commit d8a80e6ddc
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,10 @@
Fri Jul 2 13:51:04 1993 Ian Lance Taylor (ian@cygnus.com)
* configure.in (mipos-*-riscos*): New host and target; use riscos.
* config/mips/nm-riscos.h: If BSD43_NBPG is not defined by
vmparam.h, include machparam.h.
(KERNEL_U_ADDR): Define to be BSD43_UADDR.
Fri Jul 2 13:39:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
* c-exp.y (yylex): Give error if unmatched single quote.

View file

@ -17,8 +17,13 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define PCB_OFFSET(FIELD) ((int)&((struct user*)0)->u_pcb.FIELD)
#include <bsd43/machine/vmparam.h>
#ifndef BSD43_NBPG
/* RISC/os 5.0 defines this in machparam.h. */
#include <bsd43/machine/machparam.h>
#endif
#define NBPG BSD43_NBPG
#define UPAGES BSD43_UPAGES
#define KERNEL_U_ADDR BSD43_UADDR
#define REGISTER_U_ADDR(addr, blockend, regno) \
if (regno < FP0_REGNUM) \