On 14. Jan 19 23:43, Jakub Jermář wrote:
> On 1/14/19 8:34 PM, Petr Pavlu wrote:
> > I have created and maintain a small project that adds support for
> > the 64-bit Arm architecture (AArch64) to HelenOS.
> > 
> > Source code of the port is available on GitHub [1]. It targets
> > the QEMU virt platform with Cortex-A57, PL011 (UART), GICv2
> > (interrupt controller), VirtIO-SCSI CD-ROM and EDK2 (UEFI
> > implementation). The port implements usual low-level bits needed
> > to run HelenOS on some architecture (boot, kernel, uspace) and
> > can successfully boot on the mentioned platform and run user
> > space console applications.
> > 
> > The port was created primarily for my learning purposes but might
> > be useful for others and I wonder if there would be interest in
> > me trying to upstream it in the official version of HelenOS.
> > 
> > [1] https://github.com/setupji/helenos
> 
> This is simply amazing! I briefly glanced through your changes, built
> the toolchain and ran HelenOS/arm64. Truly a wonderful achievement!
> 
> Indeed, we would be interested in having this upstreamed to HelenOS. I'd
> suggest rebasing to the current master and then submitting a PR.

Excellent, I will start working on the rebase and first try
submitting PRs for a few not strictly AArch64-specific changes
and then cut the remaining parts into a set of patches so they
can be easily reviewed.

On 15. Jan 19 01:37, Jiri Svoboda wrote:
> Long time, no see :-) Looks like you just can't stop from doing amazing 
> stuff, do you? :-D It will be great to have the arm64 port upstreamed!

It has been a while. :) Thanks for the kind words!

> When you do that, I have an additional request: You know all the AArch64 
> documents, can you add links, or at least names to http://www.helenos.org/
> wiki/DeveloperDocs/CPUArch ? I managed to identify one, the A64 instruction
> set.

Sure, I have added to this page a set of links that is similar to
the lists for other architectures.

> Do you know the name/link especially for the System V ABI processor
> supplement for AArch64? Do you know if there is a document describing TLS 
> support for AArch64 so we can implement Dynamic linking+TLS support? (or is
> that part of the ABI CPU supplement?)

I think there is currently no published document describing
AArch64 SysV ABI. Some description of TLS support can be found in
"ELF for the ARM 64-bit Architecture (AArch64)" [1] but I am not
sure if it has all needed information.

[1] https://developer.arm.com/docs/ihi0056/latest

Cheers,
Petr

_______________________________________________
HelenOS-devel mailing list
HelenOS-devel@lists.modry.cz
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to