Statistics
| Branch: | Revision:

root / hw / acpi.h @ 43997225

History | View | Annotate | Download (4.7 kB)

# Date Author Comment
da98c8eb 02/24/2012 09:36 pm Gerd Hoffmann

suspend: switch acpi s3 to new infrastructure.

This patch switches pc s3 suspend over to the new infrastructure.
The cmos_s3 qemu_irq is killed, the new notifier is used instead.
The xen hack goes away with that too, the hypercall can simply be
done in a notifier function now....

067866d6 02/24/2012 09:36 pm Gerd Hoffmann

acpi: move around structs

Group all structs at the top of hw/acpi.h.
Just moving around lines, no code changes.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

355bf2e5 02/24/2012 09:36 pm Gerd Hoffmann

acpi: add ACPIREGS

All those acpi structs are not independent from each other.
Various acpi functions expecting multiple acpi structs passed
in are a clean indicator for that ;)

So this patch bundles all acpi structs in the new ACPIREGS
struct, then use it everythere pass around acpi state....

2886be1b 02/24/2012 09:36 pm Gerd Hoffmann

acpi: don't pass overflow_time to acpi_pm1_evt_get_sts

Pretty pointless, can easily be reached via ACPIREGS now.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

8283c4f5 02/24/2012 09:36 pm Gerd Hoffmann

acpi: add acpi_pm1_evt_write_en

Do APCIREGS->pm1.evt.en updates using the new acpi_pm1_evt_write_en
function, so the acpi code will see those updates.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

23910d3f 04/10/2011 03:00 pm Isaku Yamahata

acpi, acpi_piix: factor out GPE logic

factor out ACPI GPE logic. Later it will be used by ICH9 ACPI.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Aurelien Jarno <>

eaba51c5 04/09/2011 07:39 pm Isaku Yamahata

acpi, acpi_piix, vt82c686: factor out PM1_CNT logic

factor out ACPI PM1_CNT logic. This will be used by ich9 acpi.

Cc: Blue Swirl <>
Cc: Huacai Chen <>
Cc: Aurelien Jarno <>
Signed-off-by: Isaku Yamahata <>...

a54d41a8 04/09/2011 07:39 pm Isaku Yamahata

acpi, acpi_piix, vt82c686: factor out PM_TMR logic

factor out PM_TMR logic. Later This will be used by ich9 acpi.
Also fixes the same bug in vt82c686.c that was fixed by the following
commits.

commit 055479feab63607b8042bb8ebb2e0523f17cbc4e
Author: aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>...

04dc308f 04/09/2011 07:39 pm Isaku Yamahata

acpi, acpi_piix, vt82c686: factor out PM1a EVT logic

factor out ACPI PM1a EVT logic.
Later this will be used by ich9 acpi.

Cc: Blue Swirl <>
Cc: Huacai Chen <>
Cc: Aurelien Jarno <>
Signed-off-by: Isaku Yamahata <>...

1012e960 05/15/2010 08:52 pm Blue Swirl

Update to a hopefully more future proof FSF address

See also 70539e1850ddd3a7ee6f9a8db7bd8e81b85225a4,
8167ee883931cb20c6264fc19d040ce2dc6ceaaa,
530e7615ce3c01882e582c84dc6304ab98a3d5c5 and
fad6cb1a565bb73f83fc0e2654489457b489e436.

Signed-off-by: Blue Swirl <>

990b150e 05/15/2010 06:29 pm Isaku Yamahata

acpi: add acpi constants from linux header files and use them.

add acpi constants from linux header files and
replace the old constants with them.
The acpi constants will be used by other file.

Signed-off-by: Isaku Yamahata <>
Acked-by: Gerd Hoffmann <>...