* config/mips/nm-riscos.h: Define NBPG and UPAGES.

config/mips/xm-riscos.h: Include <sys/types.h>.
This commit is contained in:
Jim Kingdon 1993-07-02 02:48:59 +00:00
parent b55cc8a268
commit e5307300ce
2 changed files with 7 additions and 0 deletions

View File

@ -16,6 +16,10 @@ 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>
#define NBPG BSD43_NBPG
#define UPAGES BSD43_UPAGES
#define REGISTER_U_ADDR(addr, blockend, regno) \
if (regno < FP0_REGNUM) \
addr = UPAGES*NBPG-EF_SIZE+4*((regno)+EF_AT-1); \

View File

@ -25,3 +25,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define MEM_FNS_DECLARED
#define USG 1
/* setjmp.h requires uid_t. */
#include <sys/types.h>