Add TRAPF_* macros required by MI-ification of ast() and userret().

Submitted by:	Mark Peek <mark@whistle.com>
This commit is contained in:
benno 2001-07-01 02:38:38 +00:00
parent 3bfab48c8c
commit 47eaf0390a

View File

@ -44,6 +44,9 @@
#define CLKF_PC(frame) ((frame)->srr0)
#define CLKF_INTR(frame) ((frame)->depth > 0)
#define TRAPF_USERMODE(frame) ((frame)->srr1 & PSL_PR) != 0)
#define TRAPF_PC(frame) ((frame)->srr0)
#define cpu_swapout(p)
#define cpu_number() 0