CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/08/27 10:54:23
Modified files:
sys/arch/amd64/stand/efiboot: conf.c exec_i386.c
Log message:
Improve write un-protecting of kernel memory. For the Computrace module
on the HP EliteBook 830 G6 we added a workaround which tries to re-map
the pages where we want to place to kernel read-write. On some machines
though this workaround causes a regression. Fix those by changing a few
things: Only set the writeable bit if it isn't set yet. Un-protect
write-protected page directories. Skip lower levels if large-page is
set, since the next level is already a page. Don't do anything at all
if paging is disabled.
>From Christian Ehrhardt
ok bluhm@ tobhe@