Files
Matt Evans af7b086859 kvm tools: Split x86 arch-specific bits into x86/
Create a new arch-specific subdirectory to contain architecture-specific code
and includes.

The Makefile now adds various arch-specific objects based on detected
architecture.  That aside, this patch should only contain code moves.  These
include:

- x86-specific kvm_cpu setup, kernel loading, memory setup etc. now in
  x86/kvm{-cpu}.c
- BIOS now lives in x86/bios/
- ioport setup
- KVM extensions are asserted in arch-specific kvm.c now, so each architecture
  can manage its own dependencies.
- Various architecture-specific #defines are moved into $(ARCH)/include/kvm{-cpu}.h
  such as struct kvm_cpu, KVM_NR_CPUS, KVM_32BIT_GAP_SIZE.

Signed-off-by: Matt Evans <matt@ozlabs.org>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
2015-06-01 16:39:49 +01:00

17 lines
323 B
C

/*
* Linux boot protocol specifics
*/
#ifndef BOOT_PROTOCOL_H_
#define BOOT_PROTOCOL_H_
/*
* The protected mode kernel part of a modern bzImage is loaded
* at 1 MB by default.
*/
#define BZ_DEFAULT_SETUP_SECTS 4
#define BZ_KERNEL_START 0x100000UL
#define INITRD_START 0x1000000UL
#endif /* BOOT_PROTOCOL_H_ */