Patent ID: 7293204

Claim:
A computer peripheral connecting interface system configuration debugging method for use on a computer platform that is equipped with a particular type of peripheral connecting interface and a basic input/output system (BIOS) program, the BIOS program having parameters of corresponding peripheral devices and being equipped with a system configuration register corresponding to the peripheral connecting interface and a peripheral device-peripheral device bridge configuration register, the system configuration register corresponding to the peripheral connecting interface having a base address register (BAR) data item, the peripheral device-peripheral device bridge configuration register having Base and Limit data items, the method for performing an automatic debugging procedure on the system configurations of the peripheral connecting interface, the computer peripheral connecting interface system configuration debugging method comprising: sequentially searching through each connecting slot of the peripheral connecting interface according to the peripheral devices corresponding to the parameters to find whether the connecting slot is inserted with the corresponding peripheral devices, and issuing a system configuration inspection enabling message upon finding one peripheral device; responding to each system configuration comparison enabling message by automatically inspecting whether the system configuration of each found peripheral device is correct and unconflicted with the system configurations of other peripheral devices; if NO, issuing a system configuration incorrect message, wherein the inspecting step comprises: (a) preserving contents of the BAR data item; (b) filling a predetermined value into the BAR data item; (c) reading out the contents of the BAR data item, and calculating a required amount of memory space; (d) restoring the BAR data item; and (e) determining whether the required memory amount is between the Base data item and the Limit data item; if YES, issuing a system configuration incorrect message; and responding to the system configuration incorrect message from the system configuration inspection module by generating an electronic error report which lists all the errors in the system configuration of the peripheral connecting interface.