[syslinux:elflink] elflink: add early debug hook in core/diskstart.inc

syslinux-bot for Feng Tang feng.tang at intel.com
Thu Aug 12 21:03:17 PDT 2010


Commit-ID:  8ab0286fee4bd8c4e8a47f624b394f6860f48545
Gitweb:     http://syslinux.zytor.com/commit/8ab0286fee4bd8c4e8a47f624b394f6860f48545
Author:     Feng Tang <feng.tang at intel.com>
AuthorDate: Fri, 18 Jun 2010 14:50:46 +0800
Committer:  Feng Tang <feng.tang at intel.com>
CommitDate: Tue, 20 Jul 2010 11:10:04 +0800

elflink: add early debug hook in core/diskstart.inc



---
 core/diskstart.inc |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/core/diskstart.inc b/core/diskstart.inc
index 85be027..34ac20c 100644
--- a/core/diskstart.inc
+++ b/core/diskstart.inc
@@ -616,6 +616,8 @@ verify_checksum:
 		jnz .checksum
 		pop ds
 
+		mov si,cbios_name
+		call writestr_early
 		and eax,eax			; Should be zero
 		jz all_read			; We're cool, go for it!
 
@@ -709,10 +711,11 @@ all_read:
 ; Let the user (and programmer!) know we got this far.  This used to be
 ; in Sector 1, but makes a lot more sense here.
 ;
-		mov si,copyright_str
-		call writestr_early
-
+		;mov si,copyright_str
+		;call writestr_early
 
+		mov si,ebios_name
+		call writestr_early
 ;
 ; Insane hack to expand the DOS superblock to dwords
 ;
@@ -746,6 +749,14 @@ expand_super:
 		mov si,[bsHeads]
 		mov di,[bsSecPerTrack]
 		movzx ebp,word [MaxTransfer]
+
+		mov si,ebios_name
+		call writestr_early
+
 		pm_call fs_init
+
+		mov si,ebios_name
+		call writestr_early
+
 		pm_call load_env32
 		popad



More information about the Syslinux-commits mailing list