Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-11-25 | It helps if you initialise timeouts before you try using them... | Joel Sing | |
ok miod@ | |||
2007-11-25 | Get rid of the kernel 'libcompat' framework, and instead use conf/files to | Theo de Raadt | |
decide which files must be pulled into the kernel. Also conditionalize the pulling of those files based on the COMPAT_* options. | |||
2007-11-13 | Expose mace_bus_dma_tag and extend the crimebus extent. This allows the | Joel Sing | |
existing bus interfaces to be used to access the GBE hardware found in the SGI O2. ok miod@ | |||
2007-11-13 | Give wscons_machdep.c half a spanking. This allows wsdisplay to compile on | Joel Sing | |
OpenBSD/sgi and prevents it from stealing the console. ok miod@ | |||
2007-11-11 | Add spurious interrupt detection to macebus. This allows for the detection | Joel Sing | |
of interrupt storms and enables the user to "boot poweroff" from ddb, instead of pulling the powercord. Initial code heavily reworked by miod@ ok miod@ | |||
2007-10-31 | comment fixes. | Joel Sing | |
ok miod@ | |||
2007-10-24 | In cpu_switchto(), load pmap->pm_tlbpid manually, instead of expecting | Miod Vallat | |
pmap_update() to return with this value in v0. A void function. Bwahahaha. | |||
2007-10-22 | Recognize kernel options specified on the "boot" command line (e.g. boot --c), | Miod Vallat | |
in addition to the OSLoadOptions variable; and do not default to -a -s if it is missing or empty. ok deraadt@ jsing@ | |||
2007-10-18 | Add support for the Moosehead PS/2 controller as found on SGI O2 workstations. | Joel Sing | |
ok miod@ deraadt@ | |||
2007-10-18 | No need to include <machine/pte.h> here. | Miod Vallat | |
2007-10-14 | registred -> registered | Miod Vallat | |
2007-10-14 | Disable timer/compare interrupts on the macebus. This prevents interrupt | Joel Sing | |
storms from occurring on IRQ 6. ok miod@ | |||
2007-10-13 | Various typos in comments; Joel Sing | Miod Vallat | |
2007-10-10 | Make context switching much more MI: | Artur Grabowski | |
- Move the functionality of choosing a process from cpu_switch into a much simpler function: cpu_switchto. Instead of having the locore code walk the run queues, let the MI code choose the process we want to run and only implement the context switching itself in MD code. - Let MD context switching run without worrying about spls or locks. - Instead of having the idle loop implemented with special contexts in MD code, implement one idle proc for each cpu. make the idle loop MI with MD hooks. - Change the proc lists from the old style vax queues to TAILQs. - Change the sleep queue from vax queues to TAILQs. This makes wakeup() go from O(n^2) to O(n) there will be some MD fallout, but it will be fixed shortly. There's also a few cleanups to be done after this. deraadt@, kettenis@ ok | |||
2007-10-02 | Apply (with slight variants) this elimination of bzero() with M_ZERO: | Kenneth R Westerback | |
- if ((mapstore = malloc(mapsize, M_DEVBUF, - (flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL) + if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT) ? + (M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL) return (ENOMEM); - bzero(mapstore, mapsize); | |||
2007-07-31 | typo fixes from joel@ionix.com.au | Theo de Raadt | |
2007-07-30 | Shuffle the order in which we look for header files, when doing | Thordur I. Bjornsson | |
kernel builds locally this doesnt change much but over NFS this cuts about 12% of the build time on my setup (i386). OK miod@, deraadt@. | |||
2007-07-18 | Do not bother trying to make the tlb handler fit - they are too large | Miod Vallat | |
and the r5000 errata workaround made them non-relocatable, so always copy trampolines. This will be revisited when the tlb refill code will be selected at runtime (soon). | |||
2007-07-18 | bus_dmamem_map() maps with a single segment in directly-translated XKPHYS | Miod Vallat | |
space, either cache coherent for regular mappings and uncached for BUS_DMA_COHERENT mappings, as done on all other platforms with direct mappings. | |||
2007-07-17 | emu(4) works on sgi. | Jacob Meuser | |
requested by jsg@ the digital out port is obscured by the small PCI card access slot on the moosehead case, but we don't support the digital ports anyway | |||
2007-07-16 | Change idle_mask to be made of the cop0 SR bits unshifted and the cop0 IC bits | Miod Vallat | |
shifted, instead of the other way around; this shaves a few instructions. | |||
2007-07-10 | Don't brelse() a buf we don't own in readsgilabel() by mistake. | Miod Vallat | |
2007-07-09 | change the behaviour of the LED on the O2 so that it's red in user mode | Jasper Lievisse Adriaanse | |
and green when idling. from Joel Sing <joel at ionix.com.au> ok miod@ | |||
2007-06-21 | Enable memory above 256MB again now that bus_dma has been fixed. | Miod Vallat | |
2007-06-21 | Extent sgi bus_dma to cope with different views of memory: non-contiguous | Miod Vallat | |
for the cpu, contiguous from different bases for devices. This allows memory above 256MB to be used with bus_dma (and we had really been lucky with the first few large-memory builds). Information about memory accesses taken from Linux. | |||
2007-06-20 | Do not hardcode imask[] size when intializing it. | Miod Vallat | |
2007-06-20 | b_cylinder does not need to be set on the callpath down into drivers. | Theo de Raadt | |
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod | |||
2007-06-20 | Make sure IPL_CLOCK blocks device interrupts. | Miod Vallat | |
2007-06-18 | this is the sgi disklabel, mips64 is not the same | Theo de Raadt | |
2007-06-18 | this is the sgi disksubr, not some mythical "all mips64 architectures can ↵ | Theo de Raadt | |
use it" balony | |||
2007-06-18 | Use a shorter form to load XKPHYS constants in .S code, shaves a few text | Miod Vallat | |
bytes, no functional change. | |||
2007-06-18 | Disable instruction reordering around cpl assignments. | Miod Vallat | |
2007-06-17 | Disable memory above 256MB for now, it triggers bugs (probably related to | Miod Vallat | |
cache operations). | |||
2007-06-01 | some architectures called setroot() from cpu_configure(), *way* before some | Theo de Raadt | |
subsystems were enabled. others used a *md_diskconf -> diskconf() method to make sure init_main could "do late setroot". Change all architectures to have diskconf(), use it directly & late. tested by todd and myself on most architectures, ok miod too | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-29 | start of dumpconf() unification, which one day we can pray will be MI | Theo de Raadt | |
(and part of setroot); ok miod | |||
2007-05-29 | Use atomic operations to operate on netisr, instead of clearing it at splhigh. | Miod Vallat | |
This changes nothing on legacy architectures, but is a bit faster (and simpler) on the interesting ones. | |||
2007-05-29 | code typo | Theo de Raadt | |
2007-05-28 | bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@ | Todd T. Fries | |
2007-05-27 | Make sure the minaddr hint for uvm_km_suballoc() calls is always initialized. | Miod Vallat | |
ok pedro@ | |||
2007-05-27 | Print reserved memory size correctly. | Miod Vallat | |
2007-05-27 | Always use XKPHYS addresses to perform cache operations now, for consistency. | Miod Vallat | |
2007-05-27 | back out bio, breaks dlg's sparc64 v215 | Todd T. Fries | |
prompted by/ok dlg@ deraadt@ | |||
2007-05-26 | Dynamic buffer cache. Initial diff from mickey@, okay art@ beck@ toby@ | Pedro Martelletto | |
deraadt@ dlg@. | |||
2007-05-26 | prodded by marco, enable bio everywhere | Todd T. Fries | |
grudgingly ok deraadt@ | |||
2007-05-23 | Print real/available memory in MB as well as bytes in dmesg, and unify | Peter Valchev | |
architectures to print it the same way. ok henning, miod; i386 part from tom | |||
2007-05-20 | Remove unused badaddr(). | Miod Vallat | |
2007-05-20 | Remove irrelevant code and defines. | Miod Vallat | |
2007-05-20 | Check for codec presence in match(), and don't attach if none is found. | Miod Vallat | |
ok kettenis@ | |||
2007-05-20 | option AHC_CTRL_ID is not used. | Miod Vallat | |