pub(crate) fn max_ram_end_before_32bit(
    arch_memory_layout: &ArchMemoryLayout
) -> u64