diff options
author | Janez Zemva | 2017-09-04 21:03:29 +0200 |
---|---|---|
committer | Janez Zemva | 2017-09-04 21:03:29 +0200 |
commit | 12760a3c06c4e6945ee0cb74834d1cfb2acbbb9e (patch) | |
tree | 29301344d03855c151be458ed08367b4f68654c4 /asm.patch | |
download | aur-12760a3c06c4e6945ee0cb74834d1cfb2acbbb9e.tar.gz |
initial commit
Diffstat (limited to 'asm.patch')
-rw-r--r-- | asm.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/asm.patch b/asm.patch new file mode 100644 index 000000000000..efb3d7b9dcf4 --- /dev/null +++ b/asm.patch @@ -0,0 +1,11 @@ +--- src/libc/go32/dpmiexcp.c ++++ src/libc/go32/dpmiexcp.c +@@ -197,7 +197,7 @@ + + /* check video mode for original here and reset (not if PC98) */ + if(ScreenPrimary != 0xa0000 && _farpeekb(_dos_ds, 0x449) != old_video_mode) { +- asm volatile ("pusha;movzbl _old_video_mode,%eax; int $0x10;popa;nop"); ++ asm volatile ("pusha; int $0x10; popa; nop" : : "a" ((__UINT32_TYPE__)old_video_mode)); + } + en = (signum >= EXCEPTION_COUNT) ? 0 : + exception_names[signum]; |