History log of /kvmtool/x86/include/asm/bios/memcpy.h (Results 1 – 3 of 3)
Revision Date Author Comments
# 9759db0d 01-Jun-2015 Andre Przywara <andre.przywara@arm.com>

kvmtool: move include/bios/memcpy.h to x86/include/asm/bios

This file contains a prototype solely used by the BIOS blob code
for x86 systems. Make this clear by moving the include file into
the x86

kvmtool: move include/bios/memcpy.h to x86/include/asm/bios

This file contains a prototype solely used by the BIOS blob code
for x86 systems. Make this clear by moving the include file into
the x86 directory.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>

show more ...


# f23171ca 01-Jun-2015 Andre Przywara <andre.przywara@arm.com>

kvmtool: remove reference to <asm/types.h> from BIOS include files

For x86 the files that become the BIOS blob are compiled with -m32.
Although we avoid including any system libraries, we use some h

kvmtool: remove reference to <asm/types.h> from BIOS include files

For x86 the files that become the BIOS blob are compiled with -m32.
Although we avoid including any system libraries, we use some headers
from /usr/include, which asks for trouble if compiling on a x86-64
multiarch system (Debian/Ubuntu). Without 32-bit compat headers
installed there, the compiler will not find the right files.
However as the BIOS code is actually a self-contained binary without
any relationship to the Linux userland, it should not use or rely
on Linux system headers.
Replace includes of linux/types.h in BIOS code with asm/bios/types.h,
which simply contains the u{8,16,32,64} data types needed by the code.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>

show more ...


# b4eab05e 30-Sep-2011 Pekka Enberg <penberg@kernel.org>

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 s

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>

show more ...