CN1848093A - Method for debugging high configuration and power supply interface module in basic inputting and outputting system - Google Patents
Method for debugging high configuration and power supply interface module in basic inputting and outputting system Download PDFInfo
- Publication number
- CN1848093A CN1848093A CN 200610055143 CN200610055143A CN1848093A CN 1848093 A CN1848093 A CN 1848093A CN 200610055143 CN200610055143 CN 200610055143 CN 200610055143 A CN200610055143 A CN 200610055143A CN 1848093 A CN1848093 A CN 1848093A
- Authority
- CN
- China
- Prior art keywords
- debugging
- data
- output system
- input
- debugging acid
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The present invention discloses a debugging method of high-level configuration and power supply interface module in basic input/output system. Said method includes the following steps: adding debugging information into the high-level configuration and power supply interface module code to be debugged; compiling the code containing debugging information and reading it into object machine; on the object machine operating debugging tool; after the debagging tool is operated, utilizing said debugging information displayed on object machine to make debugging work.
Description
[technical field]
The present invention relates to the adjustment method of middle-and-high-ranking configuration of a kind of Basic Input or Output System (BIOS) and power supply interface module.
[technical background]
The basic input-output system BIOS of computing machine (Basic Input/Output System) also be core system software (CSS), and it is positioned at the bottom of all softwares, is the important bridge that software and hardware is linked up.Mainly finish the initialization of each hardware in the computing machine, and provide various and interface hardware communications for upper strata operating system.(DOS for example, all direct or indirect framework of all functions WINDOWS) is in the various services that BIOS provided to we can say operating system.So the importance of BIOS in total system is self-evident.Vivid says that if a computing machine is not installed WINDOWS, the user can also select other operating system, as LINUIX, DOS, difference only is whether the friendly degree of man-machine interface and function be perfect, if but do not have BIOS, and computing machine will be the scrap iron a pile, any work all can't be finished.Exactly because this importance of BIOS makes its debugging operation irregularity loaded down with trivial details, one careless mistake all can dysfunction occur in use in the future, cause immeasurable loss.
And ACPI modules A CPI (Advanced Configuration and PowerInterface Specification) is as a module of among the BIOS equipment being carried out power management and configuration, and its function is the most important thing especially.In the computer nowadays technology, mobile platform is more and more widely used.Operation is in the open air had higher requirement to the travelling performance of computing machine in the fields such as ecommerce, military affairs, space flight.Power-saving technology becomes the main bottleneck of mobile platform development.Just think, if any notebook computer long power lead in tow all where, it is just not all right to have left fixed socket, and who also can use it, and the good advantage of travelling performance is with all gone.So, how to prolong working time of battery, extend the life of a cell, directly determined the performance of notebook computer.And everything all depends on the quality that the ACPI modular program is write.
The ACPI modular program has following characteristics:
Programming language is special, the ASL language of use be different from any popular programming language (as C, PASCAL, ASSEMBLER), its grammer is difficult to be grasped, logicality is poor.
The program format write is strict.
The fault freedom of the compiler of ASL language own is poor, and many implicit mistakes can't be examined out.
Program is carried out behind the scenes, can't see intermediate result.
Above characteristics have determined the ACPI module to be easy to make mistakes, and comprise grammar mistake, logic error.And mistake is difficult to be captured and follow the tracks of, because system collapses already or dies during wrong the generation, so can't know the concrete position of carrying out of program at all.Entirely by rule of thumb with the conjecture update routine, make the development efficiency of whole BIOS become very low.
At present, industry does not also have the special method that this module is effectively debugged, and there is following defective in the hardware tools that uses:
Need peripheral hardware support (for example serial ports).But it is too fast that computer peripheral equipment upgrades, and (for example serial ports has been on the verge of to eliminate at present, and most computers have not been with serial ports, or reduce other peripheral hardwares according to the specific (special) requirements needs.) if peripheral hardware do not exist or undesirable, can't use the hardware debug instrument at all;
Needing increases a debugging machine, links to each other with target machine, is used for showing Debugging message.Each debugging is line again all, and the configuration serial ports uses very inconvenient and the increase debugging cost;
Owing to need external equipment, will introduce uncertain factors such as apparatus factor, line factor, disturbing factor.So the precision of debugging and reliability are all very undesirable;
From the target machine to the debug machine, must increase delay through processes such as coding, transmission, decodings, make debugging speed slower.
[summary of the invention]
The technical matters that institute of the present invention desire solves provides a kind of cost reduction, simple to operation, applied widely, the middle-and-high-ranking configuration of Basic Input or Output System (BIOS) that debugging speed is fast and debugging efficiency is high and the adjustment method of power supply interface module.
The technical solution adopted in the present invention is: the adjustment method of middle-and-high-ranking configuration of a kind of Basic Input or Output System (BIOS) and power supply interface module comprises step:
In the ACPI block code of desire debugging, add Debugging message;
Compile and be burnt in the target machine to the code that contains described Debugging message;
The program that system's operation is debugged is moved debugging acid on target machine;
Described debugged program is put into the data of input/output system district with feedback data,
It is characterized in that: the flow process when described debugging acid moves comprises:
Debugging acid is with start address place, pointed data of input/output system district;
System judges that debugging acid detects current pointer and whether pointed to the last item data in the data of input/output system district, if the judgment is Yes, will detect and whether will finish debugging; If the judgment is No, continue to carry out:
The data of debugging acid reading pointer indication from the data of input/output system district;
Debugging acid with data presentation on the target machine screen;
Debugging acid adds one with the data pointer value;
Bolt down procedure or the step cycle of returning " debugging acid is with start address place, pointed data of input/output system district " are carried out.
The technique effect that the present invention reached is: without any need for the peripheral hardware support, be not subjected to the constraint of machine hardware configuration, the scope of application is extensive; Debugging acid in the operation of this machine, need not add debugging machine fully, reduces debugging cost; Need not special preparation, easy to use; Debugging speed is fast, can not influence the working environment of computing machine because of adding debugging code, and Debugging message and program are carried out and reached synchronously, do not have hardware delay; According to the Debugging message that shows, can know the position that program is performed rapidly, locate erroneous point fast, improved debugging efficiency greatly.
[description of drawings]
The invention will be further described in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is a workflow diagram of the present invention.
[embodiment]
The roughly workflow of adjustment method of the present invention is as follows:
One, in ACPI modules A CPI (the Advanced Configurationand Power Interface Specification) code of desire debugging, adds Debugging message;
Two, compile and be burnt in the target machine to the code that contains Debugging message;
Three, on target machine, move debugging acid;
Four, behind the operation debugging acid, can debug according to Debugging message shown on target machine.
In conjunction with process flow diagram as described in Figure 1, it is as follows that the present invention is described in detail in detail:
Step 1, beginning;
Described debugging acid is a most important component in the whole adjustment method, finishes the reading and demonstration work of the feedback data of having stored, and its concrete principle of work is in step 51-step 56 as shown in Figure 1.
Wherein step 41-step 43 is the flow process of store feedback data.
Claims (3)
1. the adjustment method of middle-and-high-ranking configuration of Basic Input or Output System (BIOS) and power supply interface module comprises step:
The program that system's operation is debugged is moved debugging acid on target machine, the ACPI block code of described target machine contains Debugging message;
Described debugged program is put into the data of input/output system district with feedback data;
It is characterized in that: the flow process when described debugging acid moves comprises:
Debugging acid is with start address place, pointed data of input/output system district;
System judges that debugging acid detects current pointer and whether pointed to the last item data in the data of input/output system district, if the judgment is Yes, will detect and whether will finish debugging; If the judgment is No, continue to carry out:
The data of debugging acid reading pointer indication from the data of input/output system district;
Debugging acid with data presentation on the target machine screen;
Debugging acid adds one with the data pointer value;
Bolt down procedure or return re-executes the step of " debugging acid detects current pointer and whether pointed to the last item data in the data of input/output system district ".
2. adjustment method according to claim 1, it is characterized in that: this adjustment method also is included in the ACPI block code of desire debugging and adds Debugging message, then the code that contains described Debugging message is compiled and is burnt in the target machine.
3. adjustment method according to claim 1 is characterized in that: the debugged program of system's operation may further comprise the steps: judge at first whether debugged program is finished, if be finished, then directly finish operation; If be not finished, proceed to judge, whether run to added debgging statement, if the judgment is No, then return and continue to carry out " whether debugged program is finished " step, if the judgment is Yes, then carry out " program is put into the data of input/output system district with feedback data " step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610055143 CN1848093A (en) | 2005-04-17 | 2006-02-21 | Method for debugging high configuration and power supply interface module in basic inputting and outputting system |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200510056680.X | 2005-04-17 | ||
CN200510056680 | 2005-04-17 | ||
CN 200610055143 CN1848093A (en) | 2005-04-17 | 2006-02-21 | Method for debugging high configuration and power supply interface module in basic inputting and outputting system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1848093A true CN1848093A (en) | 2006-10-18 |
Family
ID=37077663
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200610055143 Pending CN1848093A (en) | 2005-04-17 | 2006-02-21 | Method for debugging high configuration and power supply interface module in basic inputting and outputting system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1848093A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106201790A (en) * | 2015-05-08 | 2016-12-07 | 深圳市祈飞科技有限公司 | A kind of adjustment method based on DSDT table and debugging system |
CN109683965A (en) * | 2018-12-03 | 2019-04-26 | 郑州云海信息技术有限公司 | A kind of BIOS state inspection method and device |
CN111949529A (en) * | 2020-08-06 | 2020-11-17 | 曙光信息产业(北京)有限公司 | System debugging method and device, computer equipment and storage medium |
CN114675735A (en) * | 2022-03-01 | 2022-06-28 | 阿里巴巴(中国)有限公司 | Configuration and power management interface table debugging method, chip debugging method, equipment and medium |
-
2006
- 2006-02-21 CN CN 200610055143 patent/CN1848093A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106201790A (en) * | 2015-05-08 | 2016-12-07 | 深圳市祈飞科技有限公司 | A kind of adjustment method based on DSDT table and debugging system |
CN106201790B (en) * | 2015-05-08 | 2019-07-16 | 深圳市祈飞科技有限公司 | A kind of adjustment method and debugging system based on DSDT table |
CN109683965A (en) * | 2018-12-03 | 2019-04-26 | 郑州云海信息技术有限公司 | A kind of BIOS state inspection method and device |
CN109683965B (en) * | 2018-12-03 | 2022-03-04 | 郑州云海信息技术有限公司 | BIOS state viewing method and device |
CN111949529A (en) * | 2020-08-06 | 2020-11-17 | 曙光信息产业(北京)有限公司 | System debugging method and device, computer equipment and storage medium |
CN111949529B (en) * | 2020-08-06 | 2024-03-22 | 曙光信息产业(北京)有限公司 | System debugging method, device, computer equipment and storage medium |
CN114675735A (en) * | 2022-03-01 | 2022-06-28 | 阿里巴巴(中国)有限公司 | Configuration and power management interface table debugging method, chip debugging method, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1109897C (en) | Semiconductor test system | |
CN1540517A (en) | Just-My-Code modulation tech | |
CN111104269B (en) | UART interface-based processor debugging method and system | |
CN100351785C (en) | Method for debuging embedded system and equipment | |
CN1248116C (en) | General purpose testing arrangement for embedded module and subsystem based on host machine platform | |
CN103729288A (en) | Application program debugging method under embedded multi-core environment | |
CN1877543A (en) | Data-driven automatic testing system and method | |
CN1613054A (en) | Controlling compatibility levels of binary translations between instruction set architectures | |
CN1877544A (en) | Keyword-driven automatic testing system and method | |
CN1862508A (en) | Automatic testing system of person digital aid cell phone function and method thereof | |
CN1968168A (en) | Blade server positioning method and system | |
CN1945531A (en) | Design method of inter-operation system | |
CN101051269A (en) | Intelligent platform management interface firmware architecture and method of building the same | |
CN1848093A (en) | Method for debugging high configuration and power supply interface module in basic inputting and outputting system | |
CN1752946A (en) | Debugging method of embedded system and its system | |
CN1710547A (en) | Software detection method and system | |
CN1622053A (en) | Software development method for flush type products | |
CN1949173A (en) | Software assembling method and apparatus thereof | |
CN1920793A (en) | Device and method for implementing test scenarios replay in different voice environment | |
CN1170225C (en) | Method for carrying out instrument module drive of automatic test system | |
CN1770112A (en) | Debug supporting unit using multi-asynchronous timepiece on chip hardware | |
CN1975701A (en) | Master machine driving external equipment method and system | |
CN100485637C (en) | Method for realizing hardware register based on built-in applied system | |
CN102023870B (en) | Detection method and device for software modification as well as electronic equipment | |
CN100346308C (en) | Automatic test method based on database operation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C57 | Notification of unclear or unknown address | ||
DD01 | Delivery of document by public notice |
Addressee: Luo Shuijiang Document name: Notice of publication of application for patent for invention |
|
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |