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
Jiajie Chen
e77e09a949
Use IRQ_MANAGER in drivers
2019-06-30 01:11:40 +08:00
Jiajie Chen
dec07da035
Add irq manager for drivers
2019-06-29 21:19:45 +08:00
Jiajie Chen
ffe4fae975
Fix ahci driver and match ahci driver by SATA class
2019-06-28 17:01:31 +08:00
Jiajie Chen
4607e0646d
Fix vga in vmware
2019-06-27 11:28:03 +08:00
Jiajie Chen
a285b242e9
Fix compilation for mipsel
2019-06-16 22:02:25 +08:00
Jiajie Chen
7cfa6a1ee4
Make emmc less verbose
2019-06-16 09:48:50 +08:00
Jiajie Chen
29f084cb59
Unify build{-aarch64}.sh
2019-06-16 09:34:41 +08:00
Jiajie Chen
26e06c5cf4
Fix rv paging abort issue
2019-06-16 09:19:38 +08:00
Jiajie Chen
f09dc0cce0
Fix compilation for riscv
2019-06-16 00:42:04 +08:00
Jiajie Chen
07b75b0a74
Fix fill_symbols aarch64 on macOS
2019-06-16 00:11:25 +08:00
Jiajie Chen
164e94a146
Separate SFSIMG and SFSQCOW2 and fix aarch64 qemu boot
2019-06-16 00:03:32 +08:00
Jiajie Chen
81c77586c6
Adapt fill_symbols for macOS
2019-06-15 23:43:01 +08:00
Jiajie Chen
611c2dd5bf
Align vm area to page boundary and fix musl's reclaim()
2019-06-15 22:26:28 +08:00
Chen
6aded707c4
Merge pull request #59 from gjz010/shared-library
...
Shared library using auxv.
2019-06-13 21:46:13 +08:00
gjz010
da8699c44e
Merge branch 'dev' into shared-library
2019-06-09 19:32:00 +08:00
gjz010
7ad8c6a6d2
Shared library done in a formal way (using auxv). Now kernel loads both loader and program.
...
Known issues: not compatible with musl's reclaim_gaps (crash on __malloc_donate). Removing reclaim makes hello world work.
2019-06-09 19:25:43 +08:00
Jiajie Chen
5ecdb4e656
Change release to mode in Makefile
2019-06-08 22:36:41 +08:00
Chen
dbab9a335d
Merge pull request #57 from gjz010/merge
...
rCore Loadable Kernel Module: Core part
2019-06-08 21:14:37 +08:00
gjz010
7b8252eb1b
Basic loadable kernel module support, with a module template written in Rust.
...
Under aarch64 and x86_64, hello_rust can be built and loaded by `/busybox insmod hello_rust.ko`.
2019-06-07 20:59:51 +08:00
gjz010
da028c1f10
Added virtual memory support for aarch64 and x86_64.
...
1. Memory mapping at KSEG2_START(0xffff_fe80_0000_0000) will now be visible to all processes.
This feature is required by Loadable Kernel Module when mapping kernel module into memory.
2. Wrapping PageTableImpl::active() into ManuallyDrop, so that no extra "mem::forget" is required.
3. Added PageTableImpl::kernel_table(). This function is the same as active() on x86_64, but not the same on aarch64.
2019-06-07 15:57:18 +08:00
Jiajie Chen
8e5e798d78
Do not print to graphci console unless graphic=console on aarch64
2019-06-03 09:47:57 +08:00
Jiajie Chen
d8ea224283
Fix mgba merge
2019-06-03 09:46:27 +08:00
Jiajie Chen
a42d4b4d26
Merge branch 'mgba' into dev
2019-06-03 09:44:28 +08:00
Jiajie Chen
fa7e38951a
Merge branch 'sdcard' into dev
2019-06-03 09:36:54 +08:00
Jiajie Chen
82cbf364c4
Merge remote-tracking branch 'rcore/dev' into dev
2019-06-03 09:36:41 +08:00
Jiajie Chen
c8b0014c5f
Remove u-boot support
2019-06-03 09:36:01 +08:00
Jiajie Chen
8b06314828
Format code and update debug code
2019-06-03 09:33:02 +08:00
Jiajie Chen
33513ded94
Merge remote-tracking branch 'sdcard/geminilab' into sdcard
2019-06-03 09:27:21 +08:00
Jiajie Chen
ed720eb186
Bump user
2019-06-02 10:56:17 +08:00
NagiNikaido
730f5d94a6
write() check passed. a minor bug fixed.
2019-05-30 17:06:13 +08:00
NagiNikaido
e20a2ca8e2
Now we can parse the partion entries. Yeeeeaaahh!
2019-05-30 14:57:20 +08:00