/* Check the WP status in CR0 register. This bit is used to lock or unlock write access to pages marked as read-only. */
STATIC BOOLEAN IsReadOnlyPageWriteProtected(VOID)
/* Check the WP status in CR0 register. This bit is used to lock or unlock write access to pages marked as read-only. */
STATIC BOOLEAN IsReadOnlyPageWriteProtected(VOID)
{
  return ((AsmReadCr0 () & BIT16) != 0);
}