diff options
author | Myles Watson <mylesgw@gmail.com> | 2009-03-20 18:29:49 +0000 |
---|---|---|
committer | Myles Watson <mylesgw@gmail.com> | 2009-03-20 18:29:49 +0000 |
commit | 2a63ea580a754f65ef8f2cf2f4682a51e6b7a9da (patch) | |
tree | d638f1cfc91f05ff3ead45d4916fd63ae6ef9cfe /src/southbridge/via/k8t890/k8t890_dram.c | |
parent | 5dd4a20b96f2bb563ae724c4eaf2524529bc46d0 (diff) |
Kevin O'Connor said:
The bug is in src/arch/i386/boot/boot.c. The inline assembly in
jmp_to_elf_entry uses the "g" flag to pass in parameters. However,
"g" allows gcc to use stack relative addressing of parameters.
Easiest fix would be to change "g" to "ri" - put the parameter either
in a register or as an immediate value.
That's what this patch does.
Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4023 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/via/k8t890/k8t890_dram.c')
0 files changed, 0 insertions, 0 deletions