Inventors:
Bryan M. Willman - Kirkland WA
Paul England - Bellevue WA
John D. DeTreville - Seattle WA
Assignee:
Microsoft Corporation - Redmond WA
International Classification:
G06F 1214
US Classification:
711163, 711135, 711206, 711207
Abstract:
A method and system for protecting data on a computer system uses one or more restricted areas of memory to store proprietary or confidential data. The translation lookaside buffer (TLB) is used to regulate access to the restricted memory. When a TLB miss occurs during the execution of a program, the TLB miss handling logic determines whether the program is attempting to access restricted memory. If so, then the TLB miss handling logic determines whether the program is authorized to have access. If the program is not authorized to have access, then the TLB miss handling logic generates an exception, such as an invalid page fault, and the TLB is not loaded. If the program is authorized to have access to the restricted page, then the TLB is loaded with the appropriate address translation. As long as the translation remains in the TLB, future accesses to the page by an authorized program will require no additional checks and no additional CPU time.