skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Heap/stack guard pages using a wakeup unit

Patent ·
OSTI ID:1129892

A method and system for providing a memory access check on a processor including the steps of detecting accesses to a memory device including level-1 cache using a wakeup unit. The method includes invalidating level-1 cache ranges corresponding to a guard page, and configuring a plurality of wakeup address compare (WAC) registers to allow access to selected WAC registers. The method selects one of the plurality of WAC registers, and sets up a WAC register related to the guard page. The method configures the wakeup unit to interrupt on access of the selected WAC register. The method detects access of the memory device using the wakeup unit when a guard page is violated. The method generates an interrupt to the core using the wakeup unit, and determines the source of the interrupt. The method detects the activated WAC registers assigned to the violated guard page, and initiates a response.

Research Organization:
International Business Machines Corp., Armonk, NY (United States)
Sponsoring Organization:
USDOE
DOE Contract Number:
B554331
Assignee:
International Business Machines Corporation (Armonk, NY)
Patent Number(s):
8,713,294
Application Number:
12/696,817
OSTI ID:
1129892
Resource Relation:
Patent File Date: 2010 Jan 29
Country of Publication:
United States
Language:
English

References (3)

Program stack handling patent-application October 2006
Memory region access management patent-application August 2007
Efficient and flexible architectural support for dynamic monitoring journal March 2005

Similar Records

Related Subjects