Commit Graph

117 Commits

Author SHA1 Message Date
Anhad Singh eee780fa0f virtiod: split into virtio-core and virtiod
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-27 09:51:16 +10:00
Anhad Singh c176903905 virtio-blk: read and scheme
* Minor code cleanup
* Able to read/write from the disk
* Recycle the descriptors (this is currently done inefficiently, will be
  fixed in a follow up commit)
* Add the disk scheme for virtio-blk with working functionality for seek(),
  read() and open()
* After all of this work, we are successfully able to boot redox from
  virtio-blk!! :)

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-23 12:41:07 +10:00
Anhad Singh f750d4223d virtio: perform the device reset
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-19 12:19:57 +10:00
Anhad Singh 1580cb8c83 virtio: stub!
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-19 12:02:35 +10:00
Will Angenent d682fb7994 Update orbclient 2023-04-04 18:21:31 +01:00
Ron Williams 1baac63934 clean up aml symbols 2023-03-29 01:41:13 -07:00
Ron Williams 23be7ed63c Add serde with separate library for definitions 2023-03-27 20:58:59 -07:00
Ron Williams 9333d9acea temporarily use forked library for AML 2023-03-21 17:14:50 -07:00
Jeremy Soller 7d7a706cb3 Update aml to 0.16.3 2023-03-03 18:24:17 -07:00
Jeremy Soller 9ba1358077 Used patched aml 2023-03-02 17:56:19 -07:00
Jeremy Soller 625064004d Update for new Rust nightly 2023-02-11 14:37:22 -07:00
Ron Williams 9c739d7648 Add description text in toml format for each symbol in acpi:/symbols 2023-01-28 22:47:28 -08:00
Jeremy Soller eb7b811c36 Add initial sb16 driver 2023-01-21 14:24:40 -07:00
Jeremy Soller c57b3c8910 rtl8168: enable MSI and MSI-X 2022-11-19 16:18:39 -07:00
Jeremy Soller ff205ad65d ihda: Enable MSI and use pcid channel 2022-11-19 08:18:51 -07:00
Jeremy Soller d7ca6eeeed ac97: add stub driver for AC97 2022-11-15 13:37:31 -07:00
Jeremy Soller 08a1595f54 Implement ided using PIO and code from ahci 2022-09-07 15:28:04 -06:00
Jeremy Soller 41217ad6fa Add ided stub 2022-09-07 12:16:16 -06:00
Jeremy Soller ecb53b977d QEMU USB touchscreen support 2022-08-31 21:15:13 -06:00
Jeremy Soller e70d6b7ffb Update to redox_syscall 0.3.4 2022-08-31 08:46:41 -06:00
Jeremy Soller b13bcf729a Update redox-syscall 2022-08-30 10:34:29 -06:00
4lDO2 af873f7626 Update redox_syscall dependency. 2022-07-27 17:55:39 +02:00
4lDO2 21e30b7339 Replace syscall::clone() with libc::fork(). 2022-07-27 16:25:01 +02:00
4lDO2 322af701d6 Use aligned addresses in physmap. 2022-07-27 15:33:21 +02:00
Jeremy Soller 860821c150 Support compilation on more architectures 2022-07-26 16:01:54 -06:00
Jeremy Soller fd45fa2818 Update Cargo.lock 2022-07-26 15:21:04 -06:00
4lDO2 07f10fb4d1 Update redox_syscall to v0.2.12 2022-03-24 16:06:00 +01:00
4lDO2 d426ffacea Update toolchain to 2022-03-18. 2022-03-19 15:06:29 +01:00
Jeremy Soller c5a1013bc2 rtl8168d: use syscall::Daemon 2022-03-01 20:34:27 -07:00
Jeremy Soller d40a908cfd Add logging to usbhidd 2022-02-14 09:38:40 -07:00
Jeremy Soller 36b3af4262 ihdad logging 2021-12-01 16:14:15 -07:00
4lDO2 7a2b3d7656 Update dependencies. 2021-06-17 18:18:27 +02:00
Jeremy Soller 5a279d4081 Use redox-log in ahcid 2021-06-01 21:37:52 -06:00
4lDO2 c6efa649be Add DMAR parsing.
In the future, this will probably be moved into its own driver, probably
called `intelvtdd` or `intelvfiod`. This is because `acpid` already
provides an interface to read from ACPI tables, which `pcid` has used
for quite long (when that scheme was provided by the kernel). AMD
implements IOMMU as a PCI function, so letting these be separate drivers
would certainly be beneficial.

The same thing might apply for HPET or MADT, which are the only ACPI
tables still parsed in the kernel.
2021-03-13 12:34:56 +01:00
4lDO2 5d661eab59 Successfully load physical SDTs, and handle kstop*
Well, while it does now wait for the kstop pipe, that is not to say that
it actually performs the ACPI shutdown... yet.
2021-03-10 14:38:43 +01:00
4lDO2 be984885bb WIP: Move ACPI code from kernel to drivers. 2021-03-10 11:24:27 +01:00
jD91mZM2 c255a869ba Don't use a local dependency lmao 2020-10-29 15:57:09 +01:00
jD91mZM2 ca2b3fa2d4 Update to cargo release of redox_syscall 2020-08-27 17:55:01 +02:00
jD91mZM2 ac64d09186 vesad: Provide legacy fmap implementation 2020-08-17 16:28:02 +02:00
jD91mZM2 321f708d0f vesad: Update redox_syscall 2020-08-17 14:39:25 +02:00
Jeremy Soller be101621cc Update to newer syscall 2020-08-02 15:25:03 -06:00
Wren Turkal 65982d5e02 Add more structure cli to pcid.
This change adds a structopt commandline interface to the pcid tool.
This add some help for the arguments that pcid takes.

Signed-off-by: Wren Turkal <wt@penguintechs.org>
2020-08-01 18:16:31 +00:00
4lDO2 6bd4bb814f Support xHCs that only support 32-bit physical addresses. 2020-06-18 19:17:20 +00:00
Jeremy Soller 7ccf8d27b0 Remove pbr patch 2020-05-28 11:54:30 -06:00
Jeremy Soller 713058f183 Update dependencies, add patches 2020-05-22 09:06:03 -06:00
4lDO2 cbeb0070ec WIP: Asyncify namespace identification. 2020-04-29 20:44:38 +02:00
4lDO2 6c2f103841 WIP: Complete the NVME CQ reactor (doesn't compile yet) 2020-04-29 19:35:48 +02:00
4lDO2 e6a46bb6a6 Begin with NVME MSI support. 2020-04-25 23:02:16 +02:00
4lDO2 7b69d5b9b5 WIP: Use the enhanced pcid IPC. 2020-04-22 21:21:55 +02:00
4lDO2 fe95c942ac Add pcid logging. 2020-04-22 18:27:43 +02:00