summaryrefslogtreecommitdiffstats
path: root/bin/sh/var.h
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2011-01-01 00:20:14 +0000
committerjmallett <jmallett@FreeBSD.org>2011-01-01 00:20:14 +0000
commit8229c0275d7cf8c5a2cd1e09ddcc3c74e9fafcfb (patch)
tree300a311cf8f9f047ad1fe36a23b35ad5d3bd4235 /bin/sh/var.h
parent246fcf4d6f1dd0a0a1d77983e8e464f1e55a9ca2 (diff)
downloadFreeBSD-src-8229c0275d7cf8c5a2cd1e09ddcc3c74e9fafcfb.zip
FreeBSD-src-8229c0275d7cf8c5a2cd1e09ddcc3c74e9fafcfb.tar.gz
o) When trying to determine whether the pcpu pointer is a managed address, check
not just that it is greater than the minimal kernel virtual address, but also that it is less than the maximal kernel virtual address. On n64 kernels, the pcpup comes out of a direct-mapped address that, with an unsigned compare, is rather greater than the minimal kernel virtual address. o) Turn the panic if interrupts are disabled in cpu_idle into a KASSERT since on other architectures it's behind INVARIANTS anyway. o) Add a check that not all interrupts are masked, too. o) Add cpu_idleclock() and cpu_activeclock() use to cpu_idle as is done on other architectures.
Diffstat (limited to 'bin/sh/var.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud