This project is a Rust version of bao-demos
- 运行make run,在qemu中启动rust-bao,一开始会进入uboot
- 在uboot命令行中输入go 0x50000000进入rust-bao的镜像执行
todo:
- automatically detect qemu & atf-fip
- cpu_init sync & handler
- as_init: is null ?
colors
unimplemented- todo: cache_enumerate
- todo: Config init
- todo: mem_create_ppools (additional pools)
- todo: activate maintanence intr & IPI_CPU_MSG
- todo: smmu init
- todo: ipc init
- todo: vcpu->arch.psci_ctx
- todo: tlb disable?
- todo: copy vm-image: cache_flush_range
- todo: mem_unmap
- vmm_arch_profile_init: parange?? rust-lld -> gnu ld
- vbar_el2: Holds the vector base address for any exception that is taken to EL2.
- esr_el2: Holds syndrome information for an exception taken to EL2.
s2_pt_va = 0xfe8000001000
upd: 2023-5-16
-
vm_msg_broadcast(cpu().vcpu.vm, &msg);
-
vgic_check_reg_alignment
-
vgic_remove_lr
-
todo: reuse VGicHandlerInfo
-
todo: vm interrupts set
-
todo: vgic_write_lr: pend, act
-
smc_call
-
icfg????