From: AKASHI Takahiro Date: Thu, 15 Oct 2020 04:25:15 +0000 (+0900) Subject: xen: add definitions for console_io X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=16389a74c516470c8f0fd8c712e1638f80384b92;p=u-boot.git xen: add definitions for console_io Those definitions added are used with HYPERVISOR_console_io(). Signed-off-by: AKASHI Takahiro Reviewed-by: Peng Fan --- 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;