Set the level of APM support to 1.1, before turning off the power state.

This commit is contained in:
okuji 2001-08-08 08:00:01 +00:00
parent 044d8501b5
commit e9d94149ef
7 changed files with 19 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2001-08-08 OKUJI Yoshinori <okuji@gnu.org>
From Derrik Pates <dpates@dsdk12.net>:
* stage2/asm.S [!STAGE1_5] (grub_halt): Set the level of APM
support to 1.1, before turning off the power state.
2001-08-08 OKUJI Yoshinori <okuji@gnu.org>
* util/grub-md5-crypt.in: Prefix backquotes with backslashes in

1
THANKS
View file

@ -21,6 +21,7 @@ Dan J. Walters <djw@cs.utexas.edu>
Daniel Pittman <daniel@rimspace.net>
Daniel Wagner <wagi@gmx.ch>
Danilo Godec <danci@agenda.si>
Derrik Pates <dpates@dsdk12.net>
Edmund GRIMLEY EVANS <edmundo@rano.demon.co.uk>
Edward Killips <ekillips@triton.net>
Eric Hanchrow <erich@microsoft.com>

View file

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
.TH GRUB-INSTALL "8" "July 2001" "grub-install (GNU GRUB 0.90)" FSF
.TH GRUB-INSTALL "8" "August 2001" "grub-install (GNU GRUB 0.90)" FSF
.SH NAME
grub-install \- install GRUB on your drive
.SH SYNOPSIS

View file

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
.TH GRUB-MD5-CRYPT "8" "July 2001" "grub-md5-crypt (GNU GRUB )" FSF
.TH GRUB-MD5-CRYPT "8" "August 2001" "grub-md5-crypt (GNU GRUB )" FSF
.SH NAME
grub-md5-crypt \- Encrypt a password in MD5 format
.SH SYNOPSIS

View file

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
.TH GRUB "8" "July 2001" "grub (GNU GRUB 0.90)" FSF
.TH GRUB "8" "August 2001" "grub (GNU GRUB 0.90)" FSF
.SH NAME
grub \- the grub shell
.SH SYNOPSIS

View file

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
.TH MBCHK "1" "July 2001" "mbchk (GNU GRUB 0.90)" FSF
.TH MBCHK "1" "August 2001" "mbchk (GNU GRUB 0.90)" FSF
.SH NAME
mbchk \- check the format of a Multiboot kernel
.SH SYNOPSIS

View file

@ -260,12 +260,19 @@ ENTRY(grub_halt)
xorw %bx, %bx
int $0x15
/* connect APM (Is this really necessary?) */
/* connect APM */
movw $0x5301, %ax
xorw %bx, %bx
int $0x15
jc EXT_C(hard_stop)
/* set APM protocol level - 1.1 or bust. (this covers APM 1.2 also) */
movw $0x530E, %ax
xorw %bx, %bx
movw $0x0101, %cx
int $0x15
jc EXT_C(hard_stop)
/* set the power state to off */
movw $0x5307, %ax
movw $1, %bx