Re: [PATCH 3/4] xen: add definitions for console_io

2020-10-22 Thread Tom Rini
On Thu, Oct 15, 2020 at 01:25:15PM +0900, AKASHI Takahiro wrote:

> Those definitions added are used with HYPERVISOR_console_io().
> 
> Signed-off-by: AKASHI Takahiro 
> Reviewed-by: Peng Fan 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


RE: [PATCH 3/4] xen: add definitions for console_io

2020-10-15 Thread Peng Fan


> -Original Message-
> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of AKASHI
> Takahiro
> Sent: 2020年10月15日 12:25
> To: anastasiia_lukiane...@epam.com;
> oleksandr_andrushche...@epam.com
> Cc: u-boot@lists.denx.de; AKASHI Takahiro 
> Subject: [PATCH 3/4] xen: add definitions for console_io
> 
> Those definitions added are used with HYPERVISOR_console_io().
> 
> Signed-off-by: AKASHI Takahiro 
> ---
>  include/xen/interface/xen.h | 6 ++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h index
> eec8ab75b9ce..a7c8ed781b34 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;

Reviewed-by: Peng Fan 

> --
> 2.28.0



[PATCH 3/4] xen: add definitions for console_io

2020-10-14 Thread AKASHI Takahiro
Those definitions added are used with HYPERVISOR_console_io().

Signed-off-by: AKASHI Takahiro 
---
 include/xen/interface/xen.h | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h
index eec8ab75b9ce..a7c8ed781b34 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;
-- 
2.28.0