riscv64: 映射uefi systemtable,并完善了riscv64页表填写的部分内容 (#498)

* 从fdt的chosen段获取几个需要的字段

* merge patch-early-ioremap

* feature: 增加early io remap的fixmap功能

允许在内存管理初始化之前,使用fixmap功能,映射一些物理内存,并记录.

* riscv64: 映射uefi systemtable,并完善了riscv64页表填写的部分内容

* 更新仓库网址
This commit is contained in:
LoGin
2024-01-21 15:38:12 +08:00
committed by GitHub
parent 3e3c6316aa
commit 7a29d4fcbc
29 changed files with 894 additions and 91 deletions

View File

@ -92,7 +92,7 @@ __init_set_pgtable_loop_end:
la a0, BSP_IDLE_STACK_SPACE
mv sp, a0
li t0, 32768
li t0, 32752 // 16
add sp, sp, t0
.option pop
/*
@ -330,6 +330,7 @@ __initial_hartid_ptr:
.quad 0
// _start
.global __initial_start_load_paddr
__initial_start_load_paddr:
.quad 0
@ -344,9 +345,11 @@ __initial_satp_mode:
// sv39L0
.section .initial_pgtable_section
.global __initial_pgtable
__initial_pgtable:
.skip 4096
.global __initial_l1_pgtable
__initial_l1_pgtable:
.skip 8192