dzy
|
0dbffbc0fa
|
temporary
|
2018-12-26 00:12:10 +08:00 |
|
WangRunji
|
d4b6cc1082
|
compile rv64 pass on macOS
|
2018-12-20 01:13:42 +08:00 |
|
WangRunji
|
b5ced136f7
|
fix merge compile error
|
2018-12-02 00:58:15 +08:00 |
|
WangRunji
|
2afe8c731e
|
Merge remote-tracking branch 'equation314/arch-aarch64' into dev
# Conflicts:
# crate/memory/src/memory_set.rs
# kernel/Cargo.lock
# kernel/src/arch/aarch64/interrupt/handler.rs
# kernel/src/arch/aarch64/interrupt/mod.rs
# kernel/src/arch/aarch64/memory.rs
# kernel/src/arch/aarch64/mod.rs
# kernel/src/arch/aarch64/paging.rs
# kernel/src/consts.rs
# kernel/src/fs.rs
# kernel/src/lib.rs
# kernel/src/memory.rs
# kernel/src/process/context.rs
# tools/riscv-pk/.gitignore
# tools/riscv-pk/LICENSE
# tools/riscv-pk/Makefile.in
# tools/riscv-pk/README.md
# tools/riscv-pk/aclocal.m4
# tools/riscv-pk/bbl/bbl.ac
# tools/riscv-pk/bbl/bbl.c
# tools/riscv-pk/bbl/bbl.h
# tools/riscv-pk/bbl/bbl.lds
# tools/riscv-pk/bbl/bbl.mk.in
# tools/riscv-pk/bbl/logo.c
# tools/riscv-pk/bbl/payload.S
# tools/riscv-pk/bbl/raw_logo.S
# tools/riscv-pk/bbl/riscv_logo.txt
# tools/riscv-pk/config.h.in
# tools/riscv-pk/configure
# tools/riscv-pk/configure.ac
# tools/riscv-pk/dummy_payload/dummy_entry.S
# tools/riscv-pk/dummy_payload/dummy_payload.lds
# tools/riscv-pk/dummy_payload/dummy_payload.mk.in
# tools/riscv-pk/machine/atomic.h
# tools/riscv-pk/machine/bits.h
# tools/riscv-pk/machine/disabled_hart_mask.h
# tools/riscv-pk/machine/emulation.c
# tools/riscv-pk/machine/emulation.h
# tools/riscv-pk/machine/encoding.h
# tools/riscv-pk/machine/fdt.c
# tools/riscv-pk/machine/fdt.h
# tools/riscv-pk/machine/finisher.c
# tools/riscv-pk/machine/finisher.h
# tools/riscv-pk/machine/flush_icache.c
# tools/riscv-pk/machine/htif.c
# tools/riscv-pk/machine/htif.h
# tools/riscv-pk/machine/machine.ac
# tools/riscv-pk/machine/machine.mk.in
# tools/riscv-pk/machine/mcall.h
# tools/riscv-pk/machine/mentry.S
# tools/riscv-pk/machine/minit.c
# tools/riscv-pk/machine/misaligned_ldst.c
# tools/riscv-pk/machine/mtrap.c
# tools/riscv-pk/machine/mtrap.h
# tools/riscv-pk/machine/muldiv_emulation.c
# tools/riscv-pk/machine/uart.c
# tools/riscv-pk/machine/uart.h
# tools/riscv-pk/machine/uart16550.c
# tools/riscv-pk/machine/uart16550.h
# tools/riscv-pk/machine/unprivileged_memory.h
# tools/riscv-pk/machine/vm.h
# tools/riscv-pk/scripts/config.guess
# tools/riscv-pk/scripts/config.sub
# tools/riscv-pk/scripts/install.sh
# tools/riscv-pk/scripts/mk-install-dirs.sh
# tools/riscv-pk/scripts/vcs-version.sh
# tools/riscv-pk/util/snprintf.c
# tools/riscv-pk/util/string.c
# tools/riscv-pk/util/util.mk.in
|
2018-12-02 00:27:10 +08:00 |
|
WangRunji
|
18640b7537
|
impl NoMMU
|
2018-11-27 01:23:07 +08:00 |
|
WangRunji
|
52fe93188d
|
disable delay allocating frame, remove memory_set_record
|
2018-11-27 01:18:30 +08:00 |
|
equation314
|
9e8124abbb
|
aarch64/mmu: mmu enabled
|
2018-11-20 16:46:16 +08:00 |
|
WangRunji
|
2daf8c188d
|
Merge remote-tracking branch 'equation314/arch-aarch64' into dev
# Conflicts:
# .gitignore
# kernel/Cargo.lock
# kernel/Cargo.toml
# kernel/Makefile
# kernel/riscv32-blog_os.json
# kernel/src/consts.rs
# kernel/src/fs.rs
# kernel/src/lib.rs
# kernel/src/process/context.rs
# kernel/src/process/mod.rs
|
2018-11-20 00:15:19 +08:00 |
|
WangRunji
|
56fcad245a
|
update kernel to 2018 edition
|
2018-11-19 20:11:17 +08:00 |
|
lcy1996
|
76d2c6ec7b
|
Fix the bug of active_table_swap() wrongly force unlock in pg fault handler
|
2018-11-17 23:17:42 +08:00 |
|
lcy1996
|
67035ac556
|
Fix a bug in pg fault handler caused by memory_set_record
|
2018-11-17 19:18:48 +08:00 |
|
lcy1996
|
00d0ea8a8b
|
Modified the code in pgfault
|
2018-11-17 16:54:21 +08:00 |
|
lcy1996
|
9d803e87d9
|
replace some unwrap() and comment the cow pgfault handler
|
2018-11-17 16:25:24 +08:00 |
|
WangRunji
|
205f90a264
|
Merge branch 'dev' into g4-merge
# Conflicts:
# crate/memory/src/cow.rs
# crate/memory/src/memory_set.rs
# crate/memory/src/paging/mod.rs
# crate/memory/src/swap/mod.rs
# crate/process/src/lib.rs
# crate/process/src/process_manager.rs
# crate/process/src/processor.rs
# crate/process/src/thread.rs
# crate/riscv
# kernel/Cargo.lock
# kernel/src/arch/riscv32/compiler_rt.rs
# kernel/src/arch/riscv32/consts.rs
# kernel/src/arch/riscv32/context.rs
# kernel/src/arch/riscv32/interrupt.rs
# kernel/src/arch/riscv32/memory.rs
# kernel/src/arch/riscv32/mod.rs
# kernel/src/arch/riscv32/paging.rs
# kernel/src/arch/x86_64/driver/ide.rs
# kernel/src/arch/x86_64/interrupt/handler.rs
# kernel/src/arch/x86_64/mod.rs
# kernel/src/console.rs
# kernel/src/consts.rs
# kernel/src/fs.rs
# kernel/src/lib.rs
# kernel/src/memory.rs
# kernel/src/process/context.rs
# kernel/src/process/mod.rs
# kernel/src/syscall.rs
# kernel/src/trap.rs
|
2018-11-16 18:58:29 +08:00 |
|
lcy1996
|
a8da42d521
|
Add expr4 report and some trace for synctest
|
2018-11-14 21:45:56 +08:00 |
|
lcy1996
|
65cd42028c
|
Add illegal vma check in page fault hangler
|
2018-11-14 01:13:19 +08:00 |
|
lcy1996
|
9adcea44d5
|
Code transplanting: Fix bugs. Pass test 'spin'
|
2018-11-08 19:21:13 +08:00 |
|
lcy1996
|
a145909998
|
Fix compile error after merge for the new processor.
|
2018-11-05 22:16:45 +08:00 |
|
lcy1996
|
fcdee71f9d
|
Merge confilt
|
2018-11-05 21:31:04 +08:00 |
|
lcy1996
|
c8ea2cb0cf
|
Fix bug and enable swap in/out and frame delayed allocating.
|
2018-11-05 20:37:05 +08:00 |
|
chenqiuhao
|
2002ddd5fa
|
move processor from wrj
|
2018-11-03 21:45:03 +08:00 |
|
lcy1996
|
b1425a53f9
|
finish frame delayed allocating
|
2018-11-03 14:33:36 +08:00 |
|
lcy1996
|
4f03eff015
|
Use SpinNoIrqLock to replace the spin::mutex
|
2018-10-31 11:11:06 +08:00 |
|
lcy1996
|
504401355f
|
Add expr3 report(not finiished.
|
2018-10-30 21:50:38 +08:00 |
|
lcy1996
|
edde416052
|
Finish swap for multi-user process
|
2018-10-30 12:45:09 +08:00 |
|
WangRunji
|
72dc3f62ad
|
Remove kernel stack from MemorySet.
|
2018-10-27 15:17:15 +08:00 |
|
WangRunji
|
81196729e4
|
Fix RV32 atomic.
- Fix __atomic_compare_exchange_4().
- Add patch for core::sync::atomic.
- Revert kernel Mutex.
|
2018-10-26 15:22:03 +08:00 |
|
equation314
|
174e0da3b6
|
aarch64: basic framework
|
2018-10-26 11:22:22 +08:00 |
|
lcy1996
|
63349ade19
|
Finish add more comment for kernel and finish set user memory swappable.
|
2018-10-23 00:00:09 +08:00 |
|
maoyuchaxue
|
f27fd37d82
|
replaced spin::Mutex with sync::SpinLock, now spinlock works well.
|
2018-10-17 21:34:15 +08:00 |
|
lcy1996
|
0a81014007
|
Add page handler for swap in/out in riscv32's pagefault
|
2018-10-16 21:51:17 +08:00 |
|
lcy1996
|
0a7ec18701
|
Add page fault handler to riscv 32.
|
2018-10-11 21:30:35 +08:00 |
|
WangRunji
|
0a9c294814
|
Fix x86_64 startup. TODO: higher half.
* Remove legacy boot, MP, ACPI.
* Disable SMP.
* Modify startup: boot -> arch::init -> kmain.
* Fix FrameAllocator on x86_64.
* Remove kernel remap.
* Alloc kernel heap at bss.
|
2018-09-09 02:35:32 +08:00 |
|
WangRunji
|
ff8930a36c
|
Make frame allocator smaller. Fix serial stupid bug.
|
2018-08-07 15:09:11 +08:00 |
|
WangRunji
|
640872d154
|
Use alloc API to fix stack overflow in release mode.
|
2018-08-06 19:04:18 +08:00 |
|
WangRunji
|
f1407dff7b
|
Note the reason of double fault in x86_64 release mode.
|
2018-07-15 20:51:14 +08:00 |
|
WangRunji
|
4faa8a65ae
|
Move kernel to a new directory
|
2018-07-13 12:25:39 +08:00 |
|