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

65 Commits

Author SHA1 Message Date
Jiajie Chen
66af7473eb Do not use alloc::prelude 2019-04-02 08:52:13 +08:00
Jiajie Chen
4c528be778 Fix comment in AHCI 2019-04-02 08:12:26 +08:00
WangRunji
05d714ff27 improve AHCI mod stage 2 2019-04-01 16:15:58 +08:00
WangRunji
8d92b7b985 simplify AHCI mod stage 1 2019-03-31 00:58:50 +08:00
WangRunji
11c5609171 refactor PCI mod using pci crate 2019-03-30 23:48:33 +08:00
Jiajie Chen
d9bdaf9875 Fix AHCI not working on newer versions of QEMU 2019-03-30 16:03:16 +08:00
Jiajie Chen
3dff84c686 Fix last commit for pci device probing 2019-03-30 10:14:46 +08:00
Jiajie Chen
2da17d7fcd Replace IDE with AHCI driver 2019-03-30 10:03:08 +08:00
Jiajie Chen
cbba658e22 Implement ATA IDENTIFY DEVICE via AHCI interface 2019-03-30 00:06:27 +08:00
WangRunji
b836b11792 reformat code using cargo fmt 2019-03-27 18:45:24 +08:00
Jiajie Chen
5c33191765 Implement automatic tests using kernel cmdline 2019-03-26 16:05:21 +08:00
Jiajie Chen
556d263d8e Implement sys_openat and sys_renameat 2019-03-24 00:36:13 +08:00
Jiajie Chen
0edfc07939 Allow page fault handler to bypass process lock and fix thread pool wakeup for exited process 2019-03-23 23:50:30 +08:00
Jiajie Chen
9f03bfc849 Add rand module for ip port randomization and use ethernet default mtu in ixgbe 2019-03-23 18:23:02 +08:00
Jiajie Chen
1444fb4c42 Respect INTERP loader command in ELF and load the interpreter instead 2019-03-23 01:32:08 +08:00
Jiajie Chen
4e0c18914f Implement sys_sendfile 2019-03-23 00:20:25 +08:00
Jiajie Chen
abd93e49e3 Implement write_at for virtio_blk driver 2019-03-22 23:14:41 +08:00
Jiajie Chen
c7b34a7f72 Use enable_irq explicitly in ixgbe driver 2019-03-22 12:33:48 +08:00
Jiajie Chen
6725ca10ab Fix IXGBE driver with drop and update user with working userland networking 2019-03-20 19:04:07 +08:00
Jiajie Chen
56f8f128ba Fix ixgbe driver 2019-03-20 16:43:40 +08:00
Jiajie Chen
e3b7efbc94 Move ixgbe to isomorphic_drivers, and format driver codes 2019-03-20 16:29:42 +08:00
Jiajie Chen
c6be460228 Fix PCI driver detaching 2019-03-20 14:35:37 +08:00
Jiajie Chen
a0d9a8b2de Detach driver from the device in sys_map_pci_driver 2019-03-20 13:00:19 +08:00
Jiajie Chen
960ef2e1f8 Implement PCI driver detach and merge NetDriver trait into Driver 2019-03-20 11:36:41 +08:00
Jiajie Chen
cf3b183311 Use jumbo frame in ixgbe 2019-03-20 10:24:45 +08:00
Jiajie Chen
5d601c3ea4 Move socket to global, move and merge functions to net/structs.rs 2019-03-19 18:33:13 +08:00
Jiajie Chen
c4df7cd3af Fix PCI MSI interrupt comment 2019-03-19 14:30:36 +08:00
Jiajie Chen
92d40fae61 Fix missing change in last commit 2019-03-18 20:06:42 +08:00
Jiajie Chen
0d2bc0a7d4 Implement irq allocation and use irq number to identify irq source 2019-03-18 19:58:35 +08:00
Jiajie Chen
c423f10483 Name ixgbe interfaces after systemd's and show link status change event 2019-03-18 19:26:47 +08:00
Jiajie Chen
b7f47235f8 Add support for PCI legacy interrupts 2019-03-18 16:17:01 +08:00
Jiajie Chen
23b4c39ec7 Enlarge tcp send/recv buf for sys_accept() sockets 2019-03-17 11:24:50 +08:00
Jiajie Chen
755f820c41 Enable interrupt throttling, use spin before wait in sys_read and fix sys_bind, sys_poll for udp 2019-03-17 00:33:05 +08:00
Jiajie Chen
236c403f36 Enable ixgbe ip receive checksum 2019-03-16 15:58:32 +08:00
Jiajie Chen
0977814d34 Fix ixgbe and e1000 drivers by adding IFCS bit 2019-03-16 10:05:43 +08:00
Jiajie Chen
e7657356a2 Implement sys_map_pci_device call for mapping BAR into user space 2019-03-16 07:21:54 +08:00
Jiajie Chen
8860f1e4a3 Implement mapping from riscv to x86_64 syscall numbering 2019-03-15 23:55:01 +08:00
Jiajie Chen
9dd576d6a1 Fix ixgbe transmitting 2019-03-14 14:40:52 +08:00
Jiajie Chen
e1bcbe7eb2 Initial ixgbe driver with transitting 2019-03-14 13:20:43 +08:00
Jiajie Chen
71808b49f5 Initial ixgbe driver capable of receiving frames 2019-03-14 09:30:43 +08:00
Jiajie Chen
a6bb042bd9 Support zero timeout in sys_select. Improve e1000 driver speed 2019-03-13 11:41:33 +08:00
Jiajie Chen
02a40b359b Only remap device memory region lazily 2019-03-12 14:33:29 +08:00
WangRunji
40ac510ecd fix compile on riscv & aarch64 2019-03-12 11:49:17 +08:00
Jiajie Chen
781630e06d Implement sys_select and nc is working 2019-03-07 09:47:36 +08:00
WangRunji
9e6483f488 refactor driver: make (Net)Driver Sync. may help avoid deadlock? 2019-03-07 01:00:46 +08:00
Jiajie Chen
42b02453a0 Implement basic version of sys_poll supporting stdin and socket, fix some deadlocks and introduce some others 2019-03-06 20:24:55 +08:00
Jiajie Chen
dcb1b51a5f Improve time-related syscall precision and add some comment for MSI 2019-03-04 23:52:19 +08:00
Jiajie Chen
c6c89198cd Add cmos rtc driver for x86 2019-03-04 16:25:57 +08:00
Jiajie Chen
1a1e39c960 Move socket set to iface, redesign NetDriver trait and implement blocking net syscalls 2019-03-04 15:34:02 +08:00
Jiajie Chen
81176e5561 Implement raw socket for ping and add SocketWrapper struct 2019-03-03 00:44:46 +08:00