44 Commits (4e3b2fb80f6cbbfd0c5eae1293b754faf9b31997)

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