System and method for generating debugging code

A code and debugging host technology, applied in the direction of program control devices, etc., can solve the problems of inconvenient debugging of ASL codes and low development efficiency, and achieve the effect of improving development efficiency and saving cumbersome processes

Inactive Publication Date: 2012-07-18
HONG FU JIN PRECISION IND (SHENZHEN) CO LTD +1
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the BIOS development process, there are various methods for verifying and debugging these ASL codes, but most of them require specific tool support, or require additional settings for the operating system kernel, which makes debugging the ASL codes inconvenient and leads to BIOS development. efficiency is not high

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • System and method for generating debugging code
  • System and method for generating debugging code
  • System and method for generating debugging code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] Such as figure 1 As shown, it is a schematic diagram of the architecture of a preferred embodiment of the system for generating debugging codes in the present invention. The system 10 for generating debugging code (hereinafter referred to as "generating system 10") runs on the debugging host 1 (Host). The debugging host 1 includes a BIOS (basic input / output system, basic input / output system) root directory folder 20 and a hyper terminal 30 . The described BIOS root directory folder 20 includes files such as the program for debugging the basic input and output of the host computer 1, the system setting information, the self-test program after power on, and the code of the system self-start program. In this preferred embodiment, the BIOS root directory folder 20 also includes ASL (Advanced Configuration and Power Interface Source Language, advanced configuration and power management interface source language) files. The ASL file is a program written in high-level syntax...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Disclosed are a system and a method for generating debugging codes. The method comprises setting the objects needing addition of the debugging codes in ASL file, and setting the debugging code format for each object, wherein the object include a Device object and a Method object; traversing all the files in the BIOS root directory folder of the debugged host in order; when the traversed file is an ASL file, traversing the valid Device objects in the ASL file in order, and obtaining the Device object file name and path; traversing all valid Method members for each Device object, and obtaining the file name of each Method member; according to the debugging code format set of the Device object, adding the corresponding debugging code for the traversed Method members; traversing the conditional expression of each Method member and adding the corresponding debugging code for the traversed conditional expression according to the debugging code format set of the Method object. With the system and the method of the invention, debugging code can be automatically added more rapidly.

Description

technical field [0001] The invention relates to a system and method for generating debugging codes. Background technique [0002] ACPI stands for Advanced Configuration and Power Interface (Advanced Configuration and Power Interface), which is an open industrial specification jointly developed by software and hardware companies in the industry. ACPI defines the interface between OS (Operation system, operating system), BIOS (Basic Input / Output System, basic input / output system) and hardware, and provides a unified standard for power management and device configuration of computer systems. [0003] The ACPI specification has its own special language ASL (ACPI Source Language, source language), which is used to describe ACPI objects and their control methods. BIOS designers or OEMs use ASL to define specific devices as ACPI objects and generate control methods for that device. So the BIOS will contain a lot of ASL code to support the ACPI specification. In the BIOS developm...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44
Inventor 江涛邓王国郑治桥
Owner HONG FU JIN PRECISION IND (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products