This commit fixes a typo in the ukplat_memregion_find_initrd0 macro.
Signed-off-by: Marc Rittinghaus <marc.rittinghaus@unikraft.io>
Reviewed-by: Simon Kuenzer <simon@unikraft.io>
Approved-by: Simon Kuenzer <simon@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #742
* return value < 0 means that there is no initrd module.
*/
#define ukplat_memregion_find_initrd0(mrd) \
- ukplat_memregion_find_next(-1, UKPLAT_MEMRF_INITRD, 0, 0, mrd)
+ ukplat_memregion_find_next(-1, UKPLAT_MEMRT_INITRD, 0, 0, mrd)
/**
* Sets the platform memory allocator and triggers the platform memory mappings