Add TRAPF_* macros required by MI-ification of ast() and userret().
Submitted by: Mark Peek <mark@whistle.com>
This commit is contained in:
parent
3bfab48c8c
commit
47eaf0390a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user