kernel-hacking-2024-linux-s.../arch/ppc64
Olaf Hering 8a76baf020 [PATCH] ppc64 boot: remove need for imagesize.c
Compute the vmlinux size at runtime.

Use Z_FULL_FLUSH instead of Z_FINISH, to extract only the ELF header
and ELF program header.

 ->p_memsz is the required memory range for the executable, including bss
 ->p_filesz is the size of .text, .data and other runtime sections

These values must be used for the claim call.
All additional memory needed by the kernel is claimed in prom_init, remove
the extra Mb.

Pass the full memsize as target area to gunzip, otherwise not everything
will be uncompressed.

flush_cache has to flush all runtime sections, do not reduce the memrange
by the ->p_offset value because its just that: an offset.

Remove the Makefile code to produce an imagesize.c, its not needed anymore.
Remove all FORCE flags, to not rebuild the zImage if vmlinux was not changed.

Signed-off-by: Olaf Hering <olh@suse.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Anton Blanchard <anton@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2005-10-29 15:05:10 +10:00
..
boot [PATCH] ppc64 boot: remove need for imagesize.c 2005-10-29 15:05:10 +10:00
configs [PATCH] ppc64: update defconfigs 2005-10-19 23:12:36 -07:00
kernel [PATCH] ppc: make phys_mem_access_prot() work with pfns instead of addresses 2005-10-29 14:25:49 +10:00
lib ppc64: use mem_64.S from powerpc/lib 2005-10-28 12:54:35 +10:00
xmon powerpc: Merge xmon 2005-10-28 22:53:37 +10:00
defconfig [PATCH] ppc64: update defconfigs 2005-10-19 23:12:36 -07:00
Kconfig [PATCH] powerpc: Fix handling of fpscr on 64-bit 2005-10-27 20:48:50 +10:00
Kconfig.debug
Makefile [PATCH] ppc: prevent GCC 4 from generating AltiVec instructions in kernel 2005-10-29 13:55:19 +10:00