1
linux/arch/arm/kernel
Richard Purdie 4cd9d6f774 [ARM] 4736/1: Export atags to userspace and allow kexec to use customised atags
Currently, the atags used by kexec are fixed to the ones originally used
to boot the kernel. This is less than ideal as changing the commandline,
initrd and other options would be a useful feature.

This patch exports the atags used for the current kernel to userspace
through an "atags" file in procfs. The presence of the file is
controlled by its own Kconfig option and cleans up several ifdef blocks
into a separate file. The tags for the new kernel are assumed to be at
a fixed location before the kernel image itself. The location of the
tags used to boot the original kernel is unimportant and no longer
saved.

Based on a patch from Uli Luckas <u.luckas@road.de>

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Acked-by: Uli Luckas <u.luckas@road.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-02-04 13:21:03 +00:00
..
armksyms.c [ARM] use __used attribute 2007-05-30 13:15:06 +01:00
arthur.c
asm-offsets.c [ARM] ARMv6: add CPU_HAS_ASID configuration 2007-05-17 10:19:23 +01:00
atags.c [ARM] 4736/1: Export atags to userspace and allow kexec to use customised atags 2008-02-04 13:21:03 +00:00
atags.h [ARM] 4736/1: Export atags to userspace and allow kexec to use customised atags 2008-02-04 13:21:03 +00:00
bios32.c [ARM] 4577/1: ITE 8152 PCI bridge support 2007-10-15 18:53:59 +01:00
calls.S [ARM] Add fallocate syscall entry 2007-10-12 23:43:31 +01:00
compat.c
compat.h
crunch-bits.S
crunch.c
debug.S
dma-isa.c [ARM] ARRAY_SIZE() cleanup 2008-01-26 14:49:57 +00:00
dma.c
ecard.c [ARM] ecard: add ecardm_iomap() / ecardm_iounmap() 2007-05-11 17:19:02 +01:00
ecard.h
entry-armv.S Merge branches 'at91', 'ep93xx', 'iop', 'kprobes', 'ks8695', 'misc', 'msm', 's3c2410', 'sa1100' and 'vfp' into devel 2008-01-28 13:21:21 +00:00
entry-common.S [ARM] 4687/1: Trivial arch/arm/kernel/entry-common.S comment fix 2008-01-26 14:50:04 +00:00
entry-header.S
fiq.c
head-common.S [ARM] 4423/1: add ATAGS support 2007-07-12 11:13:33 +01:00
head-nommu.S
head.S [ARM] 4423/1: add ATAGS support 2007-07-12 11:13:33 +01:00
init_task.c
io.c
irq.c
isa.c
iwmmxt.S
kprobes-decode.c ARM kprobes: instruction single-stepping support 2008-01-26 15:25:16 +00:00
kprobes.c ARM kprobes: special hook for the kprobes breakpoint handler 2008-01-26 15:25:17 +00:00
machine_kexec.c [ARM] 4736/1: Export atags to userspace and allow kexec to use customised atags 2008-02-04 13:21:03 +00:00
Makefile [ARM] 4736/1: Export atags to userspace and allow kexec to use customised atags 2008-02-04 13:21:03 +00:00
module.c
process.c Use helpers to obtain task pid in printks (arch code) 2007-10-19 11:53:43 -07:00
ptrace.c Use helpers to obtain task pid in printks (arch code) 2007-10-19 11:53:43 -07:00
ptrace.h
relocate_kernel.S [ARM] 4736/1: Export atags to userspace and allow kexec to use customised atags 2008-02-04 13:21:03 +00:00
semaphore.c
setup.c [ARM] 4736/1: Export atags to userspace and allow kexec to use customised atags 2008-02-04 13:21:03 +00:00
signal.c
signal.h
smp.c Remove fs.h from mm.h 2007-07-29 17:09:29 -07:00
stacktrace.c [ARM] Fix stacktrace FP range checking 2007-05-30 13:15:12 +01:00
stacktrace.h
sys_arm.c remove include/asm-*/ipc.h 2007-10-17 08:42:55 -07:00
sys_oabi-compat.c remove include/asm-*/ipc.h 2007-10-17 08:42:55 -07:00
time.c [ARM] Fix timer damage from d3d74453c3 2008-01-28 10:17:12 +00:00
traps.c ARM kprobes: special hook for the kprobes breakpoint handler 2008-01-26 15:25:17 +00:00
vmlinux.lds.S all archs: consolidate init and exit sections in vmlinux.lds.h 2008-01-28 23:21:17 +01:00
xscale-cp0.c