summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include/hypervisor.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc64/include/hypervisor.h')
-rw-r--r--sys/arch/sparc64/include/hypervisor.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/sparc64/include/hypervisor.h b/sys/arch/sparc64/include/hypervisor.h
index b2b6521f996..240bc31c015 100644
--- a/sys/arch/sparc64/include/hypervisor.h
+++ b/sys/arch/sparc64/include/hypervisor.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hypervisor.h,v 1.11 2009/05/10 12:18:18 kettenis Exp $ */
+/* $OpenBSD: hypervisor.h,v 1.12 2009/12/31 11:50:33 kettenis Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
@@ -199,11 +199,15 @@ int64_t hv_ldc_set_map_table(uint64_t ldc_id, paddr_t base_raddr,
int64_t hv_ldc_get_map_table(uint64_t ldc_id, paddr_t *base_raddr,
uint64_t *nentries);
int64_t hv_ldc_copy(uint64_t ldc_id, uint64_t flags, uint64_t cookie,
- paddr_t raddr, psize_t length, paddr_t *ret_length);
+ paddr_t raddr, psize_t length, psize_t *ret_length);
#define LDC_COPY_IN 0
#define LDC_COPY_OUT 1
+int64_t hv_ldc_mapin(uint64_t ldc_id, uint64_t cookie, paddr_t *raddr,
+ uint64_t *perms);
+int64_t hv_ldc_unmap(paddr_t raddr, uint64_t *perms);
+
/*
* Cryptographic services
*/