Martin Whitaker
e8c8ef69eb
Simplify allocation of memory in efisetup.c.
2022-05-09 18:41:14 +01:00
Martin Whitaker
e429abec9f
Support boot options when booting directly from EFI image (issue #53 ).
2022-05-08 22:46:27 +01:00
Martin Whitaker
31f06ea7c8
Add a framebuffer test when EFI debug is enabled.
2022-04-13 14:30:52 +01:00
Martin Whitaker
6e9bdce92d
Select the best mode for the EFI framebuffer.
...
This chooses the lowest resolution that supports our main display.
2022-04-13 14:30:23 +01:00
Martin Whitaker
1998ce16d1
Handle 64-bit frame buffer addresses when printing EFI debug info.
2022-04-11 20:00:59 +01:00
Sam DEMEULEMEESTER
2266151fe6
Early SMBUS functions ( #2 ) & EFI Reset ( #17 )
2022-03-24 21:49:56 +01:00
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