From d1c7cd559fde7fd681b94ef7ab61b27a78d40bd0 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 6 Jul 1998 06:29:07 +0000 Subject: Add the ability to suspend as well as hibernate to the system. This is the kernel part of my commits, the userlevel stuff will be done in a separate commit. Add the ability to suspend as well as hibernate to syscons. Create a new virtual key like hibernate for suspend. Update apm_bios.h to define more apm bios goodies. --- sys/alpha/include/console.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/alpha/include/console.h') diff --git a/sys/alpha/include/console.h b/sys/alpha/include/console.h index 2d05be0..9406441 100644 --- a/sys/alpha/include/console.h +++ b/sys/alpha/include/console.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: console.h,v 1.35 1998/02/03 19:57:45 bde Exp $ + * $Id: console.h,v 1.36 1998/02/12 20:47:39 phk Exp $ */ #ifndef _MACHINE_CONSOLE_H_ @@ -313,6 +313,8 @@ typedef struct ssaver ssaver_t; #define DCAR 0x97 /* caron */ #define L_ACC DCAR /* last accent key */ +#define STBY 0x98 /* Go into standby mode (apm) */ + #define F(x) ((x)+F_FN-1) #define S(x) ((x)+F_SCR-1) #define ACC(x) ((x)+F_ACC) -- cgit v1.1