]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
Compile loader only once
authorBlue Swirl <blauwirbel@gmail.com>
Sun, 20 Sep 2009 14:58:02 +0000 (14:58 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 20 Sep 2009 14:58:02 +0000 (14:58 +0000)
commitca20cf32ab3d945155141ef737f5d08ebb373e1d
tree45515350fdf7b5322658095beec591565a78506d
parenta333cd7166d12397635e16dcade28da5ba8ec7b3
Compile loader only once

Callers must pass ELF machine, byte swapping and symbol LSB clearing
information to ELF loader. A.out loader needs page size information, pass
that too as a parameter.

Extract prototypes to a separate file. Move loader.[ch] and elf_ops.h under hw.

Adjust callers. Also use target_phys_addr_t instead of target_ulong for
addresses: loader addresses aren't virtual.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
38 files changed:
Makefile.hw
Makefile.target
disas.h
elf_ops.h [deleted file]
hw/an5206.c
hw/arm_boot.c
hw/armv7m.c
hw/axis_dev88.c
hw/dummy_m68k.c
hw/elf_ops.h [new file with mode: 0644]
hw/etraxfs.c
hw/loader.c [new file with mode: 0644]
hw/loader.h [new file with mode: 0644]
hw/mcf5208.c
hw/mips_jazz.c
hw/mips_malta.c
hw/mips_mipssim.c
hw/mips_r4k.c
hw/nseries.c
hw/palm.c
hw/pc.c
hw/petalogix_s3adsp1800_mmu.c
hw/ppc.c
hw/ppc405_boards.c
hw/ppc440_bamboo.c
hw/ppc_newworld.c
hw/ppc_oldworld.c
hw/ppc_prep.c
hw/ppce500_mpc8544ds.c
hw/r2d.c
hw/shix.c
hw/smbios.c
hw/sun4m.c
hw/sun4u.c
hw/tc58128.c
linux-user/elfload.c
loader.c [deleted file]
sysemu.h