mirror of
https://github.com/torvalds/linux.git
synced 2024-11-07 20:51:47 +00:00
97b0511ce1
When booting Linux on a txx9 board with VxWorks boot loader, it crashes in prom_getenv(), as VxWorks doesn't pass firmware parameters in a0-a3 (in my case, the actual leftover values in these registers were 0x80002000, 0x80001fe0, 0x2000, and 0x20). Make the parsing of argc, argv, and envp a bit more robust by checking if argc is a number below CKSEG0, and argv/envp point to CKSEG0. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org> |
||
---|---|---|
.. | ||
7segled.c | ||
irq_tx3927.c | ||
irq_tx4927.c | ||
irq_tx4938.c | ||
irq_tx4939.c | ||
Makefile | ||
mem_tx4927.c | ||
pci.c | ||
setup_tx3927.c | ||
setup_tx4927.c | ||
setup_tx4938.c | ||
setup_tx4939.c | ||
setup.c | ||
smsc_fdc37m81x.c | ||
spi_eeprom.c |