diff options
author | msmith <msmith@FreeBSD.org> | 2001-05-29 20:13:42 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2001-05-29 20:13:42 +0000 |
commit | 7996f19f432a6f4cf9a62d6121b95f412a9828bb (patch) | |
tree | 3b22869e0df2f024daec841766dd27368c33ca28 /sys/dev/acpica/acpivar.h | |
parent | cc0ed18a81964224f46b56f81af2bc62de049ae3 (diff) | |
download | FreeBSD-src-7996f19f432a6f4cf9a62d6121b95f412a9828bb.zip FreeBSD-src-7996f19f432a6f4cf9a62d6121b95f412a9828bb.tar.gz |
- Updates for new constant naming in the ACPI CA 20010518 update.
- Use __func__ instead of __FUNCTION.
- Support power-off to S3 or S5 (takawata)
- Enable ACPI debugging earlier (with a sysinit)
- Fix a deadlock in the EC code (takawata)
- Improve arithmetic and reduce the risk of spurious wakeup in
AcpiOsSleep.
- Add AcpiOsGetThreadId.
- Simplify mutex code (still disabled).
Diffstat (limited to 'sys/dev/acpica/acpivar.h')
-rw-r--r-- | sys/dev/acpica/acpivar.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h index 6bc6cbe..ebefafb 100644 --- a/sys/dev/acpica/acpivar.h +++ b/sys/dev/acpica/acpivar.h @@ -154,6 +154,13 @@ acpi_get_type(device_t dev) { extern void acpi_EnterDebugger(void); #endif +#ifdef ACPI_DEBUG +#include <sys/cons.h> +#define STEP(x) do {printf x, printf("\n"); cngetc();} while (0) +#else +#define STEP(x) +#endif + extern BOOLEAN acpi_MatchHid(device_t dev, char *hid); extern ACPI_STATUS acpi_GetIntoBuffer(ACPI_HANDLE handle, ACPI_STATUS (*func)(ACPI_HANDLE, ACPI_BUFFER *), |