PF in pre2

Magnus Ahltorp (map@abc.se)
Sat, 8 Jun 1996 22:48:18 +0200 (MET DST)


I run kernel version 1.99.9 #2-pre-2.0.

My machine is a portable computer which according to the kernel doesn't have
an APM BIOS. The problem is, power shutdown routines are still run.

I have configured the kernel to shutdown the computer's power when the
system is halted. When I halt my system, the apm_set_power_state() in
apm_bios.c is called, and at the lcall to the apm_bios_entry, a protection
error occurs. I imagine that this is because the apm_bios_entry has never
been setup, since the BIOS is not present.

Anyone want to fix this? It should only be a matter of skipping the routines
if a APM BIOS is not detected.

/Magnus
map@abc.se