Age | Commit message (Collapse) | Author |
|
the ANSI way.
|
|
Fix bug where altivec context was not freed on process exit.
Fix bug where vscr was not correctly saved/restored.
replace asm statement was macros which expand to the same
asm code or to .long XXX which evaluates to the same instruction
since in-tree gas does not support altivec.
Enable ALTIVEC support by default on macppc, still conditional
for other powerpc ports.
|
|
|
|
|
|
the spill list for each PTEG, the V->P translations are stored in
trees for each pmap. All valid kernel mappings are preallocated
in 1-1 memory so that tlb spill/loads for kernel accesses can be
looked up while physical, user mappings are not guaranteed to
be 1-1 mapped, thus the kernel must go virtual to look up user
mappings. While this is more expensive, the tree search is much
lower cost than the long linked list search. Also on each pmap_remove()
it was necessary to search the linked lists for each possible mapping,
now it just looks up the entry in the tree.
This change gives a 25-36% speedup in 'make build' time. What was
around 2:50 is now around 1:55 on a 733MHz G4.
This change causes a likely existing bug to appear quite often,
it deals with the segment register invalidation in kernel mode.
Because of that problem, currently this change limits the physical
memory used to 256MB. This limitation will be fixed soon, it is not
an error in the pmap code.
* Effort sponsored in part by the Defense Advanced Research Projects
* Agency (DARPA) and Air Force Research Laboratory, Air Force
* Materiel Command, USAF, under agreement number F30602-01-2-0537.
|
|
ALTQify more drivers.
ok millert@
|
|
of the hardware clock. Prevent clock screwage due to lost battery on laptops
where the hardware clock goes back to 0. From NetBSD.
|
|
openfirmware commands (which apple seems to have removed), walk the device
tree attempting to detect what type of keyboard(s) are present. Give
preference to USB if USB and ADB both found. If none found hope for USB.
This does have a problem on RevC iMacs booting without USB keyboard,
it seems apple left the adb device tree information which indicates
an ADB kebyoard is present. This fixes newer ibook and PBG4 keyboard
detection.
|
|
they do not appear to be capable of handling all possible nested interrupts.
|
|
on reboot. perhaps OF uses it at other times?
Since OF always use the same memory addresses, this should always allocate
the same ram to the msgbuf, and allow it to be preserved across reboot.
|
|
BUS_DMA_READ, BUS_DMA_WRITE, and BUS_DMA_STREAMING
|
|
Code reorganization to support pci-pci bridges on the interrupt fixup code.
Interrupts on devices behind pci-pci bridges should not be configured properly.
|
|
the same virtual irq as well.
|
|
|
|
the same virtual irq as well.
|
|
them to be intialized by the other. also remove static variables
and rename them so they are accessable via ddb.
|
|
|
|
|
|
|
|
under the control of machdep.allowaperture.
This allows to run the X server on macppc with securelevel=1, given that
machdep.allowaperture is != 0.
OK deraadt@
|
|
|
|
|
|
suggestion by art.
|
|
The patch allows you to change the value of NMBCLUSTERS, BUFCACHEPERCENT
and NKMEMPAGES using the config command, instead of recompiling the kernel.
This is the kernel part of the patch. I have compiled it on i386, sparc64,
alpha and macppc. -moj ok art@ maja@
|
|
interrupts and buffer handling seems to be occurring correctly.
All audio samples are zero'ed however. Dont know if the problem is
with audio source control or with DMA. audio output still works.
A few changes were other changes from netbsd which seemed to make sense.
|
|
to boot on a B&W G3.
|
|
|
|
|
|
|
|
well (not at all) with shortages of the vm_map where the pages are mapped
(usually kmem_map).
Try to deal with it:
- group all information the backend allocator for a pool in a separate
struct. The pool will only have a pointer to that struct.
- change the pool_init API to reflect that.
- link all pools allocating from the same allocator on a linked list.
- Since an allocator is responsible to wait for physical memory it will
only fail (waitok) when it runs out of its backing vm_map, carefully
drain pools using the same allocator so that va space is freed.
(see comments in code for caveats and details).
- change pool_reclaim to return if it actually succeeded to free some
memory, use that information to make draining easier and more efficient.
- get rid of PR_URGENT, noone uses it.
|
|
|
|
missed this one.
|
|
the external interrupt was never enabled during interrupt handling.
|
|
|
|
the function was changed to be void. return the cpl value at the
time the function is called as locore.S expects.
|
|
|
|
be claimed by the pre kvm init stealing process and kvm.
|
|
to make sure the whole region is flushed. from conversation with pefo.
|
|
|
|
|
|
immediately instead of writing on random memory addresses.
Could the mapping be faulted in, no?
|
|
force to display, zs(macppc) doesn't support console yet...
|
|
jason@ ok
|
|
|
|
|
|
|
|
on powerbook/ibook machines. It currently doesn't work anyway.
Pointed out by Alexander Guy.
|
|
|
|
gem works, but is not overly stable yet, sometimes recieves one
packet and stops. hme works fine, if the interrupts are connected
properly (not yet).
|
|
Attempt to deal with pci-pci bridges and the irq handling. It is incorrect,
but allows one port of a 4 port hme card to work.
|