greatbridf
|
d44046d21c
feat(gblibc): separate libc from kernel code
|
2 years ago |
greatbridf
|
8326c982e1
adapt more parts to cpp
|
2 years ago |
greatbridf
|
87883c5978
refactor(new): add _new and pnew for allocators
|
2 years ago |
greatbridf
|
1285e661c3
refactor(assert): move assert and breakpoint code
|
2 years ago |
greatbridf
|
cebc24a3ae
feat(assert): check error with assert
|
2 years ago |
greatbridf
|
0cf0b4d4c3
feat(mm): make mm_list constexpr
|
2 years ago |
greatbridf
|
a3602de618
feat(mm): add mm_list class
|
2 years ago |
greatbridf
|
ddb1ca3b92
feat(mm): free raw pages
|
2 years ago |
greatbridf
|
09e5da2aaa
fix(k_map): clear source page's 'a' bit
|
2 years ago |
greatbridf
|
74fa329672
feat: make compiler optimize likely branches
|
2 years ago |
greatbridf
|
362f149fcb
refactor(paging): move kernel pd and empty page
|
2 years ago |
greatbridf
|
943868c7f9
feat(mm): add k_unmap and dealloc_{pd, pt}
|
2 years ago |
greatbridf
|
ab67740b4f
fix(k_map): invalidate tlb cache when mapping cow
|
2 years ago |
greatbridf
|
673c784b88
fix(mmap): save mmap'ped file info when copying mm
|
2 years ago |
greatbridf
|
e3d5803469
optimize(mm): rename pptr_t, make funcs constexpr
|
2 years ago |
greatbridf
|
8af1356b08
style(mm): simplify code
|
2 years ago |
greatbridf
|
130a495df4
fIx(mm): make cow referred pages also cow
|
2 years ago |
greatbridf
|
2ef440f8e1
change(vfs): use c++
|
2 years ago |
greatbridf
|
ad07d066eb
fix(mmap): read mapped data from file[offset]
|
2 years ago |
greatbridf
|
82cd10f0fc
feat(mmap): able to do memory maps in kernel space
|
2 years ago |
greatbridf
|
88add58cf5
feat(kernel_thread): impl. kernel_thread forking
|
2 years ago |
greatbridf
|
c5d37ef334
style: change struct to class, remove parentheses
|
2 years ago |
greatbridf
|
b93a90442c
feat(mm): add constructor for class mm
|
2 years ago |
greatbridf
|
342ecc0e21
feat(process): enter user mode
|
2 years ago |
greatbridf
|
90cc9522ab
refactor: 拆分mem和mm,对interrupt使用cpp
|
2 years ago |
greatbridf
|
010eeefb18
refactor(mem): use cpp
|
2 years ago |