NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/53741: /dev/apm is not MI

>Number:         53741
>Category:       kern
>Synopsis:       /dev/apm is not MI
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 25 13:25:00 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.26
The NetBSD Foundation, Inc.
System: NetBSD 8.99.26 NetBSD 8.99.26 (GENERIC64) #15: Thu Nov 22 16:54:11 CET 2018 evbarm
Architecture: aarch64
Machine: evbarm

Our /dev/apm is not actually connected to the legacy APM functionality in
old i386 BIOSes, but a (convenient) interface for the MI sysmon/envstat

However, we only make it available machine/apmdev.h on some architectures.
This sounds wrong (and breaks xfce4-extras compilation on aarch64).

Code inspection

Take one version of the include file (sparc?), install it for userland
(in some generic place) and maybe replace the old versions on
architectures that already have it by symlinks to the new location?

Home | Main Index | Thread Index | Old Index