Claims
- 1. A device driver for dynamically allocating memory to a RAM disk, the device driver comprising:(a) means for determining an amount of memory required by the RAM disk; (b) means for allocating the required amount of memory to the RAM disk; (c) means for determining whether allocated memory is in use by the RAM disk for storage of data; and, (d) means for releasing, from the RAM disk, memory not in use by the RAM disk for storage of data.
- 2. The device driver of claim 1 wherein the means for allocating the required amount of memory includes:(a) a memory manager; and, (b) means for requesting from the memory manager the required amount of memory.
- 3. The device driver of claim 1 wherein the means for releasing memory includes:(a) a memory manager; and, (b) means for informing the memory manager of addresses of memory to be released.
- 4. A method for dynamically allocating memory to a RAM disk, the method comprising:(a) determining an amount of memory required by the RAM disk; (b) allocating the required amount of memory to the RAM disk; (c) determining whether allocated memory is in use by the RAM disk for storage of data; and, (d) releasing, from the RAM disk, memory not in use by the RAM disk for storage of data.
- 5. The method of claim 4 wherein allocating the required amount of memory includes requesting from a memory manager the required amount of memory.
- 6. The method of claim 4 wherein releasing memory includes informing a memory manager of addresses of memory to be released.
- 7. A system for dynamically allocating memory to a RAM disk, the system comprising:(a) a memory manager; (b) means for determining an amount of memory required by the RAM disk; (c) means for requesting the required amount of memory from the memory manager; (d) means for determining whether allocated memory is in use by the RAM disk for storage of data; and, (e) means for releasing unused memory to the memory manager.
- 8. The system of claim 7 wherein the means for means for releasing unused memory includes:(a) a memory manager; and, (b) means for informing the memory manager of addresses of
CROSS REFERENCE TO RELATED APPLICATION(S)
This is a continuation of application Ser. No. 09/031,504 filed on Feb. 26, 1998 U.S. Pat. No. 6,223,267.
US Referenced Citations (7)
Continuations (1)
|
Number |
Date |
Country |
| Parent |
09/031504 |
Feb 1998 |
US |
| Child |
09/686532 |
|
US |