Commit Graph

112 Commits

Author SHA1 Message Date
bjorn3 fe4f0880af Couple of minor cleanups
Among other things this removes the seek implementation as it doesn't
seem to be used and didn't do anything anyway.
2024-01-14 19:10:47 +01:00
bjorn3 f64a6e4c6f Remove text mode support from vesad
This is now handled by fbcond
2024-01-14 18:22:52 +01:00
bjorn3 b3b1fb1726 Remove VtMode::Text
It isn't used anywhere.
2024-01-13 19:36:08 +01:00
bjorn3 5c591cf475 Merge Display into GraphicScreen 2024-01-13 19:32:24 +01:00
bjorn3 24d1f95de3 Minor change 2024-01-13 19:25:49 +01:00
bjorn3 5f6edc7adc Fix warnings 2024-01-13 19:20:37 +01:00
bjorn3 5375d9e97d Remove some GraphicScreen direct fields accesses from TextScreen 2024-01-13 19:17:25 +01:00
bjorn3 6be07a3015 Use GraphicScreen inside TextScreen
In preparation for moving TextScreen to a separate daemon.
2024-01-13 17:30:52 +01:00
bjorn3 1a698dec98 Move text rendering to vesad::screen::text 2024-01-13 16:24:34 +01:00
bjorn3 ee2a36b889 Remove rusttype support from vesad
It is never enabled and would add a fair amount of complexity to a
system service which has effective root access despite sandboxing due to
being able to read and write display contents and input device events.
2024-01-13 16:11:36 +01:00
4lDO2 a6fee75f15 Phase out / in scheme names. 2023-11-09 14:39:57 +01:00
4lDO2 fc1dc21b13 Use updated mmap_prep decl. 2023-08-03 10:50:48 +02:00
4lDO2 ca6ea9b81a Use scheme trait for mmap_prep. 2023-08-03 10:50:48 +02:00
4lDO2 d90edb0808 Implement improved mmap in vesad. 2023-08-03 10:50:48 +02:00
Anhad Singh 71a6eb1bb2 inputd: add -A command to activate a VT
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-07-25 19:20:04 +10: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 440d6381f9 inputd: rework display events
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-07-22 18:34:20 +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 a0d233030b Remove physmap in vesad. 2023-07-18 11:01:16 +02:00
Anhad Singh 95a84c8cbf inputd: fix failure to switch VT after inital switch
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-07-15 16:29:48 +10: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 7cc2f4eff7 virtio-gpu: start working on the scheme
Signed-off-by: Anhad Singh <andypython@protonmail.com>
2023-07-03 17:12:59 +10:00
4lDO2 a5a3f3341f Remove all usages of physunmap. 2023-06-11 11:33:27 +02:00
Noa e673b4e3b1 Use the free functions in std::alloc instead of Global as AllocRef 2023-05-30 13:01:45 -05:00
Jeremy Soller 24022dc37a Use Super for screen toggle, allowing apps to use function keys 2022-12-17 15:40:40 -07:00
Jeremy Soller 163a6b525e vesad: support partial sync 2022-12-16 08:27:20 -07:00
Jeremy Soller a4a3c4f7e8 vesad: Support multiple displays 2022-09-25 16:46:13 -06:00
Jeremy Soller cbcf133518 vesad: use framebuffer stride 2022-09-16 13:28:04 -06:00
4lDO2 21e30b7339 Replace syscall::clone() with libc::fork(). 2022-07-27 16:25:01 +02:00
Jeremy Soller 860821c150 Support compilation on more architectures 2022-07-26 16:01:54 -06:00
4lDO2 d426ffacea Update toolchain to 2022-03-18. 2022-03-19 15:06:29 +01:00
Jeremy Soller 64b49f10a0 Fix vesad rusttype feature 2022-02-28 14:23:47 -07:00
Jeremy Soller 5e3248ce26 Get vesad framebuffer from env 2022-02-05 19:57:11 -07:00
4lDO2 7a2b3d7656 Update dependencies. 2021-06-17 18:18:27 +02:00
4lDO2 be984885bb WIP: Move ACPI code from kernel to drivers. 2021-03-10 11:24:27 +01:00
jD91mZM2 85411f2f91 vesad: fix embarassing bug from last commit 2020-08-17 17:00:12 +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
Jeremy Soller b99671d8bb Wait for vesad to create display: before continuing 2020-07-16 16:33:29 -06:00
Jeremy Soller 41f689bec3 vesad: handle EOF 2019-07-18 21:17:13 -06:00
Roland Ruckerbauer b50437af8a Fixed deprecated syntax in vesad
2018 edition upgrade & fixes for a bunch of 'future error warnings'

Actually upgrading all crates to 2018 edition
2019-06-29 21:47:52 +02:00
Jeremy Soller e090281086 Support for new fevent 2019-03-13 13:58:55 -06:00
Jeremy Soller c47c68f44c Update fmap support 2018-12-28 16:19:09 -07:00
Jeremy Soller 8a52c84f1a Update to new alloc API 2018-06-19 17:44:51 -06:00
jD91mZM2 fd5b7b2921 Make it edge-triggered 2018-06-04 05:37:18 +02:00
Jeremy Soller 32a58c3b64 Update event crate 2018-05-20 15:19:40 -06:00
Jeremy Soller 9bc5c5197e Fix mistaken use of flags 2018-05-20 13:40:14 -06:00
Jeremy Soller 1fc5ebd797 Make vesad handle events per handle 2018-05-20 13:37:01 -06:00