WangRunji
|
a9117b305e
|
Add diagram for trap doc
|
7 years ago |
WangRunji
|
dc74d37697
|
Use switch() to simplify sys_wait. Add #[inline(never)] to switch().
|
7 years ago |
WangRunji
|
64b3716c92
|
HUGE: Impl switch() like ucore/xv6.
|
7 years ago |
WangRunji
|
859b3891c1
|
Kill the process when bad exception occurs.
|
7 years ago |
WangRunji
|
daac42ce8b
|
Merge all schedule operations to one at the end of interrupt handling.
|
7 years ago |
WangRunji
|
6c135bca24
|
Refactor interrupt mod and add some docs
|
7 years ago |
WangRunji
|
ffb7e194f9
|
Fix set TSS in SMP
|
7 years ago |
WangRunji
|
f35d74c734
|
Huge refactor for interrupt.
|
7 years ago |
WangRunji
|
601d0f85bd
|
Add an event system in the Processor. Can sleep and wakeup.
|
7 years ago |
WangRunji
|
0f26f6ffd6
|
Basic EventHub and Timer.
|
7 years ago |
WangRunji
|
950fe4fedc
|
Use crate `log`. Print with color in console.
|
7 years ago |
WangRunji
|
d798c8084a
|
Pass uCore `forktest`
|
7 years ago |
WangRunji
|
893658baf8
|
uCore `hello` is available!
|
7 years ago |
WangRunji
|
8c64b2abb2
|
uCore 32bit user program is runnable!
|
7 years ago |
WangRunji
|
5a1dc423e0
|
Shared memory & Copy on write !
|
7 years ago |
WangRunji
|
7cdfb9e6e2
|
Basic syscall
|
7 years ago |
WangRunji
|
9723d7c1a3
|
Add Invalid Opcode handler. Set rsp when going to user.
|
7 years ago |
WangRunji
|
0553d3374d
|
Can switch between `init` and `idle` process
|
7 years ago |
WangRunji
|
4f18f70e19
|
Can switch between ring0 and ring 3. Fix IDT bugs.
|
7 years ago |
WangRunji
|
7d28231f1b
|
Can run into another kernel thread
|
7 years ago |
WangRunji
|
0539f8673e
|
Rewrite interrupt handlers using Redox style. Prepare for saving context.
|
7 years ago |