[SOLVED] UEFI Loader custom memory types
Posted: Thu Dec 26, 2024 9:58 am
I am writing a bootloader for my hobby OS that targets UEFI. In the UEFI specification it is stated that operating system vendors can use custom Memory Types for allocations:
Someone on StackOverflow faces the same issue, their post also provides further explanation of the issue: https://stackoverflow.com/questions/674 ... emorytypes
I also openened an issue on the uefi-rs GitHub since my loader is written in Rust: https://github.com/rust-osdev/uefi-rs/issues/1375
Am I misinterpreting the specification or is there a different reason for why the application hangs?
When I do so the application hangs when exiting boot services. This does not happen if I use predefined memory types instead.MemoryType values in the range 0x80000000..0xFFFFFFFF are reserved for use by UEFI OS loaders that are provided by operating system vendors.
Someone on StackOverflow faces the same issue, their post also provides further explanation of the issue: https://stackoverflow.com/questions/674 ... emorytypes
I also openened an issue on the uefi-rs GitHub since my loader is written in Rust: https://github.com/rust-osdev/uefi-rs/issues/1375
Am I misinterpreting the specification or is there a different reason for why the application hangs?