aboutsummaryrefslogtreecommitdiff
path: root/sys/ia64/include/cpu.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2005-12-22 22:16:09 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2005-12-22 22:16:09 +0000
commitb439e431bf40739ff5a1f60bbc283289d374c849 (patch)
tree5d9826b3ac47ed5cf683fc0866e2dc25566d6a56 /sys/ia64/include/cpu.h
parentf7c20859423ea678579afe42f4804f8b636de512 (diff)
Notes
Diffstat (limited to 'sys/ia64/include/cpu.h')
-rw-r--r--sys/ia64/include/cpu.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/ia64/include/cpu.h b/sys/ia64/include/cpu.h
index 424360acf825..982733d88a2c 100644
--- a/sys/ia64/include/cpu.h
+++ b/sys/ia64/include/cpu.h
@@ -44,17 +44,6 @@
#include <machine/frame.h>
-/*
- * Arguments to hardclock and gatherstats encapsulate the previous machine
- * state in an opaque clockframe.
- */
-struct clockframe {
- struct trapframe cf_tf;
-};
-#define CLKF_PC(cf) ((cf)->cf_tf.tf_special.iip)
-#define CLKF_CPL(cf) ((cf)->cf_tf.tf_special.psr & IA64_PSR_CPL)
-#define CLKF_USERMODE(cf) (CLKF_CPL(cf) != IA64_PSR_CPL_KERN)
-
#define TRAPF_PC(tf) ((tf)->tf_special.iip)
#define TRAPF_CPL(tf) ((tf)->tf_special.psr & IA64_PSR_CPL)
#define TRAPF_USERMODE(tf) (TRAPF_CPL(tf) != IA64_PSR_CPL_KERN)