wok view 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 source
1 --- memtest86+-5.01/setup.S
2 +++ memtest86+-5.01/setup.S
3 @@ -27,11 +27,10 @@
4 #ljmp $INITSEG, $(reload - start + 0x200)
5 reload:
6 movw $INITSEG, %ax
7 - movw %ax, %ds
8 movw %ax, %es
9 movw %ax, %fs
10 movw %ax, %ss # reset the stack to INITSEG:0x4000-12.
11 - movw %dx, %sp
12 + movw $0x4000-12, %sp
13 push %cs
14 pop %ds
15 lidt idt_48 - start # load idt with 0,0
16 @@ -87,8 +86,8 @@
17 movw $KERNEL_DS, %ax
18 movw %ax, %ds
19 movw %ax, %es
20 - movw %ax, %ss
21 movw %ax, %fs
22 + movw %ax, %ss
23 movw %ax, %gs
25 data32 ljmp $KERNEL_CS, $(TSTLOAD <<4) # jmp offset 2000 of segment 0x10 (cs)