diff options
author | 2013-12-19 21:30:02 +0000 | |
---|---|---|
committer | 2013-12-19 21:30:02 +0000 | |
commit | 9a2348d86080120ab330c46640a9a446b0603c10 (patch) | |
tree | f8a37664fc21abac20b9415995df44177d473601 /lib/libc | |
parent | Split out strncpy and strncat from strcpy and strcat manuals. (diff) | |
download | wireguard-openbsd-9a2348d86080120ab330c46640a9a446b0603c10.tar.xz wireguard-openbsd-9a2348d86080120ab330c46640a9a446b0603c10.zip |
Mtrr stops being a pseudo-device. We need to probe the cpu type and
initialize the structures when we see the first cpu. We also need to
initialize each cpu's properly (for PAT) before we setup mtrr on that
cpu. On i386 (late hatch) we were getting this desperately wrong on
the primary cpu.
After suspend/resume, we also need to do the same work. re-initialize
PAT before mtrr. On some laptops apparently PAT was not turned on by the
BIOS, so we ended up with incorrect setup for the primary cpu. Oops.
This makes mplayer on the x201 (and similar) machines work without weird
pauses after a suspend/resume. Many other things are likely fixed.
ok kettenis
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions