diff --git a/build/jam/ArchitectureRules b/build/jam/ArchitectureRules index 7e28f03db7..4ff33d91f2 100644 --- a/build/jam/ArchitectureRules +++ b/build/jam/ArchitectureRules @@ -250,6 +250,18 @@ rule KernelArchitectureSetup architecture HAIKU_BOOT_ARCHIVE_IMAGE_OFFSET = 192 ; # in kB - unused yet HAIKU_BOOT_LOADER_BASE ?= 0x1000000 ; + case arm64 : + HAIKU_BOOT_PLATFORM ?= efi ; + + HAIKU_BOOT_SDIMAGE_SIZE ?= 128 ; + # SOC's like allwinner need an offset to skip the hardcoded initial loader + HAIKU_BOOT_SDIMAGE_BEGIN = 40950 ; # 512-byte sectors (divisible by 63) + + HAIKU_BOOT_FLOPPY_IMAGE_SIZE = 1440 ; + # offset in floppy image (>= sizeof(haiku_loader)) + HAIKU_BOOT_ARCHIVE_IMAGE_OFFSET = 192 ; # in kB - unused yet + HAIKU_BOOT_LOADER_BASE ?= 0x1000000 ; + case x86 : HAIKU_BOOT_PLATFORM ?= bios_ia32 ; HAIKU_BOOT_FLOPPY_IMAGE_SIZE = 2880 ; # in kB