Commit Graph

10 Commits

Author SHA1 Message Date
Martin Whitaker
f4a413cf6d Translate non-usable EFI memory regions to E820_RESERVED, not E820_NONE.
This is more correct. Using E820_NONE may have been confusing the code
in pmem.c that sanitises the memory map.
2022-02-13 20:44:58 +00:00
Martin Whitaker
4100a44b12 Properly protect the startup stack with a mutex.
Because we start the APs sequentially, it is unlikely they will coincide
for the brief period that they use the temporary startup stack, but we
should guard against it. This allows us to remove the mutex around the
restart of each AP when relocating, which should improve test times.
2022-01-31 21:54:24 +00:00
Martin Whitaker
4aea5f4d19 Minor spacing fix. 2021-12-22 16:37:54 +00:00
Martin Whitaker
d70d8dd407 Disable debug output in efisetup.c (committed by accident). 2021-09-04 13:10:09 +01:00
Martin Whitaker
abbee1a25f Use 'size -B' instead of 'size -G' to determine BSS size.
The -G option is a relatively recent addition, so fails on older
systems (issue #11).
2021-09-02 18:11:30 +01:00
Martin Whitaker
b508b528d0 Add more EFI display debug. 2020-11-19 20:10:15 +00:00
Martin Whitaker
e91d4bc0b0 Fix bug in setting screen info from EFI bit mask mode. 2020-11-01 16:57:23 +00:00
Martin Whitaker
4f5cabedf3 Add code for debugging EFI display problems. 2020-11-01 16:56:25 +00:00
Martin Whitaker
c089a81ed1 Add support for 32-bit EFI boot. 2020-07-08 11:07:32 +01:00
Martin Whitaker
c505472939 Support direct 64-bit EFI boot. 2020-07-03 22:42:45 +01:00