Ignore:
Timestamp:
Feb 12, 2008, 11:14:35 AM (12 years ago)
Author:
gb
Message:

On a write to the (usually write-protected) pure area, just unprotect
the page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/x86-exceptions.c

    r8460 r8471  
    638638      handler = protection_handlers[a->why];
    639639      return handler(xp, a, addr);
     640    } else {
     641      if ((addr >= readonly_area->low) &&
     642          (addr < readonly_area->active)) {
     643        UnProtectMemory((LogicalAddress)(truncate_to_power_of_2(addr,log2_page_size)),
     644                        page_size);
     645        return true;
     646      }
    640647    }
    641648  }
Note: See TracChangeset for help on using the changeset viewer.