WangRunji
54de0d8ae7
remove once crate. fix bitvec crate commit id.
6 years ago
Jiajie Chen
2f6f8ef9bc
Add syscall timing using rdtsc
6 years ago
Jiajie Chen
bfd4f8a2a4
Add initial support for Rocket Chip platform
6 years ago
WangRunji
45c2ec0b17
works on K210!
6 years ago
WangRunji
e01d23e526
replace riscv-pk by OpenSBI !
6 years ago
WangRunji
48c40497ac
update crate uart_16550 to v0.2. deny unused_must_use.
6 years ago
WangRunji
b566925626
fix Makefile on RISCV and PC
6 years ago
Jiajie Chen
41dab25f9c
Merge remote-tracking branch 'origin/master' into dev
6 years ago
Harry Chen
358e682bad
Enable PCI initialization for matal, update mips crate and user app repo
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
88bda7c4a0
Use Linux syscall number for mips N32 ABI, update user app
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
a2e98d73fd
Extract serial driver and add mipssim board for mipsel
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
9f7f82a72d
Fix compilation errors in drivers
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Jiajie Chen
55df9ca892
Initial support for ioctl SIOCGARP
6 years ago
WangRunji
b77a52dccb
move bit-allocator and rcore-thread crate to remote
6 years ago
WangRunji
c9a68634f5
simplify FdSet using bitvec crate
6 years ago
Harry Chen
f8a62b5549
Merge remote-tracking branch 'origin/master' into mipsel
6 years ago
Harry Chen
015cc72aa4
Fix malta drivers
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
4ddcdeb004
Complete DTS for qemu-malta
...
Signed-off-by: Harry Chen <i@harrychen.xyz>
6 years ago
Harry Chen
b6f1b3c926
Merge remote-tracking branch 'origin/master' into mipsel
6 years ago
Yuhao Zhou
95b9fe5f5b
Add timer for mips.
6 years ago
Yuhao Zhou
a78916c57e
Add MIPS target.
6 years ago
WangRunji
11c5609171
refactor PCI mod using pci crate
6 years ago
Jiajie Chen
311cf104f9
Many minor fixes to allow gcc to run inside rCore. Add some syscalls, fix SEEK_* and enlarge the heap
6 years ago
WangRunji
c2a90e2ab1
update dependencies
6 years ago
Jiajie Chen
5c33191765
Implement automatic tests using kernel cmdline
6 years ago
Jiajie Chen
e3fb47a03e
Remove m-mode and k210 support.
6 years ago
WangRunji
fc584753c1
update crate x86_64 to v0.5, bootloader to v0.4
6 years ago
Jiajie Chen
e3b7efbc94
Move ixgbe to isomorphic_drivers, and format driver codes
6 years ago
WangRunji
442e1f4d0f
merge bbl crate to kernel
6 years ago
WangRunji
d9bb072cbd
update riscv crate
6 years ago
WangRunji
d0202c945e
test and fix something on HiFiveU
6 years ago
equation314
28ce8ba81c
update URL to new organization
6 years ago
Jiajie Chen
2ada090430
Use buddy_system_allocator for a drop inreplacement for linked_list_allocator
6 years ago
WangRunji
6e7e9149ee
update URL to new organization
6 years ago
equation314
18626a2a19
Merge branch 'bootloader' into biscuit
6 years ago
WangRunji
a3edd38046
fix VGA color on x86_64
6 years ago
WangRunji
e70cac58c8
refactor x86_64 VGA using console-traits crate
6 years ago
equation314
f3d47f4b02
aarch64: move crate bcm2837 to remote
6 years ago
equation314
68b967b48e
aarch64: move crate `atags` into crate `bcm2837`
6 years ago
equation314
b94ba7759e
add aarch64 bootloader framework
6 years ago
Jiajie Chen
6124cd60fc
Add basic implementation for syscall: connect and write
6 years ago
WangRunji
6e8a0e20ab
fix device compile error, update crate pc_keyboard
6 years ago
WangRunji
08c8d89974
update SFS to new rcore-fs
6 years ago
WangRunji
7927c7c168
Merge branch 'thread' into biscuit
...
# Conflicts:
# kernel/src/process/mod.rs
# kernel/src/process/structs.rs
# kernel/src/syscall.rs
6 years ago
Jiajie Chen
8313b8854e
cherry-pick virtio improvement from lab8-rv32
...
Move mandelbrot to test mod, cleanup virtio feature negotiation and add addr2line script to Makefile
Implement full virtqueue operations, virtio input driver
Use new virtqueue implementation for virtio net driver
Implement virtio blk device support and use it instead of memory sfs when available
fix dirty hack for virtio_blk
6 years ago
WangRunji
2303a8099b
update Rust compiler to support riscv64
6 years ago
WangRunji
ac0c19cdb0
support Sv39
...
To test: make run arch=riscv64 board=u540
6 years ago
WangRunji
66c84b4599
update to x86_64 0.4
6 years ago
WangRunji
5bffce787b
rename 'process' crate to 'thread'
6 years ago
WangRunji
047f4ffdcc
cherry-pick jiegec's work ( #3 ) from lab8-rv32: virtio drivers, network stack
...
Read and parse dtb upon boot
Implement virtio net device detection
Negotiate feature bits for virtio-net
Read MAC address from virtio-net device and detect virtqueues
Receiving from virtio net device is working for the first time
Implement driver interface and interrupt handling routines
Rearrange drivers into upper directory
Implement initial support for processing arp request and reply packet
Refactor MAC address and IPv4 address into structs, and implement ICMP echo reply
Fix typos
Implement initial support for virtio gpu driver
Complete first working version of virtio gpu driver with mandelbrot example
Use smoltcp and implement a udp and tcp server on top of it
Cleanup virtio net code
6 years ago