Skip to content

Inquisitor-201/rust-bao

Repository files navigation

rust-bao

This project is a Rust version of bao-demos

如何运行?

  1. 运行make run,在qemu中启动rust-bao,一开始会进入uboot
  2. 在uboot命令行中输入go 0x50000000进入rust-bao的镜像执行

todo:

  1. automatically detect qemu & atf-fip
  2. cpu_init sync & handler
  3. as_init: is null ?
  4. colors unimplemented
  5. todo: cache_enumerate
  6. todo: Config init
  7. todo: mem_create_ppools (additional pools)
  8. todo: activate maintanence intr & IPI_CPU_MSG
  9. todo: smmu init
  10. todo: ipc init
  11. todo: vcpu->arch.psci_ctx
  12. todo: tlb disable?
  13. todo: copy vm-image: cache_flush_range
  14. todo: mem_unmap
  15. vmm_arch_profile_init: parange?? rust-lld -> gnu ld

  1. vbar_el2: Holds the vector base address for any exception that is taken to EL2.
  2. esr_el2: Holds syndrome information for an exception taken to EL2.

s2_pt_va = 0xfe8000001000


upd: 2023-5-16

  1. vm_msg_broadcast(cpu().vcpu.vm, &msg);

  2. vgic_check_reg_alignment

  3. vgic_remove_lr

  4. todo: reuse VGicHandlerInfo

  5. todo: vm interrupts set

  6. todo: vgic_write_lr: pend, act

  7. smc_call

  8. icfg????

About

This project is a Rust version of bao-demos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published