diff options
| author | Michael Brown | 2016-07-10 20:25:26 +0200 |
|---|---|---|
| committer | Michael Brown | 2016-07-11 15:05:18 +0200 |
| commit | e19c0a8fd2bc8c2331c5fabe17ea56e7c35d1900 (patch) | |
| tree | 0aba5ee1c1274ff613d786c18b0d004cce7b9dc4 /src/arch/x86/include/ipxe | |
| parent | [rng] Check for functioning RTC interrupt (diff) | |
| download | ipxe-e19c0a8fd2bc8c2331c5fabe17ea56e7c35d1900.tar.gz ipxe-e19c0a8fd2bc8c2331c5fabe17ea56e7c35d1900.tar.xz ipxe-e19c0a8fd2bc8c2331c5fabe17ea56e7c35d1900.zip | |
[acpi] Add support for ACPI power off
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/x86/include/ipxe')
| -rw-r--r-- | src/arch/x86/include/ipxe/acpipwr.h | 14 | ||||
| -rw-r--r-- | src/arch/x86/include/ipxe/apm.h | 14 |
2 files changed, 28 insertions, 0 deletions
diff --git a/src/arch/x86/include/ipxe/acpipwr.h b/src/arch/x86/include/ipxe/acpipwr.h new file mode 100644 index 000000000..93da09429 --- /dev/null +++ b/src/arch/x86/include/ipxe/acpipwr.h @@ -0,0 +1,14 @@ +#ifndef _IPXE_ACPIPWR_H +#define _IPXE_ACPIPWR_H + +/** @file + * + * ACPI power off + * + */ + +FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); + +extern int acpi_poweroff ( void ); + +#endif /* _IPXE_ACPIPWR_H */ diff --git a/src/arch/x86/include/ipxe/apm.h b/src/arch/x86/include/ipxe/apm.h new file mode 100644 index 000000000..21d913ac4 --- /dev/null +++ b/src/arch/x86/include/ipxe/apm.h @@ -0,0 +1,14 @@ +#ifndef _IPXE_APM_H +#define _IPXE_APM_H + +/** @file + * + * Advanced Power Management + * + */ + +FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); + +extern int apm_poweroff ( void ); + +#endif /* _IPXE_APM_H */ |
