Author: weiden
Date: Tue Aug 29 19:50:53 2006
New Revision: 23782
URL:
http://svn.reactos.org/svn/reactos?rev=23782&view=rev
Log:
Make sure writes to video_mem are not optimized away
Modified:
branches/powerpc/reactos/boot/freeldr/freeldr/arch/powerpc/mach.c
Modified: branches/powerpc/reactos/boot/freeldr/freeldr/arch/powerpc/mach.c
URL:
http://svn.reactos.org/svn/reactos/branches/powerpc/reactos/boot/freeldr/fr…
==============================================================================
--- branches/powerpc/reactos/boot/freeldr/freeldr/arch/powerpc/mach.c (original)
+++ branches/powerpc/reactos/boot/freeldr/freeldr/arch/powerpc/mach.c Tue Aug 29 19:50:53
2006
@@ -30,7 +30,7 @@
BOOLEAN AcpiPresent = FALSE;
char BootPath[0x100] = { 0 }, BootPart[0x100] = { 0 }, CmdLine[0x100] = { 0 };
jmp_buf jmp;
-char *video_mem = 0;
+volatile char *video_mem = 0;
void le_swap( void *start_addr_v,
void *end_addr_v,