1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-22 16:16:16 +04:00
Commit Graph

1868 Commits

Author SHA1 Message Date
Runji Wang
a395d5ea10 move virtio drivers to external crate 2020-03-24 22:27:21 +08:00
Jiajie Chen
1f75b26945 Run cargo fmt 2020-03-24 20:27:49 +08:00
Jiajie Chen
3e742b7cbc Fix compilation for mipsel target 2020-03-24 20:21:59 +08:00
Jiajie Chen
8cbe626c6a Use snake case in memory crate 2020-03-24 20:12:54 +08:00
Jiajie Chen
d5c0e0d58c Run cargo fmt 2020-03-24 20:03:02 +08:00
Jiajie Chen
5fb1fb08c8 Merge remote-tracking branch 'rcore/master' into orig-Loremkang 2020-03-24 19:56:45 +08:00
Runji Wang
e9aa7235ac
Merge pull request #38 from rcore-os/fix-debug-mode
Fix debug mode issue #37
2020-03-24 19:37:12 +08:00
Jiajie Chen
c0be01319b Don't create len=0 slices in iov 2020-03-24 18:44:25 +08:00
Jiajie Chen
36a1ed98c8 Bump rcore-fs revision for newer bitvec version 2020-03-24 18:21:33 +08:00
Chen
94d9003efe
Merge pull request #36 from equation314/fix-raspi-irq
ARM: Use RwLock to wrap raspi3 IRQ handler
2020-03-24 15:39:51 +08:00
equation314
79baa289f4 ARM: Use RwLock to wrap raspi3 IRQ handler 2020-03-24 15:09:18 +08:00
function2-llx
2e2aac3e89 makefile 2020-03-23 22:30:18 +08:00
Chen
cd81f4cc73
Add .align 4 to fix potential alignment problem, see issue #33 (#34) 2020-02-17 21:26:06 +08:00
Chen
a838a1fb9a
Remove dependency on cargo-binutils (#32)
Remove dependency on cargo-binutils
2020-02-01 13:45:25 +08:00
Runji Wang
b51bf3dc48 update LICENSE 2020-02-01 13:26:38 +08:00
Runji Wang
f66c8d29cd uppercase arguments in Makefile 2020-02-01 13:25:55 +08:00
Runji Wang
ab06b2cd55 remove dependency cargo-binutils 2020-02-01 12:47:43 +08:00
Chen
b8b961b4ee
Merge pull request #31 from rcore-os/actions
Switch to GitHub Actions
2020-01-29 20:38:05 +08:00
Runji Wang
3723dde083 update dependencies and CI badge 2020-01-29 20:09:04 +08:00
Runji Wang
fc5c82be28 ci: add GitHub Actions 2020-01-29 17:42:08 +08:00
Runji Wang
e19c6a336c
Merge pull request #27 from rcore-os/update-toolchain
Update Rust nightly version
2020-01-29 15:24:05 +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
Hongbo Kang
ed5471ff3d support basic shm syscall & pass test. 2020-01-02 16:33:15 +08:00
康鸿博
eb99232432 add shmget, shmat, shmdt syscall and pass compilation. 2020-01-02 14:16:00 +08:00
康鸿博
7c7031e5d0 Use offset instead of virtAddrAddress in shared memory guard, provide basis for sys_shm. Merge branch 'master' into shared_memory 2019-12-31 21:23:06 +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
20f8b45888 riscv: rename 'arch/riscv32' to 'arch/riscv' 2019-11-30 15:48:12 +08:00
Runji Wang
915ef6f95e riscv: use -bios option for QEMU 4.1
And remove prebuilt OpenSBI for virt, since it's included in QEMU.
Ref: https://qemu.weilnetz.de/doc/qemu-doc.html#Deprecated-features B.1.15
2019-11-30 15:48:12 +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
54fddfbe1d
Merge pull request #26 from ssryps/master
implement epoll
2019-11-18 16:22:29 +08:00
Jiajie Chen
52afd05946 Run code format 2019-11-18 13:59:12 +08:00
LoremKang
1a4eefe69f passed test on mmap shared. 2019-11-08 06:47:10 +08:00
LoremKang
b5c08c2825 add support for mmap shared memory. passed compilation. 2019-11-08 02:36:55 +08:00
ssryps
0a1e422cac change code structure 2019-11-07 22:57:13 +08:00
ssryps
f6e5769a51 fix some bug 2019-11-06 10:02:14 +08:00
ssryps
ec1d588890 optimize code structure 2019-11-04 14:34:43 +08:00
ssryps
47f8a7d6eb modification for pull request 2019-11-03 23:35:15 +08:00
ssryps
a81bb579ef epoll module complete 2019-11-03 23:35:15 +08:00
ssryps
93a4962205 fix a bug of epoll module 2019-11-03 23:35:10 +08:00
ssryps
14f0965bd2 finish epoll implementation 2019-11-03 23:35:10 +08:00
ssryps
47e01cc79e include user changes 2019-11-03 23:34:41 +08:00
ssryps
ba09ab92a8 modify select implementation 2019-11-03 23:34:26 +08:00
ssryps
0aa995d98c improve the implementation of poll 2019-11-03 23:34:26 +08:00
ssryps
67fdb49ed9 add lab1 report and test file 2019-11-03 23:34:26 +08:00
ssryps
d1c2a2c731 finish lab1 2019-11-03 23:34:26 +08:00
Runji Wang
3bf737eaad
Merge pull request #24 from xy-plus/master
Improve fb driver for userspace gui programs
2019-11-02 15:07:24 +08:00
Runji Wang
7d849f8d30 fix fb_bitfield for all pixel formats 2019-11-02 01:28:02 +08:00
Runji Wang
242cbfa76c implement sys_pselect6, same as sys_select 2019-11-02 00:56:48 +08:00
Runji Wang
1ee6796346 init FramebufferInfo for VirtIOGPU 2019-11-01 17:14:43 +08:00