]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
xen: add definitions for console_io
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Thu, 15 Oct 2020 04:25:15 +0000 (13:25 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2020 15:26:14 +0000 (11:26 -0400)
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>
include/xen/interface/xen.h

index eec8ab75b9cef0453f717ce61ca2c8211b200ec3..a7c8ed781b342134ff9b19f545e5ad61e843bc3e 100644 (file)
 #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;