[syslinux] [RESEND][RFC GIT PATCHES] acpioff: COM32 module to shut off machine using ACPI
Paulo Alcantara
pcacjr at zytor.com
Mon Mar 12 19:13:20 PDT 2012
Hi Andy,
On Tue, Mar 06, 2012 at 04:20:04PM -0500, Andy Walls wrote:
> [resending again, cutting out git pull-request output to make message smaller]
>
> Hi all,
>
> I have written a COM32 module called "acpioff", that, not surprisingly,
> powers off a machine using ACPI. I have tested it only using pxelinux.0
> with a SeaBIOS/Qemu virtual machine.
>
I'm just wondering how useful is having a COMBOOT32 module to power off a
machine using ACPI.
> Since the changeset pulls in a "Linux-ized" version of the open source
> ACPI Component Architecture, it was too big to post as a patches to the
> list. See the git pull-request output below. My github tree is from a
> clone of the git.kernel.org syslinux git tree.
>
The Syslinux tree on git.kernel.org is out to date, hence you should work
against the tree on git.zytor.com (with git HEAD d05647).
> I have two questions which I would like answered, since I don't like to
> maintain things out of tree:
>
> a) Is there any possibilty that this could be included in the official
> syslinux source tree?
>
> b) If so, what changes do I need to make to the patch for it to be
> accepted?
>
>
> Note that this COM32 module implements a single-threaded instantiation
> of the ACPICA for itself that ignores the SCI interrupt. The acpioff.c
> program using the syslinux COM32 library act as the "OS" for the ACPICA
> instantiation.
>
> The changeset is very large due to the ACPICA, but the following files
> are what really matter for review purposes:
>
> Program:
> com32/acpioff/acpioff.c
> com32/Makefile
>
> Platform/enviroment specific customization required for
> single-threaded ACPI instantiation for COM32:
> com32/acpioff/acpica_linuxized/README
> com32/acpioff/osl.h
> com32/acpioff/acpica_linuxized/drivers/acpi/osl.c
> com32/acpioff/acpica_linuxized/include/acpi/platform/accom32.h
> com32/acpioff/acpica_linuxized/include/acpi/platform/acenv.h
>
> Fixes required to the ACPICA for available types and debugging:
> com32/acpioff/acpica_linuxized/drivers/acpi/acpica/acglobal.h
> com32/acpioff/acpica_linuxized/drivers/acpi/acpica/utaddress.c
> com32/acpioff/acpica_linuxized/drivers/acpi/acpica/acutils.h
>
> Regards,
> Andy
>
>
> The following changes since commit c0c25b4826950162517896c5039c6d62d07115be:
>
> hdt: Adding postexec= option (2011-12-17 22:27:07 +0100)
>
> are available in the git repository at:
>
> git://github.com/awalls-cx18/syslinux.git acpi_off
Update your tree.
>
> Andy Walls (14):
> acpioff: Add directory with basic Makefile for new acpioff com32 module
> acpioff: Add a "Linux-ized" version of the ACPICA.org source for ACPI
> acpioff: Add initial ACPICA config for COM32 target and build environment
> acpica: Fix ACPI_ADDRESS_RANGE => struct acpi_address_range conversion
> acpioff: Add first stab at the ACPICA required OSL layer
> acpioff: Modify Makefile to compile the ACPICA and OSL
> acpioff: Add initial version of program
> acpioff: First version of Makefile to build both library and executable
> acpioff: Allow the ACPICA to be built to emit verbose debugging
> acpioff: First version that fully works with Qemu/SeaBIOS
> acpioff: Get rid of noisy status message from ACPICA OSL
> com32: Add building acpioff to the COM32 Makefile
> acpioff: Add copyright and update text of README of ACPICA code pedigree
> acpioff: Move ACPI tree dump on error to not obscure error message
>
> 185 files changed, 87007 insertions(+), 1 deletions(-)
>
>
> _______________________________________________
> Syslinux mailing list
> Submissions to Syslinux at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
--
-Paulo
More information about the Syslinux
mailing list