1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-26 01:43:29 +04:00
Commit Graph

208 Commits

Author SHA1 Message Date
Jiajie Chen
57d923c1f9 Fix compilation for riscv 2020-06-20 16:53:18 +08:00
Jiajie Chen
c8573436e9 Split Driver trait 2020-06-20 14:35:59 +08:00
Jiajie Chen
08fc526521 Port to riscv #1 2020-06-20 10:06:35 +08:00
Jiajie Chen
8bd384d048 Fix vfork 2020-06-16 17:09:44 +08:00
Jiajie Chen
5d05bccdd5 Add UserPtr, rewrite poll by async 2020-06-16 09:31:54 +08:00
Jiajie Chen
172e2e75e0 Use async for syscall 2020-06-15 20:51:20 +08:00
Jiajie Chen
a73fdde6ac Add executor and naive-timer 2020-06-15 18:38:59 +08:00
Jiajie Chen
18f862ca48 Upgrade aarch64 for llvm_asm change 2020-06-15 17:28:48 +08:00
Runji Wang
3ae186de10 update dependencies 2020-06-15 17:14:41 +08:00
Jiajie Chen
39ffdbb3e7 Bump to nightly-2020-06-04 and use llvm_asm instead of asm 2020-06-15 16:56:21 +08:00
Jiajie Chen
ad4ea951e3 Don't enable kvm by default 2020-06-12 08:53:43 +08:00
function2-llx
98d3f83a12 fix ctrl+C 2020-05-31 19:07:54 +08:00
function2-llx
da5a7993b4 implement ctrl+C 2020-05-30 23:12:25 +08:00
function2-llx
ff54128273 Merge branch 'master' of github.com:rcore-os/rCore 2020-05-22 23:10:54 +08:00
function2-llx
5c7b637c97 shm 2020-05-16 07:04:42 +08:00
Liu Xiaoyi
0d41db4991
Fixed noncontiguous frame allocated in DMA initialization 2020-05-15 14:59:03 +08:00
function2-llx
14f418f663 add wait_timeout for condvar, support timeout in futex wait 2020-05-13 19:56:50 +08:00
Liu Xiaoyi
838513e05c
Cargo.lock & format 2020-05-13 15:12:15 +08:00
function2-llx
0c4d53f8d4 fix getdents64: set inode id and file type properly 2020-05-13 02:05:31 +08:00
function2-llx
d32027a645 run make 2020-04-27 03:08:23 +08:00
function2-llx
f98db379ff fix time 2020-04-26 14:20:09 +08:00
function2-llx
6e5e91a10a record time in metadata 2020-04-26 02:04:09 +08:00
function2-llx
db9ef2112b symlink 2020-04-25 18:41:41 +08:00
function2-llx
c50d25dba9 fix fork 2020-04-19 23:40:37 +08:00
function2-llx
c740b67a52 Merge branch 'master' of github.com:rcore-os/rCore 2020-04-19 19:47:41 +08:00
equation314
395b8b51c1 Updata rcore-fs version to 7e7c74a
Support non-zero return value for INode::io_control()
2020-04-14 20:24:27 +08:00
function2-llx
d777f59118 run shell 2020-04-11 10:05:49 +08:00
Runji Wang
139544f946 update Rust nightly to 2020-04-06 2020-04-06 17:19:05 +08:00
equation314
d10997f90f Update Rust nightly to 2020-03-23. 2020-04-05 22:01:43 +08:00
equation314
c7f64461d0 Bump rboot version 2020-04-05 21:35:07 +08:00
equation314
332830b7c4 Update rcore-fs version 2020-04-04 23:48:39 +08:00
Runji Wang
a395d5ea10 move virtio drivers to external crate 2020-03-24 22:27:21 +08:00
Jiajie Chen
36a1ed98c8 Bump rcore-fs revision for newer bitvec version 2020-03-24 18:21:33 +08:00
Runji Wang
3723dde083 update dependencies and CI badge 2020-01-29 20:09:04 +08:00
Runji Wang
9c2459f2f0 update Rust nightly to 2020-01-17. remove dependence of cargo-xbuild. 2020-01-29 11:57:14 +08:00
Jiajie Chen
ab8356f28d Bump rboot and user commit, update Cargo.lock and fix addr2line.py 2020-01-29 10:59:39 +08:00
Runji Wang
af83913188 fix data racing on thread crate
The key point is that all methods on 'Processor' must be called with interrupt disabled. Otherwise if an interrupt happened inside a method, and then the thread is switched to other CPUs, it will touch other 'Processor'.
2019-11-30 18:11:26 +08:00
Runji Wang
7d1a37a7bf update Rust nightly to 2019-11-28
- disable hard float on mips to avoid LLVM error
- update smoltcp and fix drivers for API change
- update atomic.patch for libcore on riscv
- update rboot to fit new nightly
2019-11-30 15:48:09 +08:00
Runji Wang
b11e1b9be1 update user submodule and thread crate
fix some bugs in ucore programs found at OSTrain2019
2019-10-06 13:47:55 +08:00
equation314
6a7c72dbde aarch64: add mutex for KERNEL_MEMORY_SET, update bcm2837 2019-10-05 00:11:50 +08:00
equation314
90c2cd28f8 aarch64: use new cache & TLB maintenance operations 2019-10-04 23:25:42 +08:00
equation314
fee3e87110 aarch64: SMP works in qemu!!! 2019-09-28 23:39:09 +08:00
equation314
c6a4792f13 aarch64: update crate bcm2837 to use local timer 2019-09-28 01:30:29 +08:00
equation314
f76208542b aarch64: add map_kernel() function
* create fine-grained mappings in memory::init()
* put physical memory mappings to 0xFFFF_8000_0000_0000
* reuse ioremap() for framebuffer memory
2019-09-26 02:25:02 +08:00
equation314
48d7fb091a aarch64: no longer use bootloader, enable paging in entry.S 2019-09-24 20:12:28 +08:00
Runji Wang
a07822a446 x86_64: fix for real hardware. remove legacy drivers. 2019-09-13 23:00:00 +08:00
Jiajie Chen
0778f8f84c Bump rcore-console version, fixing mipsel compilation 2019-09-11 23:48:10 +08:00
Runji Wang
c2a80c54f9 x86_64: switch from legacy BIOS to UEFI. use rboot as new bootloader
- remove dependencies: rust-osdev/{bootloader, bootimage}
- remove kernel stack segment
- find a bug: IDT should be initialized after GDT
2019-09-04 10:37:31 +08:00
equation314
2237d2e5bd aarch64: pass bootinfo from bootloader to kernel 2019-08-30 18:22:28 +08:00
equation314
fa30f5f96b aarch64: fix bus address for mailbox property 2019-08-28 21:38:50 +08:00