diff options
author | David Woodhouse <[email protected]> | 2013-01-07 22:09:49 +0000 |
---|---|---|
committer | H. Peter Anvin <[email protected]> | 2013-01-27 20:19:37 -0800 |
commit | b607e2126705ca28ecf21aa051172882bbdaae8a (patch) | |
tree | 705578a0bf1084b392096c12db94ca34e53a60b4 /lib/string_helpers.c | |
parent | f791620fa7517e1045742c475a7f005db9a634b8 (diff) |
x86, efi: Fix PCI ROM handing in EFI boot stub, in 32-bit mode
The 'Attributes' argument to pci->Attributes() function is 64-bit. So
when invoking in 32-bit mode it takes two registers, not just one.
This fixes memory corruption when booting via the 32-bit EFI boot stub.
Signed-off-by: David Woodhouse <[email protected]>
Cc: <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
Cc: Matt Fleming <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions