From: Laszlo Ersek <lersek@redhat.com>
To: Andrew Fish <afish@apple.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>,
Josh Triplett <josh@joshtriplett.org>
Subject: Re: Anyone got a good example of using acpica.org to execute AML code under EFI?
Date: Wed, 17 Jan 2018 16:04:09 +0100 [thread overview]
Message-ID: <f30c638a-5eb8-06cf-623c-e8931b56b163@redhat.com> (raw)
In-Reply-To: <7345A34A-2F80-4420-B635-E9777C597D67@apple.com>
On 01/17/18 03:58, Andrew Fish wrote:
> I was looking for some code to execute AML under ACPI. I see the
> acpica github supports building acpidump... Does anyone know of an
> example that supports executing AML from EFI?
Yes, I have tested (called) AML methods using ACPICA from EFI. The BIOS
Bits project provides (among other things) a UEFI bootable ISO image
that contains an EFI build of ACPICA. The ACPICA functionality is
exposed via Python methods. If I remember correctly, the interface is
simple enough for the user to call AML methods directly from the Python
REPL.
https://biosbits.org/
We've discussed the project on edk2-devel in the past, minimally under:
http://mid.mail-archive.com/55E80FF8.10200@redhat.com
Also CC'ing Josh.
Thanks
Laszlo
prev parent reply other threads:[~2018-01-17 14:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-17 2:58 Anyone got a good example of using acpica.org to execute AML code under EFI? Andrew Fish
2018-01-17 15:04 ` Laszlo Ersek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f30c638a-5eb8-06cf-623c-e8931b56b163@redhat.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox