Skip to content
Commit edd18c8f authored by Leandro Pereira's avatar Leandro Pereira Committed by Anas Nashif
Browse files

arch: x86: Better document that CR0.WP will also be set when CR0.PG is



Setting bit CR0.WP (bit 16) will inhibit supervisor threads from
writing to RO pages.  It's a necessary flag to be set, and the constant
name CR0_PAGING_ENABLE didn't reflect the fact that the 16th bit was
being set.

Signed-off-by: default avatarLeandro Pereira <leandro.pereira@intel.com>
parent 8e15353d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment