wok-next diff ipxe/stuff/lkrnprefix.S @ rev 15485
libzip: race condition
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 11 07:22:44 2013 +0000 (2013-11-11) |
parents | 6c3718ca17b6 |
children | 6aed6fc5819d |
line diff
1.1 --- a/ipxe/stuff/lkrnprefix.S Sat Nov 09 17:34:23 2013 +0000 1.2 +++ b/ipxe/stuff/lkrnprefix.S Mon Nov 11 07:22:44 2013 +0000 1.3 @@ -203,9 +203,8 @@ 1.4 pushfw // = 286 : flags[12..15] are forced 0 1.5 popw %cx // > 286 : only flags[15] is forced 0 1.6 popfw // restore flags 1.7 - addb %ah, %ch // test F0 and 00 cases 1.8 - cmpb %ah, %ch 1.9 - jbe puts // C=8086/80186, Z=80286 1.10 + cmpb %ah, %ch // test Fx and 0x cases 1.11 + js puts // S= not 386+ 1.12 // smsww %ax 1.13 // andb $1, %al 1.14 // jne puts