Made idempotent.

Reviewed by:
Submitted by:
This commit is contained in:
Paul Richards 1994-08-21 04:55:31 +00:00
parent af9da40534
commit 836dc83b6a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2166
8 changed files with 46 additions and 14 deletions

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)profile.h 8.1 (Berkeley) 6/11/93
* $Id$
* $Id: profile.h,v 1.2 1994/08/02 07:38:56 davidg Exp $
*/
#ifndef _I386_MACHINE_PROFILE_H_
#define _I386_MACHINE_PROFILE_H_
#define _MCOUNT_DECL static inline void _mcount
#define MCOUNT \
@ -55,3 +58,5 @@ extern void mcount() asm("mcount"); void mcount() { \
frompcindex = ((int *)frompcindex)[1]; \
_mcount(frompcindex, selfpc); \
}
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)reloc.h 8.1 (Berkeley) 6/10/93
* $Id: reloc.h,v 1.2 1994/08/02 07:38:59 davidg Exp $
* $Id: reloc.h,v 1.3 1994/08/09 14:39:57 jkh Exp $
*/
#ifndef _I386_MACHINE_RELOC_H_
#define _I386_MACHINE_RELOC_H_
/* Relocation format. */
struct relocation_info {
int r_address; /* offset in text or data segment */
@ -46,3 +49,5 @@ struct relocation_info {
r_relative : 1, /* load address relative */
r_copy : 1; /* run time copy */
};
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)signal.h 8.1 (Berkeley) 6/11/93
* $Id$
* $Id: signal.h,v 1.3 1994/08/02 07:39:01 davidg Exp $
*/
#ifndef _I386_MACHINE_SIGNAL_H_
#define _I386_MACHINE_SIGNAL_H_
/*
* Machine-dependent signal definitions
*/
@ -74,3 +77,5 @@ struct sigcontext {
# define sc_pc sc_eip
# define sc_ps sc_efl
};
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)profile.h 8.1 (Berkeley) 6/11/93
* $Id$
* $Id: profile.h,v 1.2 1994/08/02 07:38:56 davidg Exp $
*/
#ifndef _I386_MACHINE_PROFILE_H_
#define _I386_MACHINE_PROFILE_H_
#define _MCOUNT_DECL static inline void _mcount
#define MCOUNT \
@ -55,3 +58,5 @@ extern void mcount() asm("mcount"); void mcount() { \
frompcindex = ((int *)frompcindex)[1]; \
_mcount(frompcindex, selfpc); \
}
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)reloc.h 8.1 (Berkeley) 6/10/93
* $Id: reloc.h,v 1.2 1994/08/02 07:38:59 davidg Exp $
* $Id: reloc.h,v 1.3 1994/08/09 14:39:57 jkh Exp $
*/
#ifndef _I386_MACHINE_RELOC_H_
#define _I386_MACHINE_RELOC_H_
/* Relocation format. */
struct relocation_info {
int r_address; /* offset in text or data segment */
@ -46,3 +49,5 @@ struct relocation_info {
r_relative : 1, /* load address relative */
r_copy : 1; /* run time copy */
};
#endif

View File

@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)signal.h 8.1 (Berkeley) 6/11/93
* $Id$
* $Id: signal.h,v 1.3 1994/08/02 07:39:01 davidg Exp $
*/
#ifndef _I386_MACHINE_SIGNAL_H_
#define _I386_MACHINE_SIGNAL_H_
/*
* Machine-dependent signal definitions
*/
@ -74,3 +77,5 @@ struct sigcontext {
# define sc_pc sc_eip
# define sc_ps sc_efl
};
#endif

View File

@ -1,5 +1,3 @@
#ifndef _SOUNDCARD_H_
#define _SOUNDCARD_H_
/*
* Copyright by Hannu Savolainen 1993
*
@ -25,9 +23,12 @@
* SUCH DAMAGE.
*
*
* $Id$
* $Id: soundcard.h,v 1.6 1994/08/02 07:39:03 davidg Exp $
*/
#ifndef _I386_MACHINE_SOUNDCARD_H_
#define _I386_MACHINE_SOUNDCARD_H_
/*
* If you make modifications to this file, please contact me before
* distributing the modified version. There is already enough
@ -761,4 +762,4 @@ void seqbuf_dump(void); /* This function must be provided by programs */
#endif
long soundcard_init(long mem_start);
#endif /* _SOUNDCARD_H_ */
#endif

View File

@ -1,5 +1,3 @@
#ifndef _SOUNDCARD_H_
#define _SOUNDCARD_H_
/*
* Copyright by Hannu Savolainen 1993
*
@ -25,9 +23,12 @@
* SUCH DAMAGE.
*
*
* $Id$
* $Id: soundcard.h,v 1.6 1994/08/02 07:39:03 davidg Exp $
*/
#ifndef _I386_MACHINE_SOUNDCARD_H_
#define _I386_MACHINE_SOUNDCARD_H_
/*
* If you make modifications to this file, please contact me before
* distributing the modified version. There is already enough
@ -761,4 +762,4 @@ void seqbuf_dump(void); /* This function must be provided by programs */
#endif
long soundcard_init(long mem_start);
#endif /* _SOUNDCARD_H_ */
#endif