This commit is contained in:
rsc 2005-01-04 21:18:08 +00:00
parent 66ed321edf
commit 1a0954abb8
20 changed files with 96 additions and 49 deletions

View file

@ -1,3 +1,11 @@
#ifndef _MACH_H_
#define _MACH_H_ 1
#if defined(__cplusplus)
extern "C" {
#endif
AUTOLIB(mach)
/*
* Architecture-dependent application data.
*
@ -351,8 +359,6 @@ struct Regdesc
uint format; /* print format: 'x', 'X', 'f', 'z', 'Z' */
};
Regdesc* regdesc(char*);
enum
{
/* machine types */
@ -498,7 +504,7 @@ Fhdr* findhdr(char*);
Symbol* flookupsym(Fhdr*, char*);
Symbol* ffindsym(Fhdr*, Loc, uint);
Symbol* addsym(Fhdr*, Symbol*);
Symbol* _addsym(Fhdr*, Symbol*);
/*
* Stack frame walking.
@ -525,3 +531,7 @@ struct ps_prochandle
};
extern int machdebug;
#if defined(__cplusplus)
}
#endif
#endif