WangRunji
|
b1a3695dfb
|
Prettify log output
|
2018-07-12 23:31:54 +08:00 |
|
WangRunji
|
7b4cc6d772
|
Fix log crate
|
2018-07-12 20:46:02 +08:00 |
|
WangRunji
|
5530549a54
|
Recover process thread sync mod for RV32. Pass compile.
|
2018-07-12 18:56:29 +08:00 |
|
WangRunji
|
7151c67c2a
|
Improve LocalKey
|
2018-07-12 17:19:55 +08:00 |
|
WangRunji
|
548951abda
|
Forget the kernel MemorySet (x86_64)
|
2018-07-12 12:13:39 +08:00 |
|
WangRunji
|
7f659950cb
|
Finish memory init
|
2018-07-12 02:09:41 +08:00 |
|
WangRunji
|
677c1bd565
|
Impl page table for RV32. TODO: Fix recursive mapping.
|
2018-07-11 21:37:42 +08:00 |
|
WangRunji
|
f7d75696bc
|
Move more to x86_64 arch
|
2018-07-11 10:57:07 +08:00 |
|
WangRunji
|
d3ed84ba61
|
Fix compile
|
2018-07-11 00:53:40 +08:00 |
|
WangRunji
|
b26fee1990
|
Make more mods common for both x86_64 & riscv32.
|
2018-07-10 17:07:03 +08:00 |
|
WangRunji
|
da6dd763d7
|
Basic trap handler
|
2018-07-07 16:34:11 +08:00 |
|
WangRunji
|
bf2ad7c6a5
|
Change target arch to RISCV32IMA. Recover some dependencies.
|
2018-07-06 22:33:28 +08:00 |
|
WangRunji
|
ced765fb5b
|
New crate bbl , port sbi mod.
|
2018-07-04 22:04:59 +08:00 |
|
WangRunji
|
211aeff841
|
Add bbl as bootloader
|
2018-07-04 16:23:11 +08:00 |
|
WangRunji
|
c0193e69e6
|
Clear all code, make it compile for RISCV in docker.
|
2018-07-03 22:27:55 +08:00 |
|
WangRunji
|
e47f57a12a
|
Cow test pass in OS
|
2018-06-23 22:30:57 +08:00 |
|
WangRunji
|
ade0f0110f
|
Use PageTable interface in OS
|
2018-06-23 19:11:41 +08:00 |
|
WangRunji
|
d2d9affddf
|
Use multiboot2 to locate RSDT
|
2018-06-20 11:08:47 +08:00 |
|
WangRunji
|
0e2cccef9e
|
Use uart_16550 crate
|
2018-06-20 00:24:07 +08:00 |
|
WangRunji
|
f707d7e757
|
Fit new rust nightly. Update dependencies.
|
2018-06-19 23:43:40 +08:00 |
|
WangRunji
|
f4b9308f2c
|
Use x86_64 paging! Remove original paging mod.
|
2018-06-18 02:20:27 +08:00 |
|
WangRunji
|
60ed3a2ed4
|
Fix SMP. Move cpu::init to asm.
|
2018-06-17 01:41:43 +08:00 |
|
WangRunji
|
4817f69acb
|
Update x86_64 to 0.2.3. FIXME: SMP
|
2018-06-17 01:22:43 +08:00 |
|
WangRunji
|
1760d76581
|
Basic sync::mpsc. FIXME: deadlock.
|
2018-06-05 01:32:21 +08:00 |
|
WangRunji
|
0b0dac3c81
|
Complete Semaphore Condvar , dining-philosophers-problem using monitor
|
2018-06-05 00:34:34 +08:00 |
|
WangRunji
|
f3d62a5b8f
|
Replace AreaFrameAllocator by BitAllocator . Set opt-level=1 to avoid stack overflow.
|
2018-06-03 19:29:11 +08:00 |
|
WangRunji
|
8d6663edb0
|
Fix and simplify SMP
|
2018-06-03 11:22:28 +08:00 |
|
WangRunji
|
2e9ffb84fa
|
HUGE REFACTOR for memory mod: unified to MemorySet !
|
2018-06-03 01:10:20 +08:00 |
|
WangRunji
|
5891613b22
|
Split sync mod
|
2018-06-01 15:07:12 +08:00 |
|
WangRunji
|
31bc92aec6
|
ThreadLock. Dining philosophers problem. Fix thread::spawn.
|
2018-06-01 11:47:58 +08:00 |
|
WangRunji
|
2ad61cae65
|
Impl std-like thread interface.
|
2018-05-31 20:26:25 +08:00 |
|
WangRunji
|
dcdbcfbce8
|
Impl spin & no-interrupt lock. Enable interrupt during syscall.
|
2018-05-31 20:23:26 +08:00 |
|
WangRunji
|
64b3716c92
|
HUGE: Impl switch() like ucore/xv6.
|
2018-05-22 23:48:39 +08:00 |
|
WangRunji
|
6c135bca24
|
Refactor interrupt mod and add some docs
|
2018-05-21 16:05:36 +08:00 |
|
WangRunji
|
ffb7e194f9
|
Fix set TSS in SMP
|
2018-05-20 22:12:18 +08:00 |
|
WangRunji
|
f35d74c734
|
Huge refactor for interrupt.
|
2018-05-20 19:15:01 +08:00 |
|
WangRunji
|
4e35b927d2
|
Yield. Shorter schedule interval.
|
2018-05-20 17:14:05 +08:00 |
|
WangRunji
|
601d0f85bd
|
Add an event system in the Processor. Can sleep and wakeup.
|
2018-05-20 15:37:48 +08:00 |
|
WangRunji
|
0f26f6ffd6
|
Basic EventHub and Timer.
|
2018-05-20 00:22:52 +08:00 |
|
WangRunji
|
950fe4fedc
|
Use crate log . Print with color in console.
|
2018-05-19 18:42:08 +08:00 |
|
WangRunji
|
731d6319e4
|
Can load user programs from sfs.img (hard linked).
|
2018-05-18 11:49:27 +08:00 |
|
WangRunji
|
5a1dc423e0
|
Shared memory & Copy on write !
|
2018-05-14 22:55:49 +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
|
7cdfb9e6e2
|
Basic syscall
|
2018-05-13 03:41:41 +08:00 |
|
WangRunji
|
40b02c33cb
|
Switch page table for user process
|
2018-05-13 00:47:16 +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
|
0553d3374d
|
Can switch between init and idle process
|
2018-04-27 21:49:01 +08:00 |
|
WangRunji
|
4f18f70e19
|
Can switch between ring0 and ring 3. Fix IDT bugs.
|
2018-04-27 16:32:57 +08:00 |
|
WangRunji
|
7d28231f1b
|
Can run into another kernel thread
|
2018-04-27 00:03:24 +08:00 |
|