[coreboot] What's the relationship between ACPI and SMM?

Duncan Laurie dlaurie at chromium.org
Mon Apr 10 10:20:47 CEST 2017


On Sun, Apr 2, 2017 at 10:43 PM, Iru Cai <mytbk920423 at gmail.com> wrote:

> Hello,
>
> I'm trying to write some ACPI code to support an EC. I don't know if I
> need to write an smihandler.c for the boards.
>
> I saw some mainboard code. Older boards such as lenovo/x200 have no
> smihandler.c, but newer boards such as lenovo/x220 have. Also, I don't know
> much about things like GPE, SCI, ..., even after I look at the ACPI
> specification.
>
> So can some one sort out what happens when there is a event (e.g. Lid
> open/close), and what the EC and ACPI OS should do. What needs to be added
> in the mainboard code?
>
>

A few years ago I tried to describe how this works for a presentation at
linux.conf.au, you may find slides 35-44 of this slide deck helpful:
https://docs.google.com/presentation/d/1Cyz2gyyxg7hZBeCp_LSDGbEhsqy6OqsJTBLprXSzOKQ/pub?slide=id.g79793b0d_132

-duncan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20170410/8bd48049/attachment.html>


More information about the coreboot mailing list