diff options
author | Helge Deller <deller@gmx.de> | 2019-09-19 10:49:00 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2019-10-20 22:12:34 +0200 |
commit | f8706d6fd45605556649efbbda987ca518737198 (patch) | |
tree | 75037f4714b887a377ac2becd49f319de81c5eeb | |
parent | 13f4986cd614a1cffe495668db6aa0b41fba4fda (diff) | |
download | seabios-hppa-f8706d6fd45605556649efbbda987ca518737198.zip seabios-hppa-f8706d6fd45605556649efbbda987ca518737198.tar.gz seabios-hppa-f8706d6fd45605556649efbbda987ca518737198.tar.bz2 |
parisc: Improve soft power button emulation
Do not halt machine when soft power button is put under hardware
control.
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | src/parisc/parisc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c index 82f2e81..17d0ae9 100644 --- a/src/parisc/parisc.c +++ b/src/parisc/parisc.c @@ -1269,8 +1269,7 @@ static int pdc_soft_power(unsigned int *arg) switch (option) { case PDC_SOFT_POWER_ENABLE: - if (ARG3 == 0) // put soft power button under hardware control. - hlt(); + /* put soft power button under hardware (ARG3=0) or software (ARG3=1) control. */ return PDC_OK; } // dprintf(0, "\n\nSeaBIOS: PDC_SOFT_POWER called with ARG2=%x ARG3=%x ARG4=%x\n", ARG2, ARG3, ARG4); |