wok diff ipxe/stuff/lkrnprefix.S @ rev 15472
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 09 17:34:23 2013 +0000 (2013-11-09) |
parents | 4ae7c7dde4e2 |
children | d038b033c321 |
line diff
1.1 --- a/ipxe/stuff/lkrnprefix.S Mon Oct 14 15:01:17 2013 +0000 1.2 +++ b/ipxe/stuff/lkrnprefix.S Sat Nov 09 17:34:23 2013 +0000 1.3 @@ -104,7 +104,6 @@ 1.4 1.5 start: 1.6 pushw %dx 1.7 - xorw %dx, %dx 1.8 #endif 1.9 cld # assume nothing 1.10 stacktop = 0x9E00 # in 0x8000 .. 0xA000 1.11 @@ -132,6 +131,9 @@ 1.12 pushw %ss 1.13 popw %es # %es = %ss = INITSEG 1.14 xorw %ax, %ax # %ax = 0 1.15 +#ifdef EXE_SUPPORT 1.16 + cwd # %dx = 0 1.17 +#endif 1.18 movw $zeroed/2, %cx # clear gdt + offset, %ds, limits 1.19 rep # don't worry about cld 1.20 stosw # already done above