[coreboot] [PATCH] WIP - suspend/resume on AMD64 using CBMEM

Rudolf Marek r.marek at assembler.cz
Mon Apr 26 00:41:28 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Attached patch implements again suspend/resume without reserved memory. The
RAMBASE-RAMTOP is backuped to cbmem as ID_SUSPEND/RESUME and then before jumping
to OS restore orig mem data again.

I have a question regarding the size of HIGH tables memory and the size of
CBMEM. Most NB have it hardcoded for high tables - perhaps it is time to fix it too?

The problem with the CBMEM toc location was solved using the NVRAM for data
pointer. I think when this patch is in good shape, one can try to get
Suspend/Resume working on SB710/RS785.

I tested Windows 7 (the build 7100?) and linux - both resumed from suspend ;)

Any comments?


Rudolf
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkvUxRcACgkQ3J9wPJqZRNX5zwCeKIGdBWrmqzz+lrpFyNG0fELO
6O0AoOLwo9/rF17q6rji8K4ycs0hEW3S
=Otx4
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.patch
Type: text/x-diff
Size: 12017 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100426/10df5eba/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a.patch.sig
Type: application/octet-stream
Size: 72 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20100426/10df5eba/attachment.obj>


More information about the coreboot mailing list