Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
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:
MemoryType values in the range 0x80000000..0xFFFFFFFF are reserved for use by UEFI OS loaders that are provided by operating system vendors.
When I do so the application hangs when exiting boot services. This does not happen if I use predefined memory types instead.