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

1535 Commits

Author SHA1 Message Date
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
Runji Wang
977c0badcb remove 'runui' makefile command 2019-09-03 12:15:33 +08:00
equation314
d65aba8470 Update FramebufferInfo 2019-09-03 00:27:23 +08:00
equation314
22f5cf93fd aarch64: map framebuffer & set mem attr in bootloader 2019-09-02 21:46:41 +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
equation314
d56a88947e aarch64: set ttbr0_el1 to null for kernel thread, fixed #56 2019-08-28 01:41:47 +08:00
Jiajie Chen
55cfce6c02 Show target in logging, and fix console deadlock 2019-08-23 10:44:24 +08:00
Runji Wang
c881bdc65d move Console to extern crate
also remove x86_64 VGA text mode support
2019-08-16 11:11:49 +08:00
Jiajie Chen
100f3b9525 Implement /dev/{u,}random 2019-08-07 19:22:14 +08:00
Jiajie Chen
655c1f19c2 Move impl_inode default impl to rcore-fs crate 2019-08-07 18:55:35 +08:00
WangRunji
9b4e0e8d60 update travis script 2019-08-07 16:35:38 +08:00
Jiajie Chen
92d878c144 Correctly report rdev of device nodes 2019-08-05 18:20:17 +08:00
Jiajie Chen
287e48adde Only create /dev /tmp directories when they do not exist 2019-08-05 18:01:45 +08:00
WangRunji
78b322e842 update crates 2019-08-02 17:34:55 +08:00
WangRunji
52d72790bc introduce MountFS, mount RamFS at /tmp, mount DevFS at /dev 2019-08-02 17:24:27 +08:00
WangRunji
ab06422a7f update OpenSBI to v0.4 for QEMU virt machine 2019-07-24 22:43:22 +08:00
WangRunji
2db599ab40 fix deprecated warnings 2019-07-24 22:43:15 +08:00
WangRunji
f132e61c98 simplify including DTB file using include_bytes!() 2019-07-24 22:41:26 +08:00
Jiajie Chen
08b59be1ae Use updated ACPI crate to parse ACPI in x86 2019-07-17 09:43:49 +08:00
Jiajie Chen
0b0e364fcd Use Option to replace usage of MaybeUninit in paging 2019-07-05 10:53:26 +08:00
Jiajie Chen
de6d5b6d54 Fix rv32 page table panic 2019-06-30 16:54:18 +08:00
Jiajie Chen
7a2383eba6 Fix unused unsafe for mipsel and riscv32 2019-06-30 16:26:54 +08:00
Jiajie Chen
5dc74c60d2 Use ..= instead of ... 2019-06-30 15:54:33 +08:00
Jiajie Chen
5f9cbc7b2c Eliminate stable feature and unused unsafe warnings 2019-06-30 15:50:43 +08:00
Jiajie Chen
96357e63df Bump rust version to newer nightly and use acpi crate to print acpi info 2019-06-30 03:41:50 +08:00
Jiajie Chen
087e18b202 Implement reboot in sys_reboot 2019-06-30 01:33:07 +08:00