take care of GTO
This commit is contained in:
parent
102a2b1061
commit
31b2f7d9e0
1 changed files with 3 additions and 0 deletions
|
@ -157,9 +157,12 @@ union pext_t {
|
||||||
#define PF_ENVIRON 010 /* proc does a lxa or lxl */
|
#define PF_ENVIRON 010 /* proc does a lxa or lxl */
|
||||||
#define PF_LPI 020 /* proc may be called indirect */
|
#define PF_LPI 020 /* proc may be called indirect */
|
||||||
#define PF_CALINLOOP 040 /* proc ever called in a loop? (transitively) */
|
#define PF_CALINLOOP 040 /* proc ever called in a loop? (transitively) */
|
||||||
|
#define PF_GTO 0100 /* proc may be entered via GTO instruction */
|
||||||
|
|
||||||
#define CALLED_IN_LOOP(p) p->p_flags1 |= PF_CALINLOOP
|
#define CALLED_IN_LOOP(p) p->p_flags1 |= PF_CALINLOOP
|
||||||
#define IS_CALLED_IN_LOOP(p) (p->p_flags1 & PF_CALINLOOP)
|
#define IS_CALLED_IN_LOOP(p) (p->p_flags1 & PF_CALINLOOP)
|
||||||
|
#define IS_ENTERED_WITH_GTO(p) (p->p_flags1 & PF_GTO)
|
||||||
|
#define ENTERED_WITH_GTO(p) p->p_flags1 |= PF_GTO
|
||||||
|
|
||||||
|
|
||||||
/* LOOPS */
|
/* LOOPS */
|
||||||
|
|
Loading…
Add table
Reference in a new issue