Porting/AArch64

This page is intended to collect relevant information on the AArch64 architecture. AArch64 is the 64bit architecture first released as part of the armv8 design.

Reference documents

Procedure Call Standards

ELF

Instruction set

Other resources

There are 2 official proprietary emulators called Versatile Express “fast model” and “foundation model”. The latter is available for free after registering on the ARM website.

toolchain

Use Rich Felker’s musl-cross-make and just set ARCH to aarch64 to build the stage1 toolchain for testing (build errors will happen as soon as stage1 gcc is compiled and kernel headers are installed, that is expected.)