Include <machine/cdefs.h> to select 32/64bit APIs.
This commit is contained in:
parent
dae19d20ed
commit
836b7ec262
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: asm.h,v 1.29 2000/12/14 21:29:51 jeffs Exp $ */
|
/* $NetBSD: asm.h,v 1.30 2002/03/05 14:17:16 simonb Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1992, 1993
|
* Copyright (c) 1992, 1993
|
||||||
|
@ -58,6 +58,7 @@
|
||||||
#ifndef _MIPS_ASM_H
|
#ifndef _MIPS_ASM_H
|
||||||
#define _MIPS_ASM_H
|
#define _MIPS_ASM_H
|
||||||
|
|
||||||
|
#include <machine/cdefs.h> /* for API selection */
|
||||||
#include <mips/regdef.h>
|
#include <mips/regdef.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: regdef.h,v 1.7 1999/03/30 14:22:58 soda Exp $ */
|
/* $NetBSD: regdef.h,v 1.8 2002/03/05 14:17:16 simonb Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1992, 1993
|
* Copyright (c) 1992, 1993
|
||||||
|
@ -42,6 +42,8 @@
|
||||||
#ifndef _MIPS_REGDEF_H
|
#ifndef _MIPS_REGDEF_H
|
||||||
#define _MIPS_REGDEF_H
|
#define _MIPS_REGDEF_H
|
||||||
|
|
||||||
|
#include <machine/cdefs.h> /* for API selection */
|
||||||
|
|
||||||
#define zero $0 /* always zero */
|
#define zero $0 /* always zero */
|
||||||
#define AT $at /* assembler temporary */
|
#define AT $at /* assembler temporary */
|
||||||
#define v0 $2 /* return value */
|
#define v0 $2 /* return value */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: setjmp.h,v 1.6 1999/04/24 08:10:36 simonb Exp $ */
|
/* $NetBSD: setjmp.h,v 1.7 2002/03/05 14:17:16 simonb Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* mips/setjmp.h: machine dependent setjmp-related information.
|
* mips/setjmp.h: machine dependent setjmp-related information.
|
||||||
|
@ -7,6 +7,8 @@
|
||||||
* struct sigcontext to restore it.
|
* struct sigcontext to restore it.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <machine/cdefs.h> /* for API selection */
|
||||||
|
|
||||||
#if !defined(_MIPS_BSD_API) || _MIPS_BSD_API == _MIPS_BSD_API_LP32
|
#if !defined(_MIPS_BSD_API) || _MIPS_BSD_API == _MIPS_BSD_API_LP32
|
||||||
#define _JBLEN 87 /* XXX Naively 84; 87 for compatibility */
|
#define _JBLEN 87 /* XXX Naively 84; 87 for compatibility */
|
||||||
#else
|
#else
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: signal.h,v 1.14 1999/04/24 08:10:37 simonb Exp $ */
|
/* $NetBSD: signal.h,v 1.15 2002/03/05 14:17:16 simonb Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1992, 1993
|
* Copyright (c) 1992, 1993
|
||||||
|
@ -41,6 +41,8 @@
|
||||||
#ifndef _MIPS_SIGNAL_H_
|
#ifndef _MIPS_SIGNAL_H_
|
||||||
#define _MIPS_SIGNAL_H_
|
#define _MIPS_SIGNAL_H_
|
||||||
|
|
||||||
|
#include <machine/cdefs.h> /* for API selection */
|
||||||
|
|
||||||
#if !defined(__ASSEMBLER__)
|
#if !defined(__ASSEMBLER__)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue