Steffen Winterfeldt
2006-Jun-19 14:47 UTC
[syslinux] syslinux 3.11/3.20-pre initrd loading bug
If you load more than one initrd syslinux doesn't clear the memory between them. Or rather, the code for it does not work. The patch below fixes it. Steffen --- loadhigh.inc +++ loadhigh.inc @@ -65,7 +65,10 @@ push edi ; <C> Target buffer mov cx,ax xor bx,bx ; ES:0 + push dx call getfssec ; Load the data into xfer_buf_seg + ; getfssec destroys dx! + pop dx pop edi ; <C> Target buffer pop ecx ; <B> Byte count this round push ecx ; <B> Byte count this round
Seemingly Similar Threads
- [PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT; Try 2
- [PATCH 1/1] COMBOOT API: Add calls for directory functions; Implement for FAT
- [PATCH] Gfxboot COMBOOT module
- [RFC][PATCH] Gfxboot COMBOOT module
- "isolinux.bin missing or corrupt" when booting USB flash drive in old PC