diff options
author | kmacy <kmacy@FreeBSD.org> | 2006-11-24 18:50:56 +0000 |
---|---|---|
committer | kmacy <kmacy@FreeBSD.org> | 2006-11-24 18:50:56 +0000 |
commit | 491108697b47fc63a58ef1bb1f4d062f5aa63a76 (patch) | |
tree | 6f3830584142dd07dd45aac89f679d5326bfe14b /sys/sun4v/include/hv_api.h | |
parent | c41b4d1505355d865c63ceb76c8a5d9578a98894 (diff) | |
download | FreeBSD-src-491108697b47fc63a58ef1bb1f4d062f5aa63a76.zip FreeBSD-src-491108697b47fc63a58ef1bb1f4d062f5aa63a76.tar.gz |
Implement mmu functions and cpu_mondo_send
fix some more kernel compile fallout
Diffstat (limited to 'sys/sun4v/include/hv_api.h')
-rw-r--r-- | sys/sun4v/include/hv_api.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/sun4v/include/hv_api.h b/sys/sun4v/include/hv_api.h index 846225d..7341411 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 */ |