x86: Place global data below stack before entering C
authorGraeme Russ <graeme.russ@gmail.com>
Thu, 7 Oct 2010 09:03:29 +0000 (20:03 +1100)
committerGraeme Russ <graeme.russ@gmail.com>
Thu, 7 Oct 2010 09:03:29 +0000 (20:03 +1100)
commit161b3589ea19ad262a2eebbf7b4f10aeb6812f35
tree0f25a9a4ded4cb28b5ee819f0fa403ee5bd95712
parent5a3876d2ac0aaaf16d50ce91b03c2030822da66f
x86: Place global data below stack before entering C

By reserving space for the Global Data immediately below the stack during
assembly level initialisation, the C declaration of the static global data
can be removed, along with the 'RAM Bootstrap' function. This results in
cleaner code, and the ability to pass boot-up flags from assembler into C
arch/i386/cpu/start.S
arch/i386/include/asm/global_data.h
arch/i386/lib/board.c