ACPI

ACPI is the industry standard to configure and manage devices in a system. Currently it is implemented in most of the ia32, x86-64, ia64 machines. Ace uses this standard to detect the system map.

ACPI-CA

 

Since ACPI specification is huge, so Ace uses the ACPI-CA project to use ACPI.

 

Porting ACPI-CA

 

Initial Porting

This part consists of downloading ACPI-CA source and merging it with your OS.

In this phase changes in ACPI-CA source to include your kernel specific changes occurs.

 

  1. Download ACPI-CA unix source from http://www.acpica.org/downloads/unix_source_code.php (wget ?)
  2. Create acpi directory in src/kernel/ (mkdir –p src/kernel/acpi)
  3. Extract the source in src/kernel/acpi (tar xzf acpica-unix-VERSION.tar.gz)
  4. Create makefile in src/kernel/acpi (cp makefile ..)
  5. Move src/kernel/acpi/include to src/include/kernel/acpi
  6. create acace.h in src/include/kernel/acpi/platform
  7. edit osunixxf.c

 

Successive Porting

In this phase, ACPI-CA source which is already included in your kernel will be updated by the latest release of ACPI-CA.