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.