sunriseos / SunriseOS

Horizon/NX kernel reimplementation
Apache License 2.0
229 stars 13 forks source link

Add partial aarch64 support to libuser #566

Open leo60228 opened 4 years ago

leo60228 commented 4 years ago

This is able to make libuser compile with the included target JSON. It does not yet include a crt0 or syscall stub, though preparations for that have been made (I'm not experienced enough with aarch64 assembly).

leo60228 commented 4 years ago

I've implemented a syscall stub, it was easier than I thought.

todo[bot] commented 4 years ago

figure out aarch64 TLS

https://github.com/sunriseos/SunriseOS/blob/708cb35618e9d00081c5bbd58e99820d3176d4fb/libuser/src/threads.rs#L394-L404


This comment was generated by todo based on a TODO comment in 708cb35618e9d00081c5bbd58e99820d3176d4fb in #566. cc @leo60228.