greatbridf
|
0be57320a7
feat(chdir): add syscall chdir
|
2 years ago |
greatbridf
|
8cd5128366
feat: add freeze() and kill_current()
|
2 years ago |
greatbridf
|
38c7861ce7
fix(thd): subtract ptr by kstack size on freeing
|
2 years ago |
greatbridf
|
bc87e8c44f
feat: move codes to kill proc into proclist kill()
|
2 years ago |
greatbridf
|
3b78bb6760
fix(files): files may be closed for multiple times
|
2 years ago |
greatbridf
|
d44046d21c
feat(gblibc): separate libc from kernel code
|
2 years ago |
greatbridf
|
c8ff5b072a
feat(syscall): add getdents
|
2 years ago |
greatbridf
|
bd25366506
change(file): add ptr to parent in struct file
|
2 years ago |
greatbridf
|
8326c982e1
adapt more parts to cpp
|
2 years ago |
greatbridf
|
79482631aa
feat(file): add file descriptors
|
2 years ago |
greatbridf
|
edb5ac858c
fix(syscall_exit): remove all thds from ready list
|
2 years ago |
greatbridf
|
9caca574db
change(thread): add class thdlist
|
2 years ago |
greatbridf
|
c5a6be277a
change(process): use map for process list
|
2 years ago |
greatbridf
|
44a9b33979
feat(hash_map): move pair class out of hash_map
|
2 years ago |
greatbridf
|
6e4a649a55
feat(c++): add operator& to list iterators
|
2 years ago |
greatbridf
|
b120b34b82
feat(process): add class readyqueue
|
2 years ago |
greatbridf
|
0d8e0a0ef4
feat(proc): add class proclist
|
2 years ago |
greatbridf
|
b2586e331c
feat(syscall): impl. exit and wait syscall
|
2 years ago |
greatbridf
|
6953011b53
refactor(scheduling): switch ctx. with schedule()
|
2 years ago |
greatbridf
|
a3602de618
feat(mm): add mm_list class
|
2 years ago |
greatbridf
|
f4fa88196f
style: simplify code
|
2 years ago |
greatbridf
|
6a7579eae5
feat(syscall): exit with no resource release
|
2 years ago |
greatbridf
|
a68e15e75d
change(init): move init decl. to kernel_main.c
|
2 years ago |
greatbridf
|
34b3bf7644
feat(syscall): impl. exec() to load elf files
|
2 years ago |
greatbridf
|
05ab779eda
feat(process): add k_new_thread
|
2 years ago |
greatbridf
|
db7926548d
feat: create kernel thread
|
2 years ago |
greatbridf
|
ecd76edc09
feat(syscall): impl. fork
|
2 years ago |
greatbridf
|
d50e70efaa
feat(syscall): impl. sleep
|
2 years ago |
greatbridf
|
904883c5e3
refactor: add context save and load functions
|
2 years ago |
greatbridf
|
c5d37ef334
style: change struct to class, remove parentheses
|
2 years ago |