http://svn.reactos.org/svn/reactos/branches/powerpc/reactos/boot/freeldr/fre...
==============================================================================
--- branches/powerpc/reactos/boot/freeldr/freeldr/arch/powerpc/mach.c (original)
+++ branches/powerpc/reactos/boot/freeldr/freeldr/arch/powerpc/mach.c
Tue
Aug 29 11:16:16 2006 @@ -30,6 +30,7 @@ BOOLEAN AcpiPresent = FALSE; char BootPath[0x100] = { 0 }, BootPart[0x100] = { 0 }, CmdLine[0x100] =
{
0 }; jmp_buf jmp; +char *video_mem = 0;
void le_swap( void *start_addr_v, void *end_addr_v,
To avoid incorrect code generation with enabled optimizations, the variable video_mem needs to be defined as:
volatile char *video_mem = NULL;
- Thomas