summaryrefslogtreecommitdiffstats
path: root/sys/i386/include/console.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1998-07-06 06:29:07 +0000
committerimp <imp@FreeBSD.org>1998-07-06 06:29:07 +0000
commitd1c7cd559fde7fd681b94ef7ab61b27a78d40bd0 (patch)
treed830b5d5eaf1867a83baf416172d0ae784546c19 /sys/i386/include/console.h
parent3b5d08a30e5213746fe169860aaa6a77bfd9aee3 (diff)
downloadFreeBSD-src-d1c7cd559fde7fd681b94ef7ab61b27a78d40bd0.zip
FreeBSD-src-d1c7cd559fde7fd681b94ef7ab61b27a78d40bd0.tar.gz
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.
Diffstat (limited to 'sys/i386/include/console.h')
-rw-r--r--sys/i386/include/console.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/i386/include/console.h b/sys/i386/include/console.h
index 2d05be0..9406441 100644
--- a/sys/i386/include/console.h
+++ b/sys/i386/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)
OpenPOWER on IntegriCloud