diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-05-17 22:20:27 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-05-17 22:20:27 -0400 |
commit | 9571ac21e511c7e04d9589797e0d123d2798e2f6 (patch) | |
tree | 1ab67bb301677b8a1492cf1cf3e7e86154a9e74c /src/biosvar.h | |
parent | 1bb3b5c25284cb98f40f245f5d621721c6959fe1 (diff) | |
download | seabios-9571ac21e511c7e04d9589797e0d123d2798e2f6.tar.gz |
Unify memory size detection.
Figure out memory size once at startup and save in a variable.
Change all run-time locations to use that variable instead of
re-detecting memory size.
Diffstat (limited to 'src/biosvar.h')
-rw-r--r-- | src/biosvar.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/biosvar.h b/src/biosvar.h index 8f694e4b..0c68a2e0 100644 --- a/src/biosvar.h +++ b/src/biosvar.h @@ -257,6 +257,9 @@ struct extended_bios_data_area_s { // 0x5d u8 other2[0xC4]; + // Physical memory available. + u32 ram_size; + // ATA Driver data struct ata_s ata; |