hrev52165 adds 1 changeset to branch 'master'
old head: 1368eabbff038d765b7095c20568a0eb69cee520
new head: 38fc668b2e71ad4fcad9dc1f91d88343c625e856
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=38fc668b2e71+%5E1368eabbff03
----------------------------------------------------------------------------
38fc668b2e71: arm64: Add architecture rules
Change-Id: Ia9cbe77e810b3ab1bde5677a16cc2fbd931de965
[ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev52165
Commit: 38fc668b2e71ad4fcad9dc1f91d88343c625e856
URL: https://git.haiku-os.org/haiku/commit/?id=38fc668b2e71
Author: Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Date: Fri Aug 3 14:55:43 2018 UTC
----------------------------------------------------------------------------
1 file changed, 12 insertions(+)
build/jam/ArchitectureRules | 12 ++++++++++++
----------------------------------------------------------------------------
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