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

1561 Commits

Author SHA1 Message Date
Runji Wang
a99f4396eb clean and improve code 2019-10-24 19:44:42 +08:00
LoremKang
0b05a58e3b update submodule rboot & user. format the code. 2019-10-24 15:50:46 +08:00
LoremKang
4da6a1471a support SEM_UNDO. now support all 3 syscall without safety check. 2019-10-22 23:23:30 +08:00
LoremKang
702ea47ae8 fix the deadlock bug. semaphores now work well without SEM_UNDO. 2019-10-22 16:15:03 +08:00
LoremKang
e6b4c77c05 solve a potential unwrap error. deadlock when child lock first. 2019-10-22 14:58:48 +08:00
LoremKang
a180c3b4bb solve the deadlock problem & sometimes pass test. 2019-10-22 14:30:23 +08:00
LoremKang
198717c071 try to solve the deadlock problem caused by locking SemArray while waiting for Semaphores. 2019-10-22 13:48:17 +08:00
LoremKang
d4d57a5095 finish semctl.setval. pass compilation. 2019-10-21 15:33:40 +08:00
HongboKang
c241ec1f5b finish semget & semop. write a small test on semget. 2019-10-21 14:55:17 +08:00
HongboKang
64cdfa277f pass compilation with semget and part of semop. 2019-10-18 02:16:32 +08:00
HongboKang
374c34cd34 write code for semget and semop. not compiled yet. 2019-10-14 23:30:20 +08:00
Bran
3caa091ec5 solve forktest problem, release zombie process when parent process exits. (#21) 2019-10-14 01:36:48 +08:00
gjz010
7f769d280a Bugfix: x86_64 module compilation failure (#20) 2019-10-10 01:43:37 +08:00
Chen
7e1cb319e5
Merge pull request #19 from rcore-os/travis
Add Docker and update user
2019-10-06 18:39:41 +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
Runji Wang
2cc56b56b5 add Dockerfile and update README 2019-10-05 19:35:41 +08:00
Runji Wang
fa4a7ea8af travis: speed up on macOS 2019-10-05 19:35:41 +08:00
Yuekai Jia
60a2835290
Merge pull request #18 from equation314/dev
Support SMP for AArch64
2019-10-05 17:40:50 +08:00
equation314
44f1c8e8c3 aarch64: Add some comments for SMP booting 2019-10-05 15:45:32 +08:00
equation314
3069e17d78 Remove unnecessary lazy_static 2019-10-05 13:02:43 +08:00
equation314
9f6cb5966d Fix typo 2019-10-05 13:00:47 +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
acd7ee945a Flush I/D cache after copying user code in page fault handler
* Now SMP works in real machine with no bugs!!!
2019-10-04 14:05:20 +08:00
equation314
444ce34859 aarch64: SMP works in real machine, but still have bugs 2019-10-03 21:04:22 +08:00
equation314
344ff85a21 Pass the environment variable SMP to consts::SMP_CORES 2019-09-29 15:36:43 +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
Runji Wang
4adb902fb4
Merge pull request #16 from equation314/dev
Refactor aarch64 kernel paging
2019-09-26 13:15:20 +08:00
Yuekai Jia
c99266c013
Merge branch 'master' into dev 2019-09-26 11:29:39 +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
Runji Wang
5327c4ada0
Merge pull request #15 from rcore-os/travis
Make Travis CI green again!
2019-09-24 20:27:36 +08:00
equation314
48d7fb091a aarch64: no longer use bootloader, enable paging in entry.S 2019-09-24 20:12:28 +08:00
Runji Wang
3b1deac5d6 travis: fix caching qemu 2019-09-24 15:49:40 +08:00
Runji Wang
3beddf12da build: remove filling symbols. prepare command 'make test'. 2019-09-24 14:26:18 +08:00
Runji Wang
f1642ec547 revert Rust toolchain to nightly-2019-07-15 to avoid LLVM bug on mips
Related PR: https://github.com/rust-lang/rust/pull/62592
2019-09-24 01:49:08 +08:00
Runji Wang
2722371d86 mips: fix build 2019-09-24 01:49:08 +08:00
Runji Wang
badcd5330f travis: add missing package 'dtc' on macOS 2019-09-24 01:49:08 +08:00
Runji Wang
d6059f98c5 travis: cache qemu, update brew on macOS 2019-09-24 01:49:08 +08:00
Runji Wang
8dac3f107f travis: remove GCC toolchain, download prebuilt user image from github release 2019-09-24 01:49:08 +08:00
Runji Wang
73bd80b277
Merge pull request #14 from equation314/dev
Fix fnctl nonblock check
2019-09-23 23:33:25 +08:00
equation314
233ccdd914 Fix fnctl nonblock check
musl will add extra flags when set `arg` to `O_NONBLOCK` for non-x86 architecture
2019-09-23 22:16:20 +08:00
Runji Wang
ca66c01a75
Merge pull request #13 from xy-plus/master
error exit will return to shell
2019-09-19 12:47:43 +08:00
fengyuan
0639affc55 error exit will return to shell 2019-09-18 23:38:46 +08:00
Runji Wang
5a2f1d5be0 x86_64: use ACPI address from bootloader 2019-09-14 00:27:39 +08:00
Runji Wang
a07822a446 x86_64: fix for real hardware. remove legacy drivers. 2019-09-13 23:00:00 +08:00
Runji Wang
590df849f3 update Rust toolchain and README
NOTE: MIPS is broken due to a Rust compiler bug
2019-09-11 23:58:52 +08:00
Runji Wang
50d833e420 refactor fb & console mod structure
- move both modules to crate::drivers
- no longer need `probe_fb_info` for each board
2019-09-11 23:58:52 +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