Commit Graph

68 Commits

Author SHA1 Message Date
Jeremy Soller 9d7e19cc0d Merge branch 'core' into 'master'
virtio-core: add support for legacy transport

See merge request redox-os/drivers!112
2023-08-23 12:26:44 +00:00
Anhad Singh 6a5e9d2613 virtio-core: add support for legacy transport
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-08-23 15:03:46 +10:00
Jeremy Soller ac9e4abcd0 virtio-core: Fix compilation on non-x86_64 2023-08-21 09:21:35 -06:00
Anhad Singh 820b8370ae virtio-gpu: remove the +1 workaround
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-07-25 16:34:25 +10:00
Anhad Singh a153c8bc1c inputd: correctly pass on resize events
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-07-20 19:20:56 +10:00
Anhad Singh e457f03935 virtio-gpu: handling GPU resets
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-07-20 17:34:59 +10:00
4lDO2 e4374ac60d Switch to common::dma::Dma in virtio-*. 2023-07-18 13:47:15 +02:00
4lDO2 c63c266400 Remove physmap in virtio. 2023-07-18 11:01:16 +02:00
Anhad Singh 5c4e7b36fa make getty work
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-07-07 16:51:46 +10:00
Anhad Singh 2f2720263f drivers: add inputd
Take out the input coalescing from `vesad` into `inputd`.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-07-05 11:12:53 +10:00
Anhad Singh 7cc2f4eff7 virtio-gpu: start working on the scheme
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-07-03 17:12:59 +10:00
Anhad Singh 4bbda21f0b drivers: start building virtio-gpu
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-29 16:37:59 +10:00
Anhad Singh a720cf6f44 virtio-core::probe: make sure the addr is aligned
sys_physmap() requires the address to be page aligned. This fixes the
panic inside the `virtio-gpu` driver.

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-29 16:36:02 +10:00
Anhad Singh c898e2e01f virtio-core: make send async
This allows for us to do cool stuff such as
`join!(queue.send(read_command), queue.send(write_command),
queue.send(read_command_2))`

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-29 14:21:34 +10:00
Anhad Singh 92fd7fc553 virtio-core::ChainBuilder: automagically add the NEXT flag
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-28 15:06:23 +10:00
Anhad Singh 97e77e21b6 virtio-net: scheme :^)
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-28 12:58:51 +10:00
Anhad Singh 6968a548d9 virtiod: rename to virtio-blkd
* Rename to `virtio-blkd`
* Start working on `virtio-netd`

Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-06-27 10:26:04 +10:00
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