Commit Graph

21 Commits (a09429b32c174bd571f9858e0bea5bee884bf4c5)

Author SHA1 Message Date
Yifan Wu e643af7937 Fix k210 alignment issue when push cmdargs when sys_exec
4 years ago
Yifan Wu 90d351bfe8 Support cmdline_args when sys_exec.
4 years ago
Yifan Wu 9b65abcfa8 Fix lock uses in ch5
4 years ago
Yifan Wu fd75ac027a Mutex -> RefCell in Processor.
4 years ago
Yifan Wu e04394af56 Replace TCB.inner.block with TCB::acquire_inner_lock
4 years ago
Yifan Wu dbe56c1362 Move some variable name to task_cx to task_cx_ptr2(ch5 ver).
5 years ago
Yifan Wu 606abbe6a1 Simple filetest passed on qemu/k210.
5 years ago
Yifan Wu ae9eecf97b Load app from sdcard on K210, but panicked on qemu.
5 years ago
Yifan Wu 8e178c0080 Pipe OK.
5 years ago
Yifan Wu 2e6734027d Rewrite Stdin/Stdout
5 years ago
Yifan Wu 84b10893d4 forktree worked with depth=3 on k210 platform.
5 years ago
Yifan Wu 244c0ee84d Handle backspace for k210/qemu platform && Add lots of user tests.
5 years ago
Yifan Wu 3642f9c56d Implement many process syscalls.
5 years ago
Yifan Wu eddbc8954c Implement sys_read && allocate pid and kernel stack dynamically.
5 years ago
Yifan Wu 1bc53c0b5f Split TaskManager and Processor.
5 years ago
Yifan Wu 949f2095bb ch4 ok on qemu/k210 && Remove some comments.
5 years ago
Yifan Wu 8ee3671269 Split kernel/user trap handler && Fix user tests.
5 years ago
Yifan Wu 064f1cb5cb Fetching buffer arguments from user space.
5 years ago
Yifan Wu 63aaa9d0a1 Chapter3: power2/3/5 & sleep test worked on k210/qemu based on timer.
5 years ago
Yifan Wu 4590f233b5 sys_yield tests worked on qemu.
5 years ago
Yifan Wu 91043b08cd Switch ok with debug mode apps, implement sys_exit correctly later.
5 years ago