Chameleon

Chameleon Commit Details

Date:2011-09-20 12:43:17 (12 years 7 months ago)
Author:JrCs
Commit:1544
Parents: 1543
Message:Fix resume hibernation see: http://www.projectosx.com/forum/index.php?showtopic=1647&view=fin dpost&p=15988
Changes:
M/trunk/i386/boot2/resume.c

File differences

trunk/i386/boot2/resume.c
139139
140140
141141
142
143
142
144143
145144
146145
mem_base = getmemorylimit() - allocSize;//TODO: lower this
printf("mem_base %x\n", mem_base);
// Rek : hibernate fix
if (!((long long)mem_base+allocSize<1024*bootInfo->extmem+0x100000))
if (((long long)mem_base + allocSize) < (1024 * bootInfo->extmem + 0x100000))
{
printf ("Not enough space to restore image. Press any key to proceed with normal boot.\n");
getchar();

Archive Download the corresponding diff file

Revision: 1544