diff options
author | AKASHI Takahiro | 2020-10-15 13:25:15 +0900 |
---|---|---|
committer | Tom Rini | 2020-10-22 11:26:14 -0400 |
commit | 16389a74c516470c8f0fd8c712e1638f80384b92 (patch) | |
tree | bf6fcd942133a1f1c5f370b5cb46dc221fba7e11 /include/xen | |
parent | 3a51b2a2c3cedc0d2a9ce981b8e00ab8cefcb6b7 (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/xen')
-rw-r--r-- | include/xen/interface/xen.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h index eec8ab75b9c..a7c8ed781b3 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; |