equation314
52251b2adb
aarch64: refactor to linear mapping
...
TODO:
* `map`, `unmap` is significantly slower than other archs
* set segment permissions for kernel page table in bootloader
6 years ago
Jiajie Chen
99bb25fa7d
Typo: bit_allocator => bitmap_allocator
7 years ago
WangRunji
b836b11792
reformat code using `cargo fmt`
7 years ago
WangRunji
dc19d38dc7
convert all C-style comments to Rust-style docs
7 years ago
equation314
18626a2a19
Merge branch 'bootloader' into biscuit
7 years ago
equation314
681c0be801
aarch64: fix the potential memory overlapping bug of bootloader
7 years ago
equation314
68b967b48e
aarch64: move crate `atags` into crate `bcm2837`
7 years ago
equation314
279f983786
aarch64: put the kernel in the top VA range
7 years ago
WangRunji
f7f740a021
remove TLS setup code. fix check writable memory
7 years ago
equation314
0e38439fb8
aarch64: enable MMU in bootloader
7 years ago
equation314
8bb1e65ba7
load kernel elf in bootloader
7 years ago
WangRunji
2d5178d0b7
rename ucore to rcore
7 years ago
equation314
aa5bd3041b
Merge branch 'master' into arch-aarch64
7 years ago
equation314
b5cc79d1b2
modify mmio() & set_mmio() in PageEntry
7 years ago
equation314
5987c2068b
aarch64/fb: remap framebuffer base address
7 years ago
WangRunji
9b0b0064d0
Merge remote-tracking branch 'equation314/arch-aarch64' into dev
...
# Conflicts:
# kernel/src/arch/aarch64/memory.rs
# kernel/src/arch/aarch64/paging.rs
# kernel/src/process/context.rs
7 years ago
equation314
81af2c82fd
aarch64: reduce some warnings, config system/generic timer in Makefile
7 years ago
WangRunji
102866bcf9
introduce MemoryHandler and refactor MemorySet. temporary disable swap.
...
This is a manual rebase of LCY's code
7 years ago
WangRunji
acafe19e26
fix runtime error on aarch64
...
- InactivePageTable::activate should be separated for user & kernel (TTBR1/0)
- disable swappable for aarch64 (bug?)
- use polling getchar as serial interrupt is not implemented
7 years ago
WangRunji
b5ced136f7
fix merge compile error
7 years ago
equation314
264600f145
aarch64/mmu: add io remap
7 years ago
equation314
a8b334123a
aarch64/mmu: add memory region attribute config
7 years ago
equation314
55087fc5a2
aarch64/mmu: use both TTBR0_EL1 & TTBR1_EL1
7 years ago
equation314
bb1c1abaa4
aarch64/mmu: can run on the real raspi3
7 years ago
equation314
a9de99d3a9
aarch64/mmu: remap kernel memory ranges at the end of memory::init()
7 years ago
equation314
9e8124abbb
aarch64/mmu: mmu enabled
7 years ago
equation314
576ae1d911
add setup_page_table
7 years ago
koumingyang
ef213d60bb
mmu
7 years ago
equation314
67b920cc16
aarch64: format paging.rs
7 years ago
koumingyang
a13f39149b
add basic alloc
7 years ago
equation314
174e0da3b6
aarch64: basic framework
7 years ago