Method and apparatus for testing ASL plug and play code in...

Data processing: software development – installation – and managem – Software program development tool – Testing or debugging

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C717S121000, C717S109000, C713S002000, C713S001000

Reexamination Certificate

active

06453461

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention pertains generally to computer systems and, more particularly, computer systems employing an Advanced Configuration and Power Interface (“ACPI”) operating system.
2. Description of the Related Art
Computers typically employ “operating systems” to manage the resources used during their operation. Computers generally perform their most basic functions in accordance with their operating system. An operating system is a program that runs other programs known as “applications programs,” such as a word processor, invoked by the computer's user. The operating system also performs the elementary tasks associated with the computer's use, such as receiving input from the keyboard, sending output to a display or a printer, and controlling peripheral devices such as disk drives and printers. In some computers, the operating system might perform advanced tasks, such as maintaining security. Exemplary operating systems currently used include Windows®, the Microsoft Disk Operating System (“MS-DOS”), OS/2, Linux, and UNIX.
Some newer operating systems are implementing the Advanced Configuration and Power Interface (“ACPI”). The ACPI is a power management specification enabling an operating system to control the amount of power given to each device attached to the computer. Using the ACPI, the operating system can turn off peripheral devices not in use or power-up keyboards when touched. Although relatively new, the ACPI is already well known in the art. In fact, the entire specification is published and freely accessible over the World Wide Web of the Internet at <http://www.teleport.com/~acpi/>.
The ACPI specification contemplates its use in conjunction with operating systems employing a popular feature known as Plug and Play (“PnP”). Two current, exemplary PnP operating systems are Windows® 98 and Windows® NT. The PnP feature allows the computer's user to add new devices or to exchange old devices for new devices without setting configuration elements that identify the device within the computer's configuration. For present purposes, a “device” is any machine or component that attaches to a computer. Exemplary devices include, but are not limited to “peripheral” devices, e.g. disk drives, printers, mice, and modems, and “integral” devices, e.g., monitors and keyboards. Thus, in theory, the user can simply “plug” in the new device “and” the computer can “play” it without further intervention from the user.
One of the challenges in implementing a PnP operating system is testing the ASL PnP code during development. Under some operating systems, notably Windows® 98- and Windows® NT-based (now called Windows® 2000) ACPI operating systems, there is no general purpose application program interface for passing data to and from an ACPI control method. Thus, there is no way to automatically test the ACPI Source Language (“ASL”) PnP code. The absence of a general purpose application program interface furthermore means that it is not possible to write and automated tested procedure that exercises ASL code such as that used for PnP support.
To test ASL PnP code, designers have therefore had to resort to manual techniques. One technique employs the Windows® device manager to change the configuration of the device and to use the ACPI HCT namespace viewer to verify that the configuration was changed as requested. This approach is manual and tedious. It is impractical for testing all combinations of PnP configurations, so testing shortcuts must be taken. For instance, testing might only address a portion of the possible PnP configurations rather than all of them. The shortcuts consequently open the door to potential, undetected PnP code errors.
The lack of a general purpose application program interface creates difficulties outside the area of ASL PnP code testing. There are a variety of functions that a designer might wish for the ASL code to perform. However, the inability to pass data to and from the ASL code from the ACPI operating system excludes this option for functions requiring passed data. Thus, the absence of a general purpose application program interface greater restricts designer flexibility.
The present invention is directed to resolving one or all of the problems mentioned above.
SUMMARY OF THE INVENTION
In a first aspect, the invention is a method for interfacing a generic program with the ASL code in an ACPI system. The method comprises storing information from a generic program in a shared memory; accessing the ASL code; and retrieving the stored information with the ASL code.
In a second aspect, the invention is a method for testing ASL PnP code in an ACPI system. The method comprises identifying a configurable PnP device; disabling the identified configurable PnP device; testing the disabled, configurable PnP device for a configuration; and verifying that, for the tested configuration, the resulting current resources match the set resources.
In variations of these aspects, the methods may be performed by instructions encoded on a computer-readable, program storage medium and used to program a computer.


REFERENCES:
patent: 5937200 (1999-08-01), Frid et al.
patent: 5938765 (1999-08-01), Dove et al.
patent: 5999730 (1999-12-01), Lewis
patent: 6131131 (2000-10-01), Bassman et al.
patent: 6167511 (2000-12-01), Lewis
patent: 6173417 (2001-01-01), Merrill
patent: 6185677 (2001-02-01), Nijhawan
patent: 6219742 (2001-04-01), Stanley
patent: 6266776 (2001-07-01), Sakai
patent: 6269392 (2001-07-01), Cotichini et al.
patent: 6295566 (2001-09-01), Stufflebeam
patent: 6300863 (2001-10-01), Cotichini et al.
patent: 6301665 (2001-10-01), Simonich et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method and apparatus for testing ASL plug and play code in... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and apparatus for testing ASL plug and play code in..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for testing ASL plug and play code in... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2865142

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.