[SeaBIOS] eDP Init Failure on Broadwell

Kevin O'Connor kevin at koconnor.net
Sun Jan 3 20:27:39 CET 2016


On Sun, Jan 03, 2016 at 07:13:03PM +0000, CoolStar Organization wrote:
> Here is the cbmem with the debug patch.

Can you try with this debug patch instead?

-Kevin


--- a/src/vgahooks.c
+++ b/src/vgahooks.c
@@ -299,10 +299,19 @@ winent_mb6047_setup(struct pci_device *pci)
  * Entry and setup
  ****************************************************************/
 
+#include "stacks.h"
+
+void VISIBLE32FLAT
+dummy_debug(struct bregs *regs)
+{
+    debug_enter(regs, 1);
+}
+
 // Main 16bit entry point
 void
 handle_155f(struct bregs *regs)
 {
+    call32(dummy_debug, MAKE_FLATPTR(GET_SEG(SS), regs), 0);
     if (!CONFIG_VGAHOOKS) {
         handle_155fXX(regs);
         return;
@@ -320,6 +329,7 @@ handle_155f(struct bregs *regs)
 void
 handle_157f(struct bregs *regs)
 {
+    call32(dummy_debug, MAKE_FLATPTR(GET_SEG(SS), regs), 0);
     if (!CONFIG_VGAHOOKS) {
         handle_157fXX(regs);
         return;



More information about the SeaBIOS mailing list