Fix ps %CPU output in vkernel by exporting hw.availpages.
commit44afc5dc3b7fdbfffdffe23dce47d0e46e4472f0
authorSimon Schubert <corecode@dragonflybsd.org>
Sat, 3 Feb 2007 09:25:10 +0000 (3 09:25 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Sat, 3 Feb 2007 09:25:10 +0000 (3 09:25 +0000)
tree55f03a19bf108a2b7820970be745d85c9574b111
parent2612135b6a4900fa3b7919d763fd501b10033a57
Fix ps %CPU output in vkernel by exporting hw.availpages.

Ps tries to read hw.availpages as part of its kernel variable setup and aborts
calculations for any value depending on any kernel variable.
sys/platform/vkernel/i386/cpu_regs.c