HelenOS sources
MEMMAP_MAX_RECORDS 46 boot/arch/arm64/include/arch/boot.h #define MEMMAP_MAX_RECORDS 128
MEMMAP_MAX_RECORDS 34 boot/arch/riscv64/include/arch/types.h #define MEMMAP_MAX_RECORDS 32
MEMMAP_MAX_RECORDS 37 boot/genarch/include/genarch/ofw.h #define MEMMAP_MAX_RECORDS 32
MEMMAP_MAX_RECORDS 46 kernel/arch/arm64/include/arch/boot/boot.h #define MEMMAP_MAX_RECORDS 128
MEMMAP_MAX_RECORDS 41 kernel/arch/ppc32/include/arch/boot/boot.h #define MEMMAP_MAX_RECORDS 32
MEMMAP_MAX_RECORDS 41 kernel/arch/riscv64/include/arch/boot/boot.h #define MEMMAP_MAX_RECORDS 32
MEMMAP_MAX_RECORDS 49 kernel/arch/sparc64/include/arch/boot/boot.h #define MEMMAP_MAX_RECORDS 32
HelenOS homepage, sources at GitHub