wok-current diff memtest/stuff/memtest86+-5.01-setup.patch @ rev 19171
Up slitaz-doc (156)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 02 11:44:15 2016 +0200 (2016-06-02) |
parents | |
children | 362c1f0b5004 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/memtest/stuff/memtest86+-5.01-setup.patch Thu Jun 02 11:44:15 2016 +0200 1.3 @@ -0,0 +1,25 @@ 1.4 +--- memtest86+-5.01/setup.S 1.5 ++++ memtest86+-5.01/setup.S 1.6 +@@ -27,11 +27,10 @@ 1.7 + #ljmp $INITSEG, $(reload - start + 0x200) 1.8 + reload: 1.9 + movw $INITSEG, %ax 1.10 +- movw %ax, %ds 1.11 + movw %ax, %es 1.12 + movw %ax, %fs 1.13 + movw %ax, %ss # reset the stack to INITSEG:0x4000-12. 1.14 +- movw %dx, %sp 1.15 ++ movw $0x4000-12, %sp 1.16 + push %cs 1.17 + pop %ds 1.18 + lidt idt_48 - start # load idt with 0,0 1.19 +@@ -87,8 +86,8 @@ 1.20 + movw $KERNEL_DS, %ax 1.21 + movw %ax, %ds 1.22 + movw %ax, %es 1.23 +- movw %ax, %ss 1.24 + movw %ax, %fs 1.25 ++ movw %ax, %ss 1.26 + movw %ax, %gs 1.27 + 1.28 + data32 ljmp $KERNEL_CS, $(TSTLOAD <<4) # jmp offset 2000 of segment 0x10 (cs)