tools: Refactor foreign memory mapping into libxenforeignmemory
...we need to use the compat layer.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Added the necessary definitions to the Makefile rather than demu.c to
make sure they are present in all source modules.
Also, drop the direction inclusion of xenctrl_compat.h.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Paul Durrant [Fri, 14 Feb 2014 09:50:03 +0000 (09:50 +0000)]
Mouse hooked up to arrow keys
There are still issues with rate limiting and scaling mouse movements but
hooking up to the keyboard arrow keys at least shows correct mouse movements.
I'll add a timer so that we can issue 'real' mouse events at the requisite
rate.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Paul Durrant [Mon, 10 Feb 2014 15:50:05 +0000 (15:50 +0000)]
Put VRAM in guest memory.
The VRAM is now in guest memory and is set up when the VRAM BAR is
programmed. Text mode is still painfully slow indicating that there's
still some issue with VGA emulation, but graphics mode now looks fine.
Still no keyboard or mouse.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Paul Durrant [Mon, 10 Feb 2014 10:57:25 +0000 (10:57 +0000)]
Basic VRAM scraping console. No keyboard or mouse as yet.
This is still totally unoptimized. VRAM is emulates and there is no
dirty memory tracking so it's all very very slow. I've also not trimmed out
all the unnecessary pixel format translation abstraction code.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>