aboutsummaryrefslogtreecommitdiff
path: root/ops/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'ops/common.h')
-rw-r--r--ops/common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ops/common.h b/ops/common.h
index 8c504d3..546b064 100644
--- a/ops/common.h
+++ b/ops/common.h
@@ -22,7 +22,11 @@ typedef void (*op_call)(reg_t *sp, reg_t a, reg_t x, reg_t y, reg_t o);
#define UNUSED(x) (void)(x);
+#define IMM() (*(unsigned long *)(&__imm))
+
#define __hidden __attribute__((visibility("hidden")))
__hidden extern void *__next_op;
+__hidden extern unsigned long __imm;
+
#endif /* OPS_COMMON_H */