# US 2003/0200485 A1 · ACPI name space validation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2003/0200485 A1
- Document ID: US20030200485A1
- Status: Published application
- Kind: A1
- Application number: 10/119,152
- Filed: 2002-04-10
- Published: 2003-10-23
- Earliest claimed: 2002-04-10
- Assignees: Microsoft Corporation
- Inventors: Dieter Achtelstetter
- Web page: https://patentgrep.com/patent/US20030200485A1

## CPC

- G06F 9/4411: {Configuring for operating with peripheral devices; Loading of device drivers}
- G06F 1/26: Power supply means, e.g. regulation thereof (for memories G11C)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method and system for passively validating an advanced configuration and power interface (ACPI) name space are provided. A filter driver may be adapted for use as a verification tool that intercepts requests by the ACPI driver to evaluate objects in the ACPI name space. Prior to the ACPI driver evaluating the object in the ACPI name space, the verification tool validates the object by looking up and validating a corresponding object in a test name space created from the ACPI name space. When the object validates, control is returned to the ACPI driver. When the object does not validate, the verification tool may either log the error to a log file, initiate a debugger to fix the problem, or both.

## Claims

### Claim 1

A method for validating an ACPI name space, comprising steps of:
(i) intercepting from a driver module a command to evaluate an object in the ACPI name space; and
(ii) validating a corresponding second object in a test name space in parallel to the driver module evaluating the first object in the ACPI name space.

### Claim 2 (depends on 1)

The method of claim 1, wherein step (ii) comprises the steps of:
a. retrieving from a library a test case set corresponding to the second object; and
b. performing any test cases in the test case set on the second object.

### Claim 3 (depends on 1)

The method of claim 1, further comprising the step of:
(iii) when the second object does not validate according to predefined rules, performing at least one of logging the error to a log file, and initiating a debugging application

### Claim 4 (depends on 1)

The method of claim 1, wherein step (ii) is completed before step (i) is completed.

### Claim 5 (depends on 1)

The method of claim 1, further comprising the steps of:
(iii) when the driver module completes execution of the command, intercepting results received by the ACPI driver as a result of executing the command.

### Claim 6 (depends on 1)

The method of claim 1, wherein step (i) comprises calling a callback function.

### Claim 7 (depends on 5)

The method of claim 5, wherein step (iii) comprises calling a callback function.

### Claim 8 (depends on 1)

The method of claim 1, wherein the test name space comprises a duplication of the ACPI name space.

### Claim 9

A computer readable medium storing computer readable instructions that, when executed, perform a method for validating an ACPI name space, the method comprising steps of:
(i) intercepting from a driver module a command to evaluate an object in the ACPI name space; and
(ii) validating a corresponding second object in a test name space in parallel to the driver module evaluating the first object in the ACPI name space.

### Claim 10 (depends on 9)

The computer readable medium of claim 9, wherein step (ii) comprises the steps of:
a. retrieving from a library a test case set corresponding to the second object; and
b. performing any test cases in the test case set on the second object.

### Claim 11 (depends on 9)

The computer readable medium of claim 9, wherein the computer readable instructions further comprise the step of:
(iii) when the second object does not validate according to predefined rules, performing at least one of logging the error to a log file, and initiating a debugging application

### Claim 12 (depends on 9)

The computer readable medium of claim 9, wherein step (ii) is completed before step (i) is completed.

### Claim 13 (depends on 9)

The computer readable medium of claim 9, wherein the computer readable instructions further comprise the step of:
(iii) when the driver module completes execution of the command, intercepting results received by the ACPI driver as a result of executing the command.

### Claim 14 (depends on 9)

The computer readable medium of claim 9, wherein step (i) comprises calling a callback function.

### Claim 15 (depends on 13)

The computer readable medium of claim 13, wherein step (iii) comprises calling a callback function.

### Claim 16 (depends on 9)

The computer readable medium of claim 9, wherein the test name space comprises a duplication of the ACPI name space.

### Claim 17

A data processing device, comprising:
a processor;
memory comprising:
an ACPI name space;
a test name space;
a test case library; and
computer readable instructions that, when executed, perform a method for validating the ACPI name space, the method comprising the steps of:
(i) intercepting from a driver module a command to evaluate a first object in the ACPI name space;
(ii) finding in the test name space a second object corresponding to the first object;
(iii) retrieving from the library a test case corresponding to the second object; and
(iv) performing the test case on the second object in the test name space in order to validate the name space object.

### Claim 18 (depends on 17)

The data processing device of claim 17, wherein the computer readable instructions further comprise the step of:
(v) when the name space object does not validate according to predefined rules, performing at least one of logging the error to a log file, and initiating a debugging application

### Claim 19 (depends on 17)

The data processing device of claim 17, wherein step (iv) is completed before the driver module finishes executing the command.

### Claim 20 (depends on 17)

The data processing device of claim 17, wherein the computer readable instructions further comprise the steps of:
(v) when the driver module completes execution of the command, intercepting results received by the driver module as a result of executing the command.

### Claim 21 (depends on 17)

The data processing device of claim 17, wherein step (i) comprises calling a callback function.

### Claim 22 (depends on 17)

The data processing device of claim 17, wherein step (iii) comprises calling a callback function.

### Claim 23 (depends on 17)

The data processing device of claim 17, wherein steps (ii)-(iv) are performed in parallel to the driver module executing the command on the ACPI name space

### Claim 24 (depends on 17)

The data processing device of claim 17, wherein the driver module comprises an ACPI driver.

### Claim 25

A method for validating an ACPI name space, comprising steps of:
(i) creating a test name space based on the ACPI name space;
(ii) duplicating to a verifier module a request to evaluate an object in the ACPI name space;
(iii) prior to a driver module completing evaluation of the object in the ACPI name space:
a. retrieving a test case set from a test case library; and
b. validating a corresponding object in the test name space by executing the test case set on the corresponding object; and
(iv) when validation of the corresponding object fails, performing at least one of:
a. logging the failure to a file; and
b. initiating a debugger.

### Claim 26 (depends on 25)

The method of claim 25, wherein step (i) comprises duplicating the ACPI name space.

### Claim 27 (depends on 25)

The method of claim 25, wherein step (ii) comprises calling a callback function.

### Claim 28 (depends on 25)

The method of claim 25, further comprising the steps of:
(v) when the driver module completes evaluation of the object in the ACPI name space, sending the evaluation results to the verifier module; and
(vi) the verifier module validating the corresponding object based on the evaluation results.

### Claim 29

A system for evaluating an ACPI name space, comprising:
a test name space;
a driver module for evaluating a first object in the ACPI name space; and
a verifier module for evaluating a corresponding second object in a test name space,
wherein the verifier module intercepts a driver module request to evaluate the first object in the ACPI name space and corresponding evaluation results, and
wherein the verifier module validates the second object in the test name space parallel to the driver module evaluating the first object in the ACPI name space.

### Claim 30 (depends on 29)

The system of claim 29, wherein the driver module comprises an ACPI driver.

### Claim 31 (depends on 29)

The system of claim 29, further comprising a test case library, and wherein the verifier module validates the second object using test cases retrieved from the test case library.

### Claim 32 (depends on 29)

The system of claim 29, wherein the test name space comprises a duplication of the ACPI name space.

### Claim 33 (depends on 29)

The system of claim 29, further comprising a log file stored in a memory, wherein, when the verifier module is unable to validate the second object, the verifier module writes an indication of the nonvalidation to the log file.

### Claim 34 (depends on 29)

The system of claim 29, further comprising a debugger module, wherein, when the verifier module is unable to validate the second object, the verifier module calls the debugger module.
