EFI: Track memory type internally instead of setting user-defined types in the firmware
EFI: Track memory type internally instead of setting user-defined types in the firmware

There is a widespread bug can cause firmware crashes when using user-defined memory types, which are currently being used to store the types of memory ranges in the EFI memory management code. Avoid this by tracking range types internally.

gil0mendes/Initium,gil0mendes/Initium,gil0mendes/Initium