NetBSD/sys/arch/hppa/include/mcontext.h
thorpej 901da40cf9 Add some accessor macros for the ucontext:
* _UC_MACHINE_PC() - access the program counter
* _UC_MACHINE_INTRV() - access the integer return value register
* _UC_MACHINE_SET_PC() - set the program counter (this requires
  special handling on some platforms).
2003-10-08 22:43:01 +00:00

17 lines
347 B
C

/* $NetBSD: mcontext.h,v 1.2 2003/10/08 22:43:01 thorpej Exp $ */
#ifndef _HPPA_MCONTEXT_H_
#define _HPPA_MCONTEXT_H_
typedef struct mcontext {
int placeholder;
} mcontext_t;
#define _UC_MACHINE_SP(uc) 0
#define _UC_MACHINE_PC(uc) 0
#define _UC_MACHINE_INTRV(uc) 0
#define _UC_MACHINE_SET_PC(uc, pc) /* XXX */
#endif /* _HPPA_MCONTEXT_H_ */