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>
This commit is contained in:
AKASHI Takahiro 2020-10-15 13:25:15 +09:00 committed by Tom Rini
parent 3a51b2a2c3
commit 16389a74c5

View File

@ -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;