]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools, bios: Fix BIOS to kernel memory copy
authorPekka Enberg <penberg@kernel.org>
Fri, 30 Sep 2011 15:53:48 +0000 (18:53 +0300)
committerPekka Enberg <penberg@kernel.org>
Sun, 16 Oct 2011 18:33:34 +0000 (21:33 +0300)
commit15a0bb5ccae93c061c0345a6ce1fe6157628663c
tree76fa593246a5ece6818d0d56048f0fe5e22619d4
parentf1a7aeefa3ee99fcd1b3edf60dc56426fadba19e
kvm tools, bios: Fix BIOS to kernel memory copy

This patch implements memcpy16() function that copies memory areas in 16-bit
real mode and converts bios/int10.c to use it instead of relying on GCC struct
memcpy to do the right thing.

Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Asias He <asias.hejun@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/Makefile
tools/kvm/bios/entry.S
tools/kvm/bios/int10.c
tools/kvm/bios/memcpy.c [new file with mode: 0644]
tools/kvm/include/bios/memcpy.h [new file with mode: 0644]
tools/kvm/include/kvm/bios.h