virtio-gpu: start working on the scheme

Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
Anhad Singh
2023-07-03 17:12:59 +10:00
parent 4bbda21f0b
commit 7cc2f4eff7
15 changed files with 394 additions and 25 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ fn main() {
let mut width = 0;
let mut height = 0;
let mut display_opt = File::open("display:input").ok();
let mut display_opt = File::open("display/vesa:input").ok();
if let Some(ref display) = display_opt {
let mut buf: [u8; 4096] = [0; 4096];
if let Ok(count) = syscall::fpath(display.as_raw_fd() as usize, &mut buf) {