John Baldwin 058e24d34b Extend the ACPI power management support to wire a virtual power button up
to SIGTERM when ACPI is enabled.  Sending SIGTERM to the hypervisor when an
ACPI-aware OS is running will now trigger a soft-off allowing for a graceful
shutdown of the guest.
- Move constants for ACPI-related registers to acpi.h.
- Implement an SMI_CMD register with commands to enable and disable ACPI.
  Currently the only change when ACPI is enabled is to enable the virtual
  power button via SIGTERM.
- Implement a fixed-feature power button when ACPI is enabled by asserting
  PWRBTN_STS in PM1_EVT when SIGTERM is received.
- Add support for EVFILT_SIGNAL events to mevent.
- Implement support for the ACPI system command interrupt (SCI) and assert
  it when needed based on the values in PM1_EVT.  Mark the SCI as active-low
  and level triggered in the MADT and MP Table.
- Mark PCI interrupts in the MP Table as active-low in addition to level
  triggered.

Reviewed by:	neel
2013-12-28 04:01:05 +00:00
..
2013-03-17 06:54:04 +00:00
2013-07-10 07:40:30 +00:00
2013-12-02 19:49:52 +00:00
2012-10-07 19:53:04 +00:00
2013-10-30 11:41:28 +00:00
2013-05-10 16:41:26 +00:00
2012-03-26 21:22:53 +00:00
2012-03-26 15:18:14 +00:00
2013-10-09 13:48:08 +00:00
2012-09-01 10:56:15 +00:00
2013-04-11 18:46:41 +00:00
2013-12-10 05:01:01 +00:00
2012-05-17 11:50:12 +00:00
2013-12-25 01:20:14 +00:00
2012-07-04 10:17:02 +00:00
2013-12-23 17:47:04 +00:00
2012-09-11 07:35:24 +00:00
2013-04-11 18:46:41 +00:00
2013-09-07 20:25:22 +00:00
2013-12-15 23:05:19 +00:00
2013-04-22 18:31:39 +00:00
2013-05-13 18:13:50 +00:00
2013-05-12 22:22:12 +00:00
2012-03-26 21:22:53 +00:00
2013-11-21 19:31:57 +00:00
2013-07-15 05:09:13 +00:00