]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Make debug UART port configurable via system config
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 26 Jan 2016 08:27:40 +0000 (09:27 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Tue, 26 Jan 2016 09:43:39 +0000 (10:43 +0100)
commit62486b40f309a18209a862130c787caedfe3c5cb
tree4d64183bf2955bc5398426b95c41c39f63add6a5
parent4a67ce2e06bfeabd0bd7149f24b1fa5d5e44188e
x86: Make debug UART port configurable via system config

We already allow to enable a VGA console via the system config, so let's
make the UART port configurable this way as well: phys_start will hold
the port, and flags must not have JAILHOUSE_MEM_IO set, in order to
differentiate us from the memory-mapped VGA console. And by leaving
phys_start at 0, we can even turn off the console now.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/dbg-write.c