diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2009-01-20 20:21:04 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2009-01-20 20:21:04 +0000 |
commit | b861f9f3fbe15a4432a4d54b195d2c85b1ee596c (patch) | |
tree | 0e18f14fcc458d6cfa55c89f593b4b3c2ce94c4b /sys/dev/acpi/acpivar.h | |
parent | aa6bfc9420b57329cf6378e2b80e046472b61112 (diff) |
Install ACPI S3 resume trampoline code in a lowmem page. First part
of ACPI S3 suspend/resume support. This is for i386.
Help/comments from art, toby, marco, jordan, kurt
ok marco@, kurt@
Diffstat (limited to 'sys/dev/acpi/acpivar.h')
-rw-r--r-- | sys/dev/acpi/acpivar.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h index aab2fe7c69f..4399525b340 100644 --- a/sys/dev/acpi/acpivar.h +++ b/sys/dev/acpi/acpivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: acpivar.h,v 1.44 2008/11/06 23:41:28 marco Exp $ */ +/* $OpenBSD: acpivar.h,v 1.45 2009/01/20 20:21:03 mlarkin Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> * @@ -18,6 +18,10 @@ #ifndef _DEV_ACPI_ACPIVAR_H_ #define _DEV_ACPI_ACPIVAR_H_ +#define ACPI_TRAMPOLINE (NBPG*4) + +#ifndef _ACPI_WAKECODE + #include <sys/timeout.h> #include <sys/rwlock.h> #include <machine/biosvar.h> @@ -32,6 +36,8 @@ extern int acpi_debug; #define dnprintf(n,x...) #endif +/* #define ACPI_SLEEP_ENABLED */ + extern int acpi_hasprocfvs; #define LAPIC_MAP_SIZE 256 @@ -272,4 +278,5 @@ int acpi_matchhids(struct acpi_attach_args *, const char *[], const char *); #endif +#endif /* !_ACPI_WAKECODE */ #endif /* !_DEV_ACPI_ACPIVAR_H_ */ |