]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Some BIOSes are known for corrupting low 64KB between suspend and resume.
authorJung-uk Kim <jkim@FreeBSD.org>
Wed, 15 Feb 2012 21:32:05 +0000 (21:32 +0000)
committerJung-uk Kim <jkim@FreeBSD.org>
Wed, 15 Feb 2012 21:32:05 +0000 (21:32 +0000)
commitceb9fa549ffa52d456ce2e85a72261a322b5d5f0
treeacb8f5c8cc9d1cfc3ddb4d1d2589b10d5620364c
parentc693bd2ff623a07e8e7ea7e9e3f4bd81643d0de4
Some BIOSes are known for corrupting low 64KB between suspend and resume.
Mask off the first 16 pages unless we appear to be running in a VM.  This
address may be overridden by 'hw.physmem.start' tunable from loader.
Note Linux used to have a BIOS quirk table for this issue but it seems they
made it default recently.
sys/amd64/amd64/machdep.c