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 basic loongarch64 support #126

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

Commits on Sep 18, 2023

  1. feat: add basic loongarch64 support

    - Refactor the [repo](https://github.com/aoooos/arceos) code to merge
    - Use standard toolchain
    - Fix the compile command
    Godones committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    34de609 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fabae91 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Configuration menu
    Copy the full SHA
    7aa5260 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2023

  1. Configuration menu
    Copy the full SHA
    42fdc45 View commit details
    Browse the repository at this point in the history
  2. feat: pass apps/exception

    Godones committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    ad413d0 View commit details
    Browse the repository at this point in the history
  3. feat: Support yield application

    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.
    Godones committed Sep 23, 2023
    Configuration menu
    Copy the full SHA
    a2b1f30 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

  1. Implement support for all apps/task and fs.

    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;
    Godones committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    f4c2b70 View commit details
    Browse the repository at this point in the history
  2. Restore cargo.lock

    Godones committed Sep 24, 2023
    Configuration menu
    Copy the full SHA
    3606df6 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. feat: Add basic C App support for la64

    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
    Godones committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    e83ec55 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. feat: support net/display app

    Godones committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    a1fa046 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2023

  1. Configuration menu
    Copy the full SHA
    f20bf83 View commit details
    Browse the repository at this point in the history
  2. fix: update page table impl

    rename loongArch64 to loongarch64
    Godones committed Dec 9, 2023
    Configuration menu
    Copy the full SHA
    754b950 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2023

  1. Configuration menu
    Copy the full SHA
    2d41808 View commit details
    Browse the repository at this point in the history
  2. doc: add doc for la64

    Remove unnecessary firmware programs and add help documentation.
    Godones committed Dec 10, 2023
    Configuration menu
    Copy the full SHA
    b7c3360 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Configuration menu
    Copy the full SHA
    ccd44e1 View commit details
    Browse the repository at this point in the history

Commits on Dec 23, 2023

  1. doc: add documentation

    Godones committed Dec 23, 2023
    Configuration menu
    Copy the full SHA
    b2c67b7 View commit details
    Browse the repository at this point in the history

Commits on Dec 27, 2023

  1. feat: remove the bios dep for loongarch64-qemu-virt

    Rewrite boot code.
    Add pci address space definition
    Fix word errors for platforms/*.toml
    Godones committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    38f0e86 View commit details
    Browse the repository at this point in the history
  2. remove dead code

    Godones committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    e81c425 View commit details
    Browse the repository at this point in the history
  3. update doc

    Godones committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    2d32006 View commit details
    Browse the repository at this point in the history