Method and apparatus for describing ACPI machine language in computer having multibridge PCI structure, and program thereof
First Claim
1. A method for describing an ACPI machine language table f or use in a computer having a multibridge structure that connects the computer to a PCI device via plural bridges from a PCI system bus, the method comprising steps of:
- making a PCI configuration access to a subordinate bridge in a PCI device side, so that the ACPI machine language table supplied from a BIOS returns resource information of the PCI device upon receiving a call requesting a resource information method for the PCI device from an ACPI driver on an OS;
making a PCI configuration access to a superordinate bridge in a system bus side, to obtain resource information of the subordinate bridge; and
obtaining the resource information of the subordinate bridge from the superordinate bridge, and obtaining secondary resource information from a PCI configuration space of the subordinate bridge, wherein the machine language table returns information concerning the superordinate and subordinate bridges as information hidden from the OS, as well as information concerning the PCI device as information not hidden from the OS.
1 Assignment
0 Petitions
Accused Products
Abstract
There is provided a method for describing an ACPI machine language table used in a computer system having a multibridge PCI structure, which enables an OS to support hot plugs for PCI devices subordinate to a PCI multibridge. Upon receiving a call requesting a resource information method for a PCI device from an ACPI driver on an OS, a PCI configuration access is made to a subordinate bridge in a PCI device side, so that the ACPI machine language table supplied from a BIOS returns resource information of the PCI device. A PCI configuration access is made to a superordinate bridge in a PCI system bus side, to obtain resource information of the subordinate bridge. The resource information of the subordinate bridge is obtained from the superordinate bridge, and secondary resource information is obtained from a PCI configuration space of the subordinate bridge.
9 Citations
4 Claims
-
1. A method for describing an ACPI machine language table f or use in a computer having a multibridge structure that connects the computer to a PCI device via plural bridges from a PCI system bus, the method comprising steps of:
-
making a PCI configuration access to a subordinate bridge in a PCI device side, so that the ACPI machine language table supplied from a BIOS returns resource information of the PCI device upon receiving a call requesting a resource information method for the PCI device from an ACPI driver on an OS; making a PCI configuration access to a superordinate bridge in a system bus side, to obtain resource information of the subordinate bridge; and obtaining the resource information of the subordinate bridge from the superordinate bridge, and obtaining secondary resource information from a PCI configuration space of the subordinate bridge, wherein the machine language table returns information concerning the superordinate and subordinate bridges as information hidden from the OS, as well as information concerning the PCI device as information not hidden from the OS.
-
-
2. An apparatus for describing an ACPI machine language table for use in a computer having a multibridge structure that connects the computer to a PCI device via plural bridges from a PCI system bus, said apparatus comprising:
-
means for making a PCI configuration access to a subordinate bridge in a PCI device side, so that the ACPI machine language table supplied from a BIOS returns resource information of the PCI device upon receiving a call requesting a resource information method for the PCI device from an ACPI driver on an OS; means for making a PCI configuration access to a superordinate bridge in a system bus side, to obtain resource information of the subordinate bridge in response to the requesting resource information by the means for making the PCI configuration access to the subordinate bridge in the PCI device side; and means for obtaining the resource information of the subordinate bridge from the superordinate bridge, and for obtaining secondary resource information from a PCI configuration space of the subordinate bridge in response to the requesting resource information in response to the means for making the PCI configuration access to the superordinate bridge, wherein the machine language table returns information concerning the superordinate and subordinate bridges as information hidden from the OS, as well as information concerning the PCI device as information not hidden from the OS.
-
-
3. A computer readable recording medium with computer program recorded thereon for causing a computer to execute a method for describing an ACPI machine language table for use in a computer having a multibridge structure that connects the computer to a PCI device via plural bridges from a PCI system bus, the method comprising steps of:
-
making a PCI configuration access to a subordinate bridge in a PCI device side, so that the ACPI machine language table supplied from a BIOS returns resource information of the PCI device upon receiving a call requesting a resource information method for the PCI device from an ACPI driver on an OS; making a PCI configuration access to a superordinate bridge in a system bus side, to obtain resource information of the subordinate bridge; and obtaining the resource information of the subordinate bridge from the superordinate bridge, and obtaining secondary resource information from a PCI configuration space of the subordinate bridge, wherein the machine language table returns information concerning the superordinate and subordinate bridges as information hidden from the OS, as well as information concerning the PCI device as information not hidden from the OS.
-
-
4. A computer system having a multibridge structure that connects a computer to a PCI device via plural bridges from a PCI system bus, said computer system comprising an apparatus configured to describe an ACPI machine language table for use in the computer, said apparatus comprising:
-
means for making a PCI configuration access to a subordinate bridge in a PCI device side, so that the ACPI machine language table supplied from a BIOS returns resource information of the PCI device upon receiving a call requesting a resource information method for the PCI device from an ACPI driver on an OS; means for making a PCI configuration access to a superordinate bridge in a system bus side, to obtain resource information of the subordinate bridge in response to the requesting resource information by the means for making the PCI configuration access to the subordinate bridge in the PCI device side; and means for obtaining the resource information of the subordinate bridge from the superordinate bridge, and for obtaining secondary resource information from a PCI configuration space of the subordinate bridge in response to the requesting resource information in response to the means for making the PCI configuration access to the superordinate bridge, wherein the machine language table returns information concerning the superordinate and subordinate bridges as information hidden from the OS, as well as information concerning the PCI device as information not hidden from the OS.
-
Specification