summaryrefslogtreecommitdiff
path: root/sys/arch/sgimips/include
AgeCommit message (Collapse)Author
2004-01-12CRIME revision 1.1 has a bug that affects PIO operations to/from the MACE.sekiya
The recommended workaround is a 5-10ms delay before and after accesses. Therefore, move the affected bus_space_* operations from bus.h to bus.c and special-case MACE accesses. CRIME accesses are not affected, so introduce SGIMIPS_BUS_SPACE_CRIME and use it as the CRIME tag. My ip32 seems a little bit happier with this change, and my ip22 didn't notice the change.
2003-12-10sgimips lives in the new-style wscons land.lonewolf
2003-11-17www.netbsd.org -> www.NetBSD.orgkeihan
2003-10-07Use proper mips_dcache_{wb,inv,wbinv}_range() ops in dmamap sync functiontsutsui
if possible. Tested on my O2 (with r5ksc patch). XXX should we apply similar changes to mips/bus_dma.c and use it?
2003-10-05Apply a bunch of patches written by Christopher SEKIYAtsutsui
(with several cosmetic changes by me) which fixes O2 (IP32) support. Now my R5000 O2 works fine in multiuser with on-board AIC7880 SCSIs and several PCI network cards (but only on serial console yet). L2 cache on R5000/Rm5200 is still disabled for now, but it will be fixed later, hopefully. See recent discussion on port-sgimips for details.
2003-09-15Use common mips generic software interrupt routines.simonb
Changes from Izumi Tsutsui, tested by Havard Eidnes.
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-06-15Handle 64bit DMA addresses on PCI for platforms that can (currently onlyfvdl
enabled on amd64). Add a dmat64 field to various PCI attach structures, and pass it down where needed. Implement a simple new function called pci_dma64_available(pa) to test if 64bit DMA addresses may be used. This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>, and there is more than 4G of memory.
2003-02-05Replace machine/rnd.h with more appropriate name to share itnakayama
with cycle counter based microtime in kern/kern_microtime.c.
2003-01-28Introduce BUS_DMA_NOCACHE, and bus_dmamem_map() of i386 supports it.kent
2003-01-18Merge the nathanw_sa branch.thorpej
2003-01-03Cosmetic fix -- move __HAVE_MIPS_MACHDEP_CACHE_CONFIG to "MIPS specificrafal
options" section.
2003-01-03Checkpoint of O2 work by Chris Sekiya and myself. This is the sgimips bit;rafal
still needs some arch/mips support code before it will fully work.
2002-12-23add bus_space_vaddr()pooka
from rafal
2002-11-26Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.lukem
2002-09-06Merge the gehenna-devsw branch into the trunk.gehenna
This merge changes the device switch tables from static array to dynamically generated by config(8). - All device switches is defined as a constant structure in device drivers. - The new grammer ``device-major'' is introduced to ``files''. device-major <prefix> char <num> [block <num>] [<rules>] - All device major numbers must be listed up in port dependent majors.<arch> by using this grammer. - Added the new naming convention. The name of the device switch must be <prefix>_[bc]devsw for auto-generation of device switch tables. - The backward compatibility of loading block/character device switch by LKM framework is broken. This is necessary to convert from block/character device major to device name in runtime and vice versa. - The restriction to assign device major by LKM is completely removed. We don't need to reserve LKM entries for dynamic loading of device switch. - In compile time, device major numbers list is packed into the kernel and the LKM framework will refer it to assign device major number dynamically.
2002-08-07Implement pmc(9) -- An interface to hardware performance monitoringbriggs
counters. These counters do not exist on all CPUs, but where they do exist, can be used for counting events such as dcache misses that would otherwise be difficult or impossible to instrument by code inspection or hardware simulation. pmc(9) is meant to be a general interface. Initially, the Intel XScale counters are the only ones supported.
2002-08-05Use a __HAVE_BOOTINFO_H define to check for bootinfo support instead ofsimonb
speading port names in arch-dependant code.
2002-06-05Simplify include files that just include <mips/locore.h>.simonb
2002-05-22Added an irix_machdep.h (in the future, COMPAT_IRIX will be available onmanu
several MIPS architectures)
2002-05-15Let machine-dependent code specify how to enumerate the bus.thorpej
Currently, everyone uses pci_enumerate_bus_generic().
2002-05-03Cosmetic change.rafal
2002-04-17Add event counter for zs interrupts and attach and use it; also, get therafal
zs major number out of the cdevsw table rather than hardcoding it in zs.c.
2002-03-17Make sure that private DMA flags don't overlap with standard DMA flags;simonb
start these at 0x10000 to leave room for an increase in the latter.
2002-03-13Replace lots of 8x<space> with <tabs> and other miscellaneous indentationsimonb
fixes. Wrap a couple of long lines. Use <return-type>\n<function name> as per KNF in a few places.
2002-02-27- define other DEV_ constants that the local port uses.christos
- delete cdev_decl(mm) since <sys/conf.h> does it.
2002-02-26Purge CLSIZE, CLSIZELOG2 and MCLOFSET.simonb
Be consistant in the way that MSIZE, MCLSHIFT, MCLBYTES and NMBCLUSTERS are defined. Remove old VM constants from cesfic port. Bump MSIZE to 256 on mipsco (the only one that wasn't already 256).
2002-01-28cosmetic reorder of #defines to match other portslukem
2002-01-14Remove __HAVE_GENERIC_SOFT_INTERRUPTS #ifdef.soren
2001-11-28Back out the copy of theses files to userlandmanu
2001-11-28We need to copy new SVR4 header files to /usr/include/sys...manu
2001-11-28Add support for COMPAT_IRIXmanu
2001-11-21Change symtab info to unsigned longs.thorpej
2001-11-21Add bootinfo stuff for NetBSD/sgimips. Changes to kernel and bootloaderthorpej
forthcoming.
2001-11-19Remove obsolete comment.soren
2001-11-19s/sgi/sgimips/soren
Remove __NO_SOFT_SERIAL_INTERRUPT.
2001-11-11Make microtime(9) do interpolation to get better-than-hz resolution, ifrafal
the platform supplies a clkread function that does something other than return 0 (which is the default unless overridden by the platorm code). Supply such a function for the IP22; even if it isn't perfect, it goes a long way to making ntp usable. While I'm at it, move the ticks-per-hz variable out of the struct platform since it's really private to the per-platform interrupt/clock code. XXX: No clkread function supplied for IP32, since it has other problems -- like a hardcoded ticks-per-hz, but the same code as on the IP22 could be used.
2001-11-10NetBSD Disklabel and SGI Volume header support. Based on NetBSD/mipscowdk
due to its similarities. Patch has been tested by many people on the sgimips list for some time with no complaints. Contributed by: Christopher SEKIYA <wileyc@rezrov.net>
2001-10-31Split elf32 vs. elf64 handling in loadfile(), including support forthorpej
each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
2001-10-18Initial boot device determination code: makebootdev() to parse boot commandmhitch
line parameters, and device_register() to try to match the boot device. Works on a Challenge S (and similar machines), but will need more work for other SCSI adapters.
2001-10-18We have device_register().mhitch
2001-10-15Machine-dependent loadfile() support for booting.mhitch
2001-09-09Clean up and standardise across MIPS ports.simonb
2001-09-04Standardise the format of MIPS' <machine/db_machdep.h>.simonb
2001-09-04May as well include <mips/cpuregs.h> in <mips/cpu.h> once rather thansimonb
in every MIPS port's <machine/cpu.h>.
2001-09-04Centralise struct cpu_info declaration and related info to <mips/cpu.h>.simonb
2001-08-31Remove an unneeded comment; ``sync'' with other "just include <mips/foo.h>"simonb
files.
2001-07-19Add BUS_DMA_READ and BUS_DMA_WRITE flags, that hint the back-endthorpej
at dmamap load time that the mapping will be used for a unidirectional transfer of the specified direction.
2001-07-09Count and display the number of CPUs present on the system.thorpej
2001-07-08- Use the identifier strings that are fetched by the MI ARC BIOSthorpej
code. - Garbage-collect some non-useful stuff from the mainbus_attach_args.