Commit Graph

3361 Commits

Author SHA1 Message Date
Ian Douglas Scott d893a73e1e ahcid: fix atapi capacity detection 2018-03-11 18:24:23 -07:00
Jeremy Soller a081f9e2ff Remove IRQ debug print 2018-03-10 16:03:21 -07:00
Jeremy Soller 329750afb9 Remove debug prints 2018-03-10 16:02:06 -07:00
Jeremy Soller 5bccc80152 Fix rtl8168 driver 2018-03-10 15:12:55 -07:00
Jeremy Soller 7fbb2c32e2 Fix BAR variables 2018-03-01 08:24:24 -07:00
Jeremy Soller 452c586bd0 Merge pull request #28 from dlrobertson/update_pci_parsing
Allow PCI Config space parsing to handle types
2018-03-01 08:18:41 -07:00
Dan Robertson 4d349192da Allow PCI Config space parsing to handle types
- Update the PCI config space parsing to be able to handle multiple
   types.
 - Use a trait to abstract out reading from the config space in order to
   allow testing/fuzzing of the parser.
2018-02-27 22:46:30 +00:00
Dan Robertson 57cb6cbbef Merge pull request #18 from dlrobertson/update_use_of_timestamp
Use smoltcp::time types instead of u64 timestamps
2018-02-16 03:07:48 +00:00
Dan Robertson 76d8feae8d Use smoltcp::time types instead of u64 timestamps
smoltcp is moving towards using time::Duration and time::Instant instead
of a u64 timestamp.
2018-02-16 02:59:09 +00:00
Jeremy Soller 42adde5809 Resize ps2d bounding box when vesad resizes 2018-02-06 09:52:14 -07:00
Jeremy Soller 501c3581ea Merge pull request #27 from xTibor/fix-unicode
vesad: Fix Unicode character input
2018-02-05 22:13:02 -07:00
Tibor Nagy 1b60f10b0e vesad: Fix Unicode character input
Characters beyond 0x80 now properly encoded as UTF-8.
2018-02-06 05:02:55 +01:00
Jeremy Soller 33fc507b6a Merge pull request #26 from dlrobertson/add_range_config
Allow using a device ID range in toml config
2018-02-04 07:32:32 -07:00
Dan Robertson b332607d77 Allow using a device ID range in toml config 2018-02-04 02:35:36 +00:00
Jeremy Soller ff93aabbe6 Merge pull request #17 from batonius/netcfg_commit
Change netcfg to validate on write and commit on fsync
2018-02-03 07:10:00 -07:00
Egor Karavaev 67a2d7900a netcfg adds/set method 2018-02-03 15:42:06 +03:00
Egor Karavaev cf78d85d64 netcfg commits on fsync 2018-02-03 00:40:30 +03:00
Dan Robertson 9fd9a349d3 Merge pull request #16 from NilSet/license
Add license and readme
2018-01-31 18:29:25 +00:00
Tommie Levy 44e1d6943f Add license and readme 2018-01-31 10:24:43 -08:00
Jeremy Soller 0c52a6a66a Merge pull request #14 from batonius/netcfg
The netcfg scheme
2018-01-30 12:41:01 -07:00
Egor Karavaev 1eeec8eae0 Netcfg notifications. 2018-01-30 22:09:31 +03:00
Jeremy Soller 416206e1db Fix #2 by blocking if more than 64 packets are collected 2018-01-29 21:53:39 -07:00
Egor Karavaev eea72fcef3 Remove closed fd. 2018-01-29 02:00:14 +03:00
Egor Karavaev ae7d9b40f8 netcfg: interface addr node. 2018-01-29 02:00:14 +03:00
Egor Karavaev 1e95808242 netcfg write nodes 2018-01-29 02:00:14 +03:00
Egor Karavaev a7f365d96c Add the netcfg schema. 2018-01-29 02:00:14 +03:00
Jeremy Soller 1461404502 Remove unnecessary unsafe 2018-01-28 14:51:24 -07:00
Jeremy Soller 0897ddff17 Remove unnecessary parens 2018-01-28 14:50:14 -07:00
Jeremy Soller 78cff3f57c Remove unnecessary parens 2018-01-28 14:49:29 -07:00
Jeremy Soller 510af9c1f8 Merge pull request #13 from batonius/dnsd
The dnsd daemon
2018-01-28 14:06:06 -07:00
Egor Karavaev 32c673d814 dnsd timeouts 2018-01-28 23:12:19 +03:00
Egor Karavaev e6dfb7f5b2 Implement the dns: schema. 2018-01-28 22:48:51 +03:00
Egor Karavaev 5fba322823 Add dnds bin. 2018-01-28 22:48:39 +03:00
Jeremy Soller c674239df0 Merge pull request #8 from dlrobertson/use_byteorder
Use byteorder to improve readability
2018-01-23 17:04:13 -07:00
Dan Robertson b3812568fe Use byteorder to improve readability
Use byteorder instead of using less readable bitmasks and shifts.
2018-01-23 23:26:53 +00:00
Jeremy Soller 97e6adadbc Merge pull request #6 from dlrobertson/updatez
Updates to sync with upstream changes
2018-01-09 17:45:48 -07:00
Jeremy Soller 74ed054d50 Merge pull request #23 from ids1024/dma
ahci: refactor duplicated ATA command code into a method
2018-01-07 08:36:37 -07:00
Ian Douglas Scott c8154e7607 ahci: refactor duplicated ATA command code into a method 2018-01-06 23:47:45 -08:00
Jeremy Soller 6394b1b5f0 Merge pull request #22 from ids1024/atapi
ahci: Basic ATAPI support (Needed for CD drives)
2018-01-04 15:41:14 -07:00
Ian Douglas Scott 9de5eb7045 atapi: Implement read support 2018-01-04 14:20:12 -08:00
Ian Douglas Scott 78ab386268 Move capacity reading to seperate method 2018-01-04 12:25:47 -08:00
Ian Douglas Scott c78d4dcff0 ahci: atapi support (incomplete)
It can currently retrieve the capacity; no reads or writes yet.
2018-01-02 23:03:54 -08:00
Jeremy Soller b9ca3b7ce8 Fix time format 2018-01-02 21:52:28 -07:00
Jeremy Soller 16f8738bff Initial commit 2018-01-02 21:51:52 -07:00
Dan Robertson 372d688de9 Updates to sync with upstream changes
polling API for EthernetInterface has changed.
2017-12-25 03:50:48 +00:00
Jeremy Soller 946eb5f95a Merge pull request #5 from dlrobertson/update
Sync with smoltcp updates
2017-12-20 15:41:26 -07:00
Dan Robertson 5d3a830ce7 Sync with smoltcp updates
- Use EthernetInterfaceBuilder instead of EthernetInterface::new
 - smoltcp removed the ArpCache trait in favor of ManagedMap.

NB: This breaks the use of loopback and sending packets to yourself.
2017-12-20 22:16:01 +00:00
Alex Lyon c9bac05f07 Remove warning and add Cargo.lock 2017-12-18 16:09:51 -08:00
Alex Lyon 3158f9c7c0 Move zero scheme from kernel space to user space 2017-12-15 20:13:54 -08:00
Jeremy Soller c11736f74c Merge pull request #21 from ghatdev/master
pcid: fix error E0133
2017-12-06 20:08:09 -07:00