Define CKLF_PC in terms of TRAPF_PC.

This commit is contained in:
jake 2002-01-08 04:36:53 +00:00
parent 3e20261f8a
commit 777d499906

View File

@ -45,7 +45,7 @@
#include <machine/tstate.h>
#define CLKF_USERMODE(cfp) TRAPF_USERMODE(&(cfp)->cf_tf)
#define CLKF_PC(cfp) ((cfp)->cf_tf.tf_tpc)
#define CLKF_PC(cfp) TRAPF_PC(&(cfp)->cf_tf)
#define TRAPF_PC(tfp) ((tfp)->tf_tpc)
#define TRAPF_USERMODE(tfp) (((tfp)->tf_tstate & TSTATE_PRIV) == 0)