wok-current diff linld/stuff/src/VCPI.ASM @ rev 19580
linld: add -b switch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 24 19:16:59 2016 +0100 (2016-12-24) |
parents | e428345df29a |
children | 38eb1fe036b4 |
line diff
1.1 --- a/linld/stuff/src/VCPI.ASM Thu Dec 22 21:06:17 2016 +0100 1.2 +++ b/linld/stuff/src/VCPI.ASM Sat Dec 24 19:16:59 2016 +0100 1.3 @@ -407,6 +407,9 @@ 1.4 global _vm2rm:near 1.5 proc _vm2rm near 1.6 1.7 + extrn _vcpi:byte 1.8 + test [_vcpi],-1 1.9 + jz @@ret 1.10 push esi 1.11 ;;pushf 1.12 ;;cli 1.13 @@ -452,6 +455,7 @@ 1.14 ;;popad 1.15 ;;popf 1.16 pop esi 1.17 +@@ret: 1.18 ret ; We don't care much about rest (FS/GS) 1.19 1.20 endp _vm2rm