summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2020-10-15 13:25:15 +0900
committerTom Rini <trini@konsulko.com>2020-10-22 11:26:14 -0400
commit16389a74c516470c8f0fd8c712e1638f80384b92 (patch)
treebf6fcd942133a1f1c5f370b5cb46dc221fba7e11 /include
parent3a51b2a2c3cedc0d2a9ce981b8e00ab8cefcb6b7 (diff)
xen: add definitions for console_io
Those definitions added are used with HYPERVISOR_console_io(). Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include')
-rw-r--r--include/xen/interface/xen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h
index eec8ab75b9..a7c8ed781b 100644
--- a/include/xen/interface/xen.h
+++ b/include/xen/interface/xen.h
@@ -76,6 +76,12 @@
#define __HYPERVISOR_arch_6 54
#define __HYPERVISOR_arch_7 55
+/*
+ * Commands to HYPERVISOR_console_io().
+ */
+#define CONSOLEIO_write 0
+#define CONSOLEIO_read 1
+
#ifndef __ASSEMBLY__
typedef u16 domid_t;