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