Patch vesa_drv for debugging

This commit is contained in:
Emery Hemingway 2021-04-18 10:22:24 +02:00
parent f1759589ad
commit cbeeef067d
2 changed files with 28 additions and 1 deletions

View File

@ -300,7 +300,10 @@ in {
portInputs = with ports; [ dde_linux ];
};
verify = { };
vesa_drv.portInputs = with ports; [ libc x86emu ];
vesa_drv = {
patches = [ ./patches/vesa_drv.patch ];
portInputs = with ports; [ libc x86emu ];
};
vfs = { };
vfs_audit = { };
vfs_block = { };

View File

@ -0,0 +1,24 @@
From 13a30f54420db54681c21ffe282e5d526e71df0c Mon Sep 17 00:00:00 2001
From: Emery Hemingway <ehmry@posteo.net>
Date: Sun, 18 Apr 2021 10:15:58 +0200
Subject: [PATCH] vesa_drv: add debugging messages
---
repos/libports/src/drivers/framebuffer/vesa/main.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/repos/libports/src/drivers/framebuffer/vesa/main.cc b/repos/libports/src/drivers/framebuffer/vesa/main.cc
index cb6079df31..bd38ab383e 100644
--- a/repos/libports/src/drivers/framebuffer/vesa/main.cc
+++ b/repos/libports/src/drivers/framebuffer/vesa/main.cc
@@ -162,5 +162,7 @@ void Component::construct(Genode::Env &env)
/* XXX execute constructors of global statics */
env.exec_static_constructors();
+ Genode::log("Initializing VESA driver");
static Vesa_driver::Main inst(env);
+ Genode::log("VESA driver Initialized");
}
--
2.31.0