diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-06-05 18:48:43 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-06-05 18:48:43 -0700 |
commit | 35cb26904488947c9950bbc10dfac3f69b25510b (patch) | |
tree | a653bd002e4b6314ab7cd5cf7f323bac34e65b1a | |
parent | f6d5a4edb7bd591190973be3b681a4f944bdd265 (diff) | |
download | syslinux-35cb26904488947c9950bbc10dfac3f69b25510b.tar.gz |
vesacon_set_background: Need "volatile" asmsyslinux-3.50-pre20
-rw-r--r-- | com32/lib/sys/vesa/background.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/com32/lib/sys/vesa/background.c b/com32/lib/sys/vesa/background.c index 586ee2ea..0c5a0571 100644 --- a/com32/lib/sys/vesa/background.c +++ b/com32/lib/sys/vesa/background.c @@ -261,10 +261,10 @@ int vesacon_set_background(unsigned int rgb) if (__vesacon_pixel_format == PXF_NONE) return 0; /* Not in graphics mode */ - asm("cld; rep; stosl" - : "+D" (bgptr), "+c" (count) - : "a" (rgb) - : "memory"); + asm volatile("cld; rep; stosl" + : "+D" (bgptr), "+c" (count) + : "a" (rgb) + : "memory"); draw_background(); return 0; |