Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for LoongArch64-2K500 and 2K1000 development boards #136

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

jtzhpf
Copy link

@jtzhpf jtzhpf commented Dec 28, 2023

Add support for LoongArch64-2K500 and 2K1000 development boards.
Introduce C support using the LoongArch GNU toolchain.

Godones and others added 22 commits September 18, 2023 19:53
- Refactor the [repo](https://github.com/aoooos/arceos) code to merge
- Use standard toolchain
- Fix the compile command
1. Use r21 register to record percpu variable address
2. Add page table description, although la64 does not use page table for
   the time being.
3. Modify the kernel page table remap part in runtime. la64 does not
   require remapping.
This commit includes multiple changes aimed at ensuring all apps/task and fs can be supported properly. These edits affect various files within the 'axhal' module and its subdirectories, as well as specific system configuration aspects outlined in the 'loongarch64-qemu-virt.toml' file.

fix bugs about percpu, use r21 register;
fix bugs about timer interrupt;
Simplify saving and restoring trap context;
Since loongarch64 does not seem to have the musl tool chain, here we use
the gnu tool chain.

1. add pointer type definition
2. add float definition
3. add setjmp/longjmp
add loongarch64 support in app_test.sh
@equation314
Copy link
Member

Duplicate with #126, please wait for it to be merged first. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants