aboutsummaryrefslogtreecommitdiff
path: root/sys/sun4v/include/hv_api.h
diff options
context:
space:
mode:
authorKip Macy <kmacy@FreeBSD.org>2006-11-24 18:50:56 +0000
committerKip Macy <kmacy@FreeBSD.org>2006-11-24 18:50:56 +0000
commit234e688e0c538a5559a0416b96c4e774408c4569 (patch)
tree6f3830584142dd07dd45aac89f679d5326bfe14b /sys/sun4v/include/hv_api.h
parenta137217d3fae429bcc8242846cb31f424a32094d (diff)
downloadsrc-234e688e0c538a5559a0416b96c4e774408c4569.tar.gz
src-234e688e0c538a5559a0416b96c4e774408c4569.zip
Implement mmu functions and cpu_mondo_send
fix some more kernel compile fallout
Notes
Notes: svn path=/head/; revision=164592
Diffstat (limited to 'sys/sun4v/include/hv_api.h')
-rw-r--r--sys/sun4v/include/hv_api.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/sun4v/include/hv_api.h b/sys/sun4v/include/hv_api.h
index 846225df01d8..7341411e406d 100644
--- a/sys/sun4v/include/hv_api.h
+++ b/sys/sun4v/include/hv_api.h
@@ -59,6 +59,10 @@ extern uint64_t hv_mach_watchdog(uint64_t timeout, uint64_t *time_remaining);
* Section 11 CPU Services
*/
+extern uint64_t hv_cpu_yield(void);
+extern uint64_t hv_cpu_state(uint64_t cpuid, uint64_t *state);
+extern uint64_t hv_cpu_mondo_send(int ncpu, vm_paddr_t cpulist_ra);
+
/*
* Section 12 MMU Services
*/
@@ -78,11 +82,14 @@ typedef struct hv_tsb_info {
extern uint64_t hv_mmu_tsb_ctx0(uint64_t, uint64_t);
extern uint64_t hv_mmu_tsb_ctxnon0(uint64_t, uint64_t);
+extern uint64_t hv_mmu_map_perm_addr(vm_offset_t va, uint64_t, tte_t tte, uint64_t flags);
/*
* Section 13 Cache and Memory Services
*/
+extern uint64_t hv_mem_scrub(vm_paddr_t ra, uint64_t length, uint64_t *scrubbed);
+
/*
* Section 14 Device Interrupt Services
*/