diff options
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/machdep.c | 7 | ||||
-rw-r--r-- | sys/ia64/include/md_var.h | 1 |
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); |