acpica/tests/aapits
Robert Moore 5ff986a2a9 Introduce AcpiOsWaitEventsComplete interface.
This interface will block until asynchronous events like notifies
and GPEs are complete. Within ACPICA, it is called before a notify or GPE
handler is removed. ACPICA BZ 868.
2012-05-16 13:36:07 -07:00
..
asl Tests: Automated cleanup and copyright update to 2010. 2010-01-08 08:55:58 -08:00
bin Tests: Update aapits for ACPICA interface changes, new files. 2009-12-15 10:48:40 -08:00
spec Release 7 of ASLTS. Corresponds to ACPICA 20070320. 2007-08-28 22:18:01 +00:00
AcpiApiTS.dsp Tests: Port AAPITS suite to current ACPICA. Phase 1 (compile). 2009-07-01 14:16:44 -07:00
at_ssdt2_1.c Tests: update file permissions. 2008-07-24 13:09:40 -07:00
at_ssdt2_2.c Tests: update file permissions. 2008-07-24 13:09:40 -07:00
at_ssdt2_3.c Tests: update file permissions. 2008-07-24 13:09:40 -07:00
atcommon.h Tests: Update include file ordering. 2010-12-17 17:10:23 -08:00
atexec.c ACPI 5.0/ApiTest: Update for new field attribute names. 2011-11-10 10:10:24 +08:00
atfixedevent.c Tests: Automated cleanup and copyright update to 2010. 2010-01-08 08:55:58 -08:00
atfixedevent.h Tests: Automated cleanup and copyright update to 2010. 2010-01-08 08:55:58 -08:00
atgpe.c Tests: Update include file ordering. 2010-12-17 17:10:23 -08:00
atgpe.h Tests: Automated cleanup and copyright update to 2010. 2010-01-08 08:55:58 -08:00
athandlers.c Tests: Automated cleanup and copyright update to 2010. 2010-01-08 08:55:58 -08:00
athandlers.h Tests: Automated cleanup and copyright update to 2010. 2010-01-08 08:55:58 -08:00
athardware.c Tests/aapits: Update for sleep interface change. 2012-03-20 08:31:13 -07:00
athardware.h Tests: Automated cleanup and copyright update to 2010. 2010-01-08 08:55:58 -08:00
atinit.c Tests: Update aapits for interface changes. 2010-07-02 08:45:07 -07:00
atinit.h Tests: Automated cleanup and copyright update to 2010. 2010-01-08 08:55:58 -08:00
atmain.c Tests: Continue port of AAPITS to current ACPICA. 2009-07-23 10:01:44 -07:00
atmemory.c Tests: Port AAPITS suite to current ACPICA. Phase 1 (compile). 2009-07-01 14:16:44 -07:00
atmemory.h Tests: Automated cleanup and copyright update to 2010. 2010-01-08 08:55:58 -08:00
atnamespace.c Tests: Automated cleanup and copyright update to 2010. 2010-01-08 08:55:58 -08:00
atnamespace.h Tests: Automated cleanup and copyright update to 2010. 2010-01-08 08:55:58 -08:00
atosxfctrl.c Tests: Update aapits for OSL memory read/write interface changes. 2012-02-02 13:42:45 -08:00
atosxfctrl.h Tests: Automated cleanup and copyright update to 2010. 2010-01-08 08:55:58 -08:00
atosxfwrap.c Tests: Update apitest for OsPhysicalTableOverride. 2012-02-10 13:11:49 -08:00
atosxfwrap.h Tests: Update aapits for OSL memory read/write interface changes. 2012-02-02 13:42:45 -08:00
atresource.c Tests: Fix possible buffer overrun in API test. 2011-06-01 10:34:41 -07:00
atresource.h Tests: Automated cleanup and copyright update to 2010. 2010-01-08 08:55:58 -08:00
attable.c Tests: Update aapits for interface changes. 2010-07-02 08:45:07 -07:00
attable.h Tests: Automated cleanup and copyright update to 2010. 2010-01-08 08:55:58 -08:00
Makefile Tests: Update aapits for ACPICA interface changes, new files. 2009-12-15 10:48:40 -08:00
osunixxf.c Tests: Update aapits for OSL memory read/write interface changes. 2012-02-02 13:42:45 -08:00
oswinxf.c Introduce AcpiOsWaitEventsComplete interface. 2012-05-16 13:36:07 -07:00
README Tests: Update aapits for ACPICA interface changes, new files. 2009-12-15 10:48:40 -08:00

CONTENTS

   This directory (aapits) is located in tools directory
   of the ACPICA source tree and contains sources of
   ACPICA API validation Test Suite (AAPITS)
  
   AAPITS verifies, in emulating mode, conformity of the ACPICA API 
   implementation to the definitions in ACPI Component Architecture 
   Programmer Reference (ACPICA ProgRef).

   There are 9 test cases relevant to the following chapters
   ACPICA ProgRef respectively:

   Test Case       Chapter

   atinit          8.1  Subsystem Initialization, Shutdown, and Status
   attable         8.2  ACPI Table Management
   atnamespace     8.3  ACPI Namespace Access
   athardware      8.4  ACPI Hardware Management
   atfixedevent    8.6  ACPI Fixed Event Management
   atgpe           8.7  ACPI General Purpose Event Management
   athandlers      8.8  ACPI Miscellaneous Handler Support
   atresource      8.9  ACPI Resource Management
   atmemory        8.10 Memory Management

spec
   Directory which tests specification are located in.

atinit.c
atinit.h
atmemory.c
atmemory.h
athardware.c
athardware.h
attable.c
attable.h
atnamespace.c
atnamespace.h
atresource.c
atresource.h
atfixedevent.c
atfixedevent.h
atgpe.c
atgpe.h
athandlers.c
athandlers.h
   Each test case is represented by the pair of .c and .h files with
   the same filename.

atcommon.h
atexec.c
atosxfwrap.c
atosxfwrap.h
atosxfctrl.c
atosxfctrl.h
atmain.c                  
   Auxiliary testing modules and TS main file.

oswinxf.c
osunixxf.c
   Relavant copies of the same files from the os_specific/service_layers
   directory updated to be used in the AAPITS utlility with the sed command:

   sed -i s/^AcpiOs/AcpiOsActual/ os*xf.c

   Then add the following line:

   #include "acdebug.h"
   + #include "atosxfwrap.h"


asl
   Directory which supporting ASL codes are located in.

bin
   Directory which supporting shell utility are located in.

AcpiApiTS.dsp
   MSVC project to compile the TS utility under Windows.

   Usage: copy to the generate/msvc catalog and insert into
          the AcpiComponents.dsw workspace.

Makefile
   Makefile based on AcpiExec utility one supporting
   compilation of the TS utility under Linux.

   Usage: copy the aapits directory tree to the relevant acpica-unix-*/tools
          directory and perform the make command to generate the aapits binary,
		  to run the paticular test type the following:

	./aapits <test case> <test num> <aml dir>

	Here <test case> is from 1 (init) to 9 (handlers),
	<test num> is the appropriate assertion number (see the files in spec dir),
	<aml dir> is the directory with the auxiliary aml files (actually it is
	./tmp/aml directory which is created by make in the asl directory), for
	example, to run assertion 0041 of Hardware Management test case type:

	./aapits 3 41 ./tmp/aml

README
   This file