Subject: port-i386/32973: apm support is removed from the idle loop
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <uwe@netbsd.org>
List: netbsd-bugs
Date: 03/03/2006 00:25:00
>Number:         32973
>Category:       port-i386
>Synopsis:       apm support is removed from the idle loop
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 03 00:25:00 +0000 2006
>Originator:     Valeriy E. Ushakov
>Release:        -current
>Organization:
>Environment:
>Description:
Apparently with the merge of i386 SMP branch we are no longer calling
apm_cpu_idle from the idle loop.
 
1.215.2.11 of locore.s has the following log message:

Revised (brutally hacked) cpu_switch and idle which deals with the
multiprocessor case.  Works, but Really Ugly (code duplication, eliminates
APM hooks and idle-page-zero, switches to idle PCB even on uniprocessor).
In need of rewrite..

>How-To-Repeat:
Source code inspection.
>Fix: