1
0
Fork 0
mirror of https://gitlab.com/bztsrc/bootboot.git synced 2023-02-13 20:54:32 -05:00

Finally found that stupid gzip bug in BIOS version

This commit is contained in:
bzt 2019-12-13 18:01:16 +01:00
parent 09ceab095f
commit 0befcbe2af
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View file

@ -28,14 +28,14 @@
;* ;*
;IN: ;IN:
; esi: gzipped initrd ; esi: gzipped initrd (without gzip header)
; edi: output buffer (guaranteed to be big enough) ; edi: output buffer (guaranteed to be big enough)
; ecx: output buffer size ; ecx: output buffer size
tinf_uncompress: tinf_uncompress:
push ecx push ecx
push edi push edi
mov edi, tinf_bss_start 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 xor al, al
repnz stosb repnz stosb
pop edi pop edi