Displaying 1 result from an estimated 1 matches for "efiresetcold".
Did you mean:
efi_reset_cold
2024 Dec 02
2
EFI 64bit and Kernel 32 bit [redux]
...emory-map and causing
the EFI_INVALID_PARAMETER result.
Some ideas...:
One "I'm blind, use brute force" technique would be to use "hang versus
reboot" as an indicator of where you are, in the code. After proving
that you can issue this somewhere:
RT->SystemReset(EfiResetCold, EFI_SUCCESS, sizeof "Bye", "Bye");
and cause a cold reboot, then you can [probably] use that to reboot and
use:
while (1) { static volatile int i; i = 42; ++i; }
to hang. Instead of 'dprintf' and its potential alteration of "the
latest memory map," pe...