From 0befcbe2af0155c0e0f96c9ac1112302497750bc Mon Sep 17 00:00:00 2001 From: bzt Date: Fri, 13 Dec 2019 18:01:16 +0100 Subject: [PATCH] Finally found that stupid gzip bug in BIOS version --- bootboot.bin | Bin 11776 -> 11776 bytes x86_64-bios/tinf.inc | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bootboot.bin b/bootboot.bin index 91aa6a8f5a25adb8b36bfbd9433a01da25f9bc26..d5124d11448963ef6d8e608b8195e6df5f7977f8 100644 GIT binary patch delta 23 ecmZpOX^3GDT_yf<0|Wm?_8b{Tr_CiYJ%RvbPY2-u delta 23 ecmZpOX^3GDT_yf<1B1Xu_8b{T$IT@&J%RvbRR`e! diff --git a/x86_64-bios/tinf.inc b/x86_64-bios/tinf.inc index f2d16bf..fc22bef 100644 --- a/x86_64-bios/tinf.inc +++ b/x86_64-bios/tinf.inc @@ -28,14 +28,14 @@ ;* ;IN: -; esi: gzipped initrd +; esi: gzipped initrd (without gzip header) ; edi: output buffer (guaranteed to be big enough) ; ecx: output buffer size tinf_uncompress: push ecx push edi mov edi, tinf_bss_start - mov ecx, tinf_bss_end-tinf_bss_start + mov ecx, tinf_bss_end-tinf_bss_start+1 xor al, al repnz stosb pop edi