freebsd-dev/sys/alpha
Andrew Gallatin 62f456b315 Fix the osf1 abi module on SMP systems by making the size of
a struct pmap be the same on both SMP and UP kernels.

It turns out that the size of a struct pmap is much larger on alpha
SMP systems due to the number of pm_asn's being dependant on MAX_CPU.
Since modules are supposed to be SMP agnostic, this has the affect of
moving around the "interesting bits" of the vmspace (daddr, dsize)
that the osf1 module wants to frob.  So the module ends up scribbling in a
pmap struct, and the user either sees a panic, or an application failure.

While here, I've also shrunk MAXCPU to 8 now that it affects the size
of pmap structs on UP systesm.  This should be plenty, as I'm
unware of any hardware we currently run in which supports more than 8
CPUs.
2003-03-29 18:22:29 +00:00
..
alpha - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
compile Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
conf Remove bitrot associated with `maxusers'. 2003-03-22 14:18:23 +00:00
include Fix the osf1 abi module on SMP systems by making the size of 2003-03-29 18:22:29 +00:00
isa Tidy up some loose ends. 2002-04-29 07:43:16 +00:00
linux Add missing includes from previous commit. 2003-03-27 18:18:35 +00:00
mcbus Change the console interface to pass a "struct consdev *" instead of a 2003-02-20 20:54:45 +00:00
osf1 Fix some memory leaks in the failure cases after trying to look up the 2003-03-21 21:49:52 +00:00
pci At great personal risk, add a __packed and __aligned(x) define that 2002-09-23 05:55:10 +00:00
tlsb Gigacommit to improve device-driver source compatibility between 2003-03-03 12:15:54 +00:00
Makefile Add a dopey makefile to do the tags dance, which is probably not perfect 2000-12-31 23:26:34 +00:00