projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a51b2a
)
xen: add definitions for console_io
author
AKASHI Takahiro
<takahiro.akashi@linaro.org>
Thu, 15 Oct 2020 04:25:15 +0000
(13:25 +0900)
committer
Tom 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
patch
|
blob
|
history
diff --git
a/include/xen/interface/xen.h
b/include/xen/interface/xen.h
index eec8ab75b9cef0453f717ce61ca2c8211b200ec3..a7c8ed781b342134ff9b19f545e5ad61e843bc3e 100644
(file)
--- 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;