summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-01-23 23:56:28 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-01-23 23:56:28 +0000
commit26171518271d140151587fd7057a301c03c19f06 (patch)
tree9a0e2d8be85078216c71f7195bbe26fc97636fe7
parentd0eaa7d96421abdf7608f517b730b412b25b2d88 (diff)
Add defines for resumable and nonresumable error queues.
-rw-r--r--sys/arch/sparc64/include/hypervisor.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/sparc64/include/hypervisor.h b/sys/arch/sparc64/include/hypervisor.h
index f811c728b84..f01d1f9b734 100644
--- a/sys/arch/sparc64/include/hypervisor.h
+++ b/sys/arch/sparc64/include/hypervisor.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hypervisor.h,v 1.14 2011/06/26 17:23:46 kettenis Exp $ */
+/* $OpenBSD: hypervisor.h,v 1.15 2014/01/23 23:56:27 kettenis Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
@@ -40,8 +40,10 @@ int64_t hv_mach_desc(paddr_t buffer, psize_t *length);
void hv_cpu_yield(void);
int64_t hv_cpu_qconf(uint64_t queue, uint64_t base, uint64_t nentries);
-#define CPU_MONDO_QUEUE 0x3c
-#define DEVICE_MONDO_QUEUE 0x3d
+#define CPU_MONDO_QUEUE 0x3c
+#define DEVICE_MONDO_QUEUE 0x3d
+#define RESUMABLE_ERROR_QUEUE 0x3e
+#define NONRESUMABLE_ERROR_QUEUE 0x3f
int64_t hv_cpu_mondo_send(uint64_t ncpus, paddr_t cpulist, paddr_t data);
int64_t hv_cpu_myid(uint64_t *cpuid);