1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-27 10:13:28 +04:00
Commit Graph

23 Commits

Author SHA1 Message Date
WangRunji
b715cecf8d rsp -> Context. 2018-06-02 20:49:09 +08:00
WangRunji
2ad61cae65 Impl std-like thread interface. 2018-05-31 20:26:25 +08:00
WangRunji
9418d5de70 Impl RRScheduler 2018-05-23 11:20:36 +08:00
WangRunji
dc74d37697 Use switch() to simplify sys_wait. Add #[inline(never)] to switch(). 2018-05-23 01:35:46 +08:00
WangRunji
64b3716c92 HUGE: Impl switch() like ucore/xv6. 2018-05-22 23:48:39 +08:00
WangRunji
8f306edd85 Fix sys_wait. Pass exit & sleep. 2018-05-22 02:04:43 +08:00
WangRunji
f35d74c734 Huge refactor for interrupt. 2018-05-20 19:15:01 +08:00
WangRunji
601d0f85bd Add an event system in the Processor. Can sleep and wakeup. 2018-05-20 15:37:48 +08:00
WangRunji
950fe4fedc Use crate log. Print with color in console. 2018-05-19 18:42:08 +08:00
WangRunji
d798c8084a Pass uCore forktest 2018-05-19 16:32:18 +08:00
WangRunji
731d6319e4 Can load user programs from sfs.img (hard linked). 2018-05-18 11:49:27 +08:00
WangRunji
893658baf8 uCore hello is available! 2018-05-17 22:19:15 +08:00
WangRunji
8c64b2abb2 uCore 32bit user program is runnable! 2018-05-17 21:06:13 +08:00
WangRunji
4d6925a562 Fork (not finished). Not depend on boot_info after remap_kernel. 2018-05-13 21:13:57 +08:00
WangRunji
678d1d2b54 Some tiny changes 2018-05-13 15:06:44 +08:00
WangRunji
09147732bc Fix user stack. Make MemoryArea fields private. 2018-05-13 02:30:26 +08:00
WangRunji
b885b7ce6a Fix check for MemorySet. Fix copy user program. 2018-05-13 01:57:49 +08:00
WangRunji
40b02c33cb Switch page table for user process 2018-05-13 00:47:16 +08:00
WangRunji
369f3183a3 Ready for running user process. TODO: switch page table 2018-05-12 22:57:30 +08:00
WangRunji
dff2c4d1be Refactor remap_the_kernel using MemorySet 2018-05-12 11:45:31 +08:00
WangRunji
5714df7c39 Remove temporary_page from function args 2018-05-12 00:22:00 +08:00
WangRunji
8ce3173c3d Link a user program from xv6-x86_64 in. Add elf crate. 2018-04-28 10:40:31 +08:00
WangRunji
6e157ee97d Split process mod. Move TrapFrame operation to arch. 2018-04-27 23:10:39 +08:00