×

Method and apparatus for reclaiming memory

  • US 6,141,722 A
  • Filed: 05/31/1995
  • Issued: 10/31/2000
  • Est. Priority Date: 05/31/1995
  • Status: Expired due to Term
First Claim
Patent Images

1. In a computer system that runs in two modes, a first-mode having a first addressing range, and a second mode having a second addressing range that is greater than and includes the first addressing range, a method of reclaiming memory occupied by first-mode software components when the system switches from first-mode to second-mode to run a second-mode application in memory, the method comprising the following steps:

  • splitting first-mode software components into a non-removable core portion stored in one part of memory in the first addressing range and a removable portion relocated to another part of memory in the first addressing range;

    starting a second-mode application in memory;

    determining which first-mode software components in memory are functionally equivalent to second-mode components of a second-mode application;

    modifying the non-removable core portion of a first-mode software component to refer to an equivalent second-mode component, wherein the modifying step includes;

    storing the first-mode removable and non-removable core portions in another storage location for later retrieval;

    replacing all references to the first-mode removable portion in the first-mode non-removable core portion with references to the equivalent second-mode component; and

    replacing all execution paths in the first-mode non-removable core portion that travel through the first-mode removable portion with execution paths through the second-mode component that circumvent the first-mode removable portion; and

    reclaiming memory in the first addressing range occupied by the removable portion of the first-mode component.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×