summaryrefslogtreecommitdiff
path: root/sys/arch/sgi
AgeCommit message (Collapse)Author
2007-07-18Do not bother trying to make the tlb handler fit - they are too largeMiod 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-18bus_dmamem_map() maps with a single segment in directly-translated XKPHYSMiod 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-17emu(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-16Change idle_mask to be made of the cop0 SR bits unshifted and the cop0 IC bitsMiod Vallat
shifted, instead of the other way around; this shaves a few instructions.
2007-07-10Don't brelse() a buf we don't own in readsgilabel() by mistake.Miod Vallat
2007-07-09change the behaviour of the LED on the O2 so that it's red in user modeJasper Lievisse Adriaanse
and green when idling. from Joel Sing <joel at ionix.com.au> ok miod@
2007-06-21Enable memory above 256MB again now that bus_dma has been fixed.Miod Vallat
2007-06-21Extent sgi bus_dma to cope with different views of memory: non-contiguousMiod 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-20Do not hardcode imask[] size when intializing it.Miod Vallat
2007-06-20b_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-20Make sure IPL_CLOCK blocks device interrupts.Miod Vallat
2007-06-18this is the sgi disklabel, mips64 is not the sameTheo de Raadt
2007-06-18this is the sgi disksubr, not some mythical "all mips64 architectures can ↵Theo de Raadt
use it" balony
2007-06-18Use a shorter form to load XKPHYS constants in .S code, shaves a few textMiod Vallat
bytes, no functional change.
2007-06-18Disable instruction reordering around cpl assignments.Miod Vallat
2007-06-17Disable memory above 256MB for now, it triggers bugs (probably related toMiod Vallat
cache operations).
2007-06-01some architectures called setroot() from cpu_configure(), *way* before someTheo 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-31convert to new .Dd format;Jason McIntyre
2007-05-29start of dumpconf() unification, which one day we can pray will be MITheo de Raadt
(and part of setroot); ok miod
2007-05-29Use 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-29code typoTheo de Raadt
2007-05-28bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@Todd T. Fries
2007-05-27Make sure the minaddr hint for uvm_km_suballoc() calls is always initialized.Miod Vallat
ok pedro@
2007-05-27Print reserved memory size correctly.Miod Vallat
2007-05-27Always use XKPHYS addresses to perform cache operations now, for consistency.Miod Vallat
2007-05-27back out bio, breaks dlg's sparc64 v215Todd T. Fries
prompted by/ok dlg@ deraadt@
2007-05-26Dynamic buffer cache. Initial diff from mickey@, okay art@ beck@ toby@Pedro Martelletto
deraadt@ dlg@.
2007-05-26prodded by marco, enable bio everywhereTodd T. Fries
grudgingly ok deraadt@
2007-05-23Print real/available memory in MB as well as bytes in dmesg, and unifyPeter Valchev
architectures to print it the same way. ok henning, miod; i386 part from tom
2007-05-20Remove unused badaddr().Miod Vallat
2007-05-20Remove irrelevant code and defines.Miod Vallat
2007-05-20Check for codec presence in match(), and don't attach if none is found.Miod Vallat
ok kettenis@
2007-05-20option AHC_CTRL_ID is not used.Miod Vallat
2007-05-15Remove the MI implementation of mutexes and remove the __HAVE_MUTEXArtur Grabowski
option. Every architecture implements mutexes now.
2007-05-15kill __HAVE_DEVICE_REGISTER by requiring all architectures to have aTheo de Raadt
device_register() function -- even if it does nothing. reduces the cpp-based blather different between architectures idea ok'd by miod; tested on all architectures (except a few miod will need to cleanup because he has them)
2007-05-14Oops, IPL_NONE is not zero in HEAD.Miod Vallat
2007-05-11simple misspell, miod@ okJanne Johansson
2007-05-07Move sgo to __HAVE_CPUINFO.Mark Kettenis
ok miod@
2007-05-05Define MUTEX_OLDIPL where they were missing, will be used (reasonably) shortly.Miod Vallat
2007-05-04make findblkmajor() and findblkname() MI; ok miodTheo de Raadt
2007-05-04setroot() was a ugly mix of MI and MD code, with different bugs on differentTheo de Raadt
machines. Instead -- build one solid clean MI version, and thenchange all the architectures to use it. ok various people, tested on almost all cases. (it is a 10094 line diff..)
2007-05-03Enable support for > 512MB of physical memory on mips64 systems, by usingMiod Vallat
XKPHYS instead of KSEG[01] for direct mappings. Then, detect memory above 256MB on O2 by poking at the CRIME registers (ARCbios will not report memory above 256MB, which is mapped above 1GB physical, to the system), and add it to the UVM managed memory. Tested on r5k, rm5200 and r10k with and without more than 256MB, matching hinv reports in all cases. CRIME memory decoding based on a diff from kettenis@ in december 2005.
2007-05-01Simple monoprocessor mutex implementation, faster than the MI code, four leftMiod Vallat
to go.
2007-05-01Provide <machine/lock.h> on all platforms, so that MI code may #include itMiod Vallat
unconditionnaly.
2007-04-26Be more careful when changing cop0 SR value; or flags in instead of settingMiod Vallat
the SR value to them, and correctly propagate the SR to userland via proper proc0 initialization and cpu_fork() care.
2007-04-26Do not invoke arcbios routines from the moment our page tables are set up,Miod Vallat
to the moment we reboot, for we do not know what it can do behind our back; this means the built-in ethernet address has to be read from the arcbios environment earlier.
2007-04-21do not ignore linker failures; ok miodTheo de Raadt
2007-04-10Do not compile unused dump_tlb() unless option DEBUG.Miod Vallat
2007-03-23Real atomic_{set,clear}bits_int implementation, and replace similarMiod Vallat
{set,clr}_ipending with the above routines. ok kettenis@
2007-02-26Zero rval[1] in setregs.Miod Vallat