overdue-scratch

Author Topic: Not enough space to restore image in RC4 - incl. Fix  (Read 4600 times)

0 Members and 1 Guest are viewing this topic.

Memphiz

  • Entrant
  • Posts: 1
Not enough space to restore image in RC4 - incl. Fix
« on: December 30, 2009, 02:47:15 PM »
Hi there,

i've got the error "Not enough space to restore image..." when waking from deep sleep. This should have been fixed with the patch from the following thread:

http://forum.voodooprojects.org/index.php/topic,562.msg2332.html#msg2332

Unfortunately this patch wasn't included correctly in RC4. There are some parentheses missing. Find the attached patch for fixing this issue (diff against RC4-r684).

bye

Memphiz

PS: In my Opinion the "if (!(long long)mem_base+allocSize<1024*bootInfo->extmem+0x100000) " in some cases wrongly results in "true" because "!(long long)mem_base" is treated as bool and therefore allways 0.

Terc

  • Forum Moderator
  • Posts: 129
Re: Not enough space to restore image in RC4 - incl. Fix
« Reply #1 on: December 30, 2009, 04:37:50 PM »
Thank you!
 ;D

Now to get this and the GMA enabler patched in together.