-
Notifications
You must be signed in to change notification settings - Fork 14
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
Arm64 fdt support #1
Arm64 fdt support #1
Conversation
8a74311
to
0036083
Compare
|
|
主要是一些小的规范问题 scripts/make/qemu.mk配置文件不建议改动 README.md需要给更详细一点的说明:比方说现在新增命令是只能在板子上运行?还是可以在 qemu 上模拟运行? crates/of/Cargo.tomlcrate 名太短了,如果它是某种缩写,建议写全 crates/page_table_entry/src/arch/aarch64.rs使用 GenericPTE 的 is_unused,而不是单独为 A64PTE 实现一个重复的 is_empty。尽管这可能要在 modules/axhal/src/platform/aarch64_common/boot.rs所有变量加 crates/of/tests/of.rs同理,不需要 modules/axruntime/src/lib.rs打印输出直接写 |
关于这个问题的详细原因,在issue 有说明
好
此命名方式 借鉴 linux中的
OK
|
👍
|
|
This PR is split into two PRs: |
…rees -------- Signed-off-by: guoweikang <[email protected]>
-------- 1 Move aarch64 mem func(init_mmu) to aarch64_common mem module 2 Aarch64 support read mem info from fdt 3 As memory layout information can now be obtained through FDT, the static mapping method for mapping aarch64 memory is no longer necessary. Signed-off-by: guoweikang <[email protected]>
805a67c
to
e56b586
Compare
-------- Bitmap_allocator is hard coding, support max 4GB mem,Previously, the platform memory size was hard-coded in the platform/aarch64. No matter what the memory size specified by qemu was, it was not actually used. Now the memory layout size is dynamically obtained from the device tree, and qemu's memory parameters can no longer be specified arbitrarily. Because byte allocator have more mem region used,The phenomenon of memory expansion no longer occurs Signed-off-by: guoweikang <[email protected]>
-------- Signed-off-by: guoweikang <[email protected]>
-------- CPU ID can be read from fdt, bst and qemu use the same mp mod Signed-off-by: guoweikang <[email protected]>
e56b586
to
23eafae
Compare
…arch64-hv Merge aarch64 hv
axhal/platfrom: Integrate platform code for axhal on the aarch64 architecture
trait;