summaryrefslogtreecommitdiffstats
path: root/sys/ia64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ia64')
-rw-r--r--sys/ia64/ia64/machdep.c7
-rw-r--r--sys/ia64/include/md_var.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c
index 20ad3a1..608943d 100644
--- a/sys/ia64/ia64/machdep.c
+++ b/sys/ia64/ia64/machdep.c
@@ -777,6 +777,13 @@ ia64_init(void)
/* NOTREACHED */
}
+uint64_t
+ia64_get_hcdp(void)
+{
+
+ return (bootinfo.bi_hcdp);
+}
+
void
bzero(void *buf, size_t len)
{
diff --git a/sys/ia64/include/md_var.h b/sys/ia64/include/md_var.h
index 04f3f5f..d1515fe 100644
--- a/sys/ia64/include/md_var.h
+++ b/sys/ia64/include/md_var.h
@@ -78,6 +78,7 @@ int do_ast(struct trapframe *);
void ia32_trap(int, struct trapframe *);
int ia64_count_cpus(void);
void ia64_flush_dirty(struct thread *, struct _special *);
+uint64_t ia64_get_hcdp(void);
int ia64_highfp_drop(struct thread *);
int ia64_highfp_save(struct thread *);
void ia64_init(void);
OpenPOWER on IntegriCloud