Skip to content
Snippets Groups Projects
user avatar
Helge Deller authored
The various operating systems (e.g. Linux, NetBSD) have issues
mapping the power button when it's stored in page zero.
NetBSD even crashes, because it fails to map that page and then
accesses unmapped memory.

Since we now have a consistent memory mapping of PDC in 32-bit
and 64-bit address space (the lower 32-bits of the address are in
sync) the power button can be moved back to PDC space.

This patch fixes the power button on Linux, NetBSD and HP-UX.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Tested-by: default avatarBruno Haible <bruno@clisp.org>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
(cherry picked from commit ed35afcb331a972210816435d6b1b5de17fc7d4f)
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
0f5fb24f
History
Name Last commit Last update