Method for supporting riser card by basic input/output system
The present invention discloses a method for supporting a riser card by a basic input/output system (BIOS), which is implemented to the BIOS installed on a motherboard and having a plurality of configuration information corresponding to a plurality of resource information respectively and comprises the steps of performing a power-on self test; reading at least one resource information of the riser card installed on the motherboard and an interface card inserted into each slot of the riser card; obtaining the configuration information corresponding to the resource information in the BIOS based on the resource information of the riser card and the interface card; and providing the configuration information obtained to an operating system for enabling the riser card according to the configuration information.
1. A method for supporting a riser card by a basic input/output system, which is implemented to said basic input/output system installed on a motherboard and having a plurality of configuration information corresponding to a plurality of resource information respectively and enables said basic input/output system to perform a procedure comprising the steps of:
performing a power-on self test;
reading at least one resource information of said riser card installed on said motherboard and an interface card inserted into each slot of said riser card;
obtaining said configuration information corresponding to said resource information in said basic input/output system based on said resource information of said riser card and said interface card; and
providing said configuration information obtained to an operating system;
wherein said operating system enables said riser card by said configuration information provided by said basic input/output system;
wherein each said resource information comprises at least an ID of said riser card and a device number and a bus number of said interface card; and
wherein each said configuration information comprises a programmable interrupt controller interrupt request (PIC IRQ) routing table, a multi-processor specification (MPS) configuration table, and an advanced configuration power interface (ACPI) configuration table.
2. The method of claim 1 , wherein said configuration information is provided to said operating system via an advanced programmable interrupt controller description table, an advanced configuration power interface machine language (AML) code, a programmable interrupt controller interrupt request (PIC IRQ) routing table or a multi-processor specification (MPS) configuration table installed in said basic input/output system.
3. The method of claim 2 , wherein said operating system is an advanced configuration power interface (ACPI) operating system, a programmable interrupt controller (PIC) operating system or a multi-processor specification (MPS) operating system.
4. The method of claim 3 , wherein said programmable interrupt controller interrupt request routing table comprises said bus number, said device number, a router register of an interrupt route, a usable interrupt number of an interrupt route and a slot number.
5. The method of claim 3 , wherein said MPS configuration table comprises an IO controller routing table and a programmable interrupt controller interrupt request routing table of an advanced programmable interrupt controller.
6. The method of claim 3 , wherein said advanced configuration power interface configuration table includes an advanced programmable interrupt controller IO controller routing table and a programmable interrupt controller interrupt request routing table.
7. The method of claim 6 , wherein said basic input/output system bases on an advanced power configuration interface (APCI) interrupt mode currently set by said operating system and uses a multiple advanced programmable interrupt controller description table and an ACPI machine language code to correctly return each interrupt request route to said advanced configuration power interface (ACPI) operating system.