Displaying 5 results from an estimated 5 matches for "adjust_drive".
2017 Mar 18
0
isohybrid boot from logical partition
...tion information */
2:
movl 8(%si), %ecx
#endif
1:
/* We have no partition information */
pushl %ebx /* -4: partoffset_hi */
pushl %ecx /* -8: partoffset_lo */
pushw %es /* -10: es:di -> $PnP header */
pushw %di /* -12: es:di -> $PnP header */
movw %bp, %ds
movw %bp, %es
ADJUST_DRIVE
pushw %dx /* -14: dl -> drive number */
/* Copy down to 0:0x600 */
movw $0x7c00, %si
movw $_start, %di
movw $(512/2), %cx
rep; movsw
ljmpw $0, $next
next:
/* Check to see if we have EBIOS */
pushw %dx /* drive number */
movb $0x41, %ah /* %al == 0 already */
Here it claims that...
2012 Aug 10
1
[PATCH 4/4] Support sectors >512
...io <frediano.ziglio at citrix.com>
---
mbr/gptmbr.S | 42 +++++++++++++++++++++++++++++-------------
1 files changed, 29 insertions(+), 13 deletions(-)
diff --git a/mbr/gptmbr.S b/mbr/gptmbr.S
index b0c11b9..f0955b2 100644
--- a/mbr/gptmbr.S
+++ b/mbr/gptmbr.S
@@ -77,6 +77,12 @@ next:
ADJUST_DRIVE
pushw %dx /* 0(%bp) = %dl -> drive number */
+ movw %sp, %bp /* %bp -> frame pointer: LEAVE UNCHANGED */
+
+ /* prepare to read sector size */
+ sub $0x1c, %sp /* -28(%bp) == %sp */
+ pushw $0x1e /* -30(%bp) == %sp */
+ movw $0x200, -6(%bp) /* -6(%bp) sector size */
/* Check to see if...
2013 Feb 08
6
[PATCH] 4k_sector: Support dynamic sectors in GPT MBR
This patches add support for dynamic sectors to GPT MBR code.
First 3 patches are trick and optimizations to gain some space for the forth
patch.
I have a modified version of SeaBIOS, some code and some script o test it
I'll send on a different mail.
2017 Mar 21
3
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
...quot;
pop %si
#endif
movl 8(%si), %ecx
#endif
1:
/* We have no partition information */
pushl %ebx /* -4: partoffset_hi */
pushl %ecx /* -8: partoffset_lo */
pushw %es /* -10: es:di -> $PnP header */
pushw %di /* -12: es:di -> $PnP header */
movw %bp, %ds
movw %bp, %es
ADJUST_DRIVE
pushw %dx /* -14: dl -> drive number */
/* Copy down to 0:0x600 */
movw $0x7c00, %si
movw $_start, %di
movw $(512/2), %cx
rep; movsw
ljmpw $0, $next
next:
/* Check to see if we have EBIOS */
pushw %dx /* drive number */
movb $0x41, %ah /* %al == 0 already */
movw $0x55aa, %bx
x...
2012 Sep 10
19
Initial support for sector size >512
This set of patches add some support for sector size >512.
Currently it fixes extlinux, MBR for GPT and ext partitions.
Other code is unaffected.
This set of patches has been tested on a read Dell machine running a beta
firmware.