diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-11-08 13:35:32 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-11-08 13:35:32 -0500 |
commit | f782d602d08400cea6750cff440a69e8cc1690de (patch) | |
tree | e538b416d68dc9bc53bde023200e0a8d236b27d9 /src/pcibios.c | |
parent | d995b3df0189f931325f1630a6e9d17e8e5319db (diff) | |
download | seabios-f782d602d08400cea6750cff440a69e8cc1690de.tar.gz |
Avoid casting EBDA variables ipl.description and pir_loc.
Define them using their native types (pointers).
Also, fix an apparent bug in mptable coreboot processing - it
incorrectly overwrote the pir_loc variable.
Diffstat (limited to 'src/pcibios.c')
-rw-r--r-- | src/pcibios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcibios.c b/src/pcibios.c index b189f0bf..c8281cba 100644 --- a/src/pcibios.c +++ b/src/pcibios.c @@ -111,7 +111,7 @@ handle_1ab10d(struct bregs *regs) static void handle_1ab10e(struct bregs *regs) { - struct pir_header *pirtable_far = (struct pir_header*)GET_EBDA(pir_loc); + struct pir_header *pirtable_far = GET_EBDA(pir_loc); if (! pirtable_far) { set_code_fail(regs, RET_FUNC_NOT_SUPPORTED); return; |