Claims
- 1. A computer system, said computer system comprising:a central processing unit connected to a host bus; a system memory having an addressable memory space comprising a plurality of bytes of storage, wherein each of said plurality of bytes of storage has a unique address; a first memory controller connected to said host bus, said first memory controller connected to a first portion of said system memory; a second memory controller connected to said host bus, said second memory controller connected to a second portion of said system memory; a bus connecting a peripheral components interconnect (PCI) device to said first memory controller and to said host bus, said PCI device being controlled by a driver; and a memory bank allocation table, said memory bank allocation table capable of containing said unique addresses of said first portion of said system memory; wherein said driver references said memory bank allocation table in order to determine a range of said system memory connected to said first memory controller to permit said driver to allocate some of said first portion of said system memory.
- 2. A computer system as in claim 1, wherein said memory bank address table contains a version number.
- 3. A computer system as in claim 1, wherein said memory bank address table contains a bus number.
- 4. A computer system as in claim 1, wherein said memory bank address table contains a valid entry bitmap.
- 5. A computer system as in claim 1, wherein said memory bank address table contains an array of decode ranges.
- 6. A computer system as in claim 5, wherein said decode ranges of said memory bank address table each contain a begin field.
- 7. A computer system as in claim 5, wherein said decode ranges of said memory bank address table each contain an end field.
- 8. A computer system as in claim 1, wherein said memory bank address table is created by BIOS.
- 9. A method of allocating local memory for a device, said method comprising the steps of:(a) providing an operating system; (b) providing a driver; (c) calling an ACPI method of said operating system with said driver; (d) retrieving a memory bank address table from said operating system; (e) reading said memory bank address table with said driver in order to determine ranges of system memory local to the device; and (f) allocating system memory local to the device based upon said ranges determined in said step (e).
- 10. A method as in claim 9 wherein the device is a peripheral components interconnect (PCI) compatible device.
- 11. A method as in claim 9 wherein the device is an AGP device.
- 12. A method of allocating local memory for a device, said method comprising the steps of:(a) providing an operating system having a memory manager; (b) providing a driver; (c) calling an ACPI method of said operating system with said driver; (d) retrieving a memory bank address table from said operating system; (e) calling said memory manager to allocate a range of system memory for said device; (f) comparing said range of system memory allocated in said step (e) with said memory bank address table to determine if said range of system memory is physically located on a core logic chipset connected to said device; and (g) repeating said steps (e) and (f) until sufficient system memory has been allocated.
- 13. A method as in claim 12, said method further comprising the step of:(h) releasing system memory determined not to be local to said device in said step (f).
- 14. A method as in claim 12 wherein said device is a PCI device.
CROSS REFERENCE TO RELATED APPLICATION
This patent application is related to commonly owned U.S. patent applications Ser. No. 07/926,422, filed on Sep. 9, 1997, entitled “SYSTEM AND METHOD FOR DYNAMICALLY ALLOCATING ACCELERATED GRAPHICS PORT MEMORY SPACE” by Ronald T. Horan, Phillip M. Jones, Gregory N. Santos, Robert Allan Lester, and Robert C. Elliott; and Ser. No. 08/925,722, filed on Sep. 9, 1997, entitled “GRAPHICS ADDRESS REMAPPING TABLE ENTRY FEATURE FLAGS FOR CUSTOMIZING THE OPERATION OF MEMORY PAGES WITH AN ACCELERATED GRAPHICS PORT DEVICE” by Ronald T. Horan, Phillip M. Jones, Gregory N. Santos, Robert Allan Lester, and Robert C. Elliott, and are hereby incorporated by reference for all purposes.
US Referenced Citations (7)
Continuations (1)
|
Number |
Date |
Country |
Parent |
09/206677 |
Dec 1998 |
US |
Child |
09/961463 |
|
US |