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/biosvar.h | |
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/biosvar.h')
-rw-r--r-- | src/biosvar.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/biosvar.h b/src/biosvar.h index 6dfcbc71..4571d5d2 100644 --- a/src/biosvar.h +++ b/src/biosvar.h @@ -218,7 +218,7 @@ struct ipl_entry_s { u16 type; u16 flags; u32 vector; - u32 description; + char *description; }; struct ipl_s { @@ -254,6 +254,8 @@ struct fdpt_s { u8 checksum; } PACKED; +struct pir_header; + struct extended_bios_data_area_s { u8 size; u8 reserved1[0x21]; @@ -275,7 +277,7 @@ struct extended_bios_data_area_s { // Physical memory available. u32 ram_size; // Amount of continuous ram under 4Gig u64 ram_size_over4G; // Amount of continuous ram >4Gig - u32 pir_loc; + struct pir_header *pir_loc; // ATA Driver data struct ata_s ata; |