1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-27 10:13:28 +04:00
Commit Graph

45 Commits

Author SHA1 Message Date
WangRunji
b77a52dccb move bit-allocator and rcore-thread crate to remote 2019-04-04 12:45:55 +08:00
equation314
e4df6d6788 Fix bootloader build failure on aarch64 2019-03-27 12:08:02 +08:00
Jiajie Chen
3a6803af9b Implement O(1) scheduler and add comments for other schedulers 2019-03-24 22:22:44 +08:00
Jiajie Chen
394afa493e Fix TODO in work stealing scheduler 2019-03-24 21:39:15 +08:00
WangRunji
4faa8a65ae Move kernel to a new directory 2018-07-13 12:25:39 +08:00
WangRunji
7b4cc6d772 Fix log crate 2018-07-12 20:46:02 +08:00
WangRunji
b26fee1990 Make more mods common for both x86_64 & riscv32. 2018-07-10 17:07:03 +08:00
WangRunji
bf2ad7c6a5 Change target arch to RISCV32IMA. Recover some dependencies. 2018-07-06 22:33:28 +08:00
WangRunji
37564cb9fd Change build target to riscv32ia_unknown_none 2018-07-06 01:24:35 +08:00
WangRunji
a44231435f Fork crate riscv as a submodule 2018-07-05 14:17:30 +08:00
WangRunji
ced765fb5b New crate bbl, port sbi mod. 2018-07-04 22:04:59 +08:00
WangRunji
211aeff841 Add bbl as bootloader 2018-07-04 16:23:11 +08:00
WangRunji
c0193e69e6 Clear all code, make it compile for RISCV in docker. 2018-07-03 22:27:55 +08:00
WangRunji
ade0f0110f Use PageTable interface in OS 2018-06-23 19:11:41 +08:00
WangRunji
0e2cccef9e Use uart_16550 crate 2018-06-20 00:24:07 +08:00
WangRunji
f707d7e757 Fit new rust nightly. Update dependencies. 2018-06-19 23:43:40 +08:00
WangRunji
4817f69acb Update x86_64 to 0.2.3. FIXME: SMP 2018-06-17 01:22:43 +08:00
WangRunji
f3d62a5b8f Replace AreaFrameAllocator by BitAllocator. Set opt-level=1 to avoid stack overflow. 2018-06-03 19:29:11 +08:00
WangRunji
58c8fc86d1 Fix 'make run' 2018-05-22 00:54:18 +08:00
WangRunji
f4091c4d7e Change package name 2018-05-21 00:01:53 +08:00
WangRunji
7d644966d2 Try to fix travis 2018-05-20 22:49:27 +08:00
WangRunji
950fe4fedc Use crate log. Print with color in console. 2018-05-19 18:42:08 +08:00
WangRunji
731d6319e4 Can load user programs from sfs.img (hard linked). 2018-05-18 11:49:27 +08:00
WangRunji
4d6925a562 Fork (not finished). Not depend on boot_info after remap_kernel. 2018-05-13 21:13:57 +08:00
WangRunji
82739d3d3d Update crate multiboot2 to 0.5 . Get section's name. 2018-05-12 12:05:01 +08:00
WangRunji
8ce3173c3d Link a user program from xv6-x86_64 in. Add elf crate. 2018-04-28 10:40:31 +08:00
WangRunji
7b3b59bf1e Update crate bitflags to 1.0 2018-04-17 20:55:12 +08:00
WangRunji
156034c3d1 Support timer IRQ from PIC 2018-04-15 00:45:57 +08:00
WangRunji
a76bfbc7f8 Copy PIC mod from Redox 2018-04-14 20:18:59 +08:00
WangRunji
8c7ca612e7 Add example of binding C 2018-04-11 21:27:11 +08:00
WangRunji
c446d2bb5e Add test for travis 2018-04-09 21:20:47 +08:00
WangRunji
2e405a0393 Auto exit in qemu 2018-04-09 17:02:18 +08:00
WangRunji
5bf407de7c Split vga_buffer.rs to VGA driver and VGA writer 2018-04-05 00:58:23 +08:00
WangRunji
53bb54330c Update crate to fix compile error 2018-04-03 21:42:23 +08:00
Philipp Oppermann
f651987666 Add a dependency on bit_field 2017-11-19 14:24:33 +01:00
Philipp Oppermann
7becaf5f30 Add a dependency on lazy_static 2017-11-19 14:21:51 +01:00
Philipp Oppermann
ad211de615 Use linked list allocator instead of bump allocator 2017-11-19 14:20:46 +01:00
Philipp Oppermann
f2bbe43099 Use once crate to ensure that memory::init is only called once 2017-11-19 14:20:45 +01:00
Philipp Oppermann
eb5c9afa51 Add a dependency on the x86_64 crate 2017-11-19 11:42:16 +01:00
Philipp Oppermann
f957f2ecde Add a dependency on the bitflags crate 2017-11-19 10:39:17 +01:00
Philipp Oppermann
5f65e1d31f Add dependency on multiboot2 crate 2017-11-19 10:39:13 +01:00
Philipp Oppermann
40aed4fa0f Create a static WRITER protected by a spinlock 2017-11-19 10:39:05 +01:00
Philipp Oppermann
0ed21fb943 Use volatile writes for printing to screen 2017-11-19 10:31:00 +01:00
Philipp Oppermann
5d8758df59 Add a dependency on rlibc 2017-11-18 11:10:17 +01:00
Philipp Oppermann
8e5a85ece4 Create a new no_std cargo project 2017-05-12 21:31:28 +02:00