summaryrefslogtreecommitdiff
path: root/sys/arch/sgimips/include
AgeCommit message (Collapse)Author
2022-04-16fix various typos in comments and log messages.andvar
2021-05-31Include "opt_param.h" (ifdef _KERNEL_OPT) everywhere that MSGBUFSIZE issimonb
referenced since some sources include <machine/param.h>.
2021-04-01Whitespace: #define<tab>simonb
2020-07-07Overhaul the interface to pci_configure_bus():thorpej
- Don't expose how PCI bus configuration resource management is implemented. Provide a new resource provider API: ==> pciconf_resource_init() -- Initialize a PCI configuration resources container. ==> pciconf_resource_add() -- Add a PCI configuration resource to the container (I/O, MEM, or prefetchable MEM). Multiple resources of each type may be added. ==> pciconf_resource_fini() -- Tear down the PCI configurtation resources container once the bus has been configured. This is much easier to use than the previous method of providing an extent map for each kind of resource, and works better for e.g. ACPI platforms that provide potentially multiple PCI resources in tables provided by firmware. - Re-implement PCI configuration resource management using vmem arenas, rather than extent maps.
2019-01-07move DEV_BSIZE, DEV_BSHIFT out of MD param.h, they are same on all portsjdolecek
also move BLKDEV_IOSIZE, MAXPHYS, but allow override since some ports have different value (powerpc uses NBPG for BLKDEV_IOSIZE, sun2/sun3 have lower MAXPHYS)
2018-12-19Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently,maxv
but also as discussed several times in the past.
2018-09-27add event counters for int0 at mainbusmacallan
2018-07-12Remove the kernel PMC code. Sent yesterday on tech-kern@.maxv
This change: * Removes "options PERFCTRS", the associated includes, and the associated ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is good. * Removes the PMC code of ARM XSCALE. * Removes all the pmc.h files. They were all empty, except for ARM XSCALE. * Reorders the x86 PMC code not to rely on the legacy pmc.h file. The definitions are put in sysarch.h. * Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control and sys_pmc_get_info syscalls. They are marked as OBSOL in kern, netbsd32 and rump. * Removes the pmc_evid_t and pmc_ctr_t types. * Removes all the associated man pages. The sets are marked as obsolete.
2017-01-26provide __HAVE_COMPAT_NETBSD32 and fix multiple include protection consistently.christos
2015-12-21Add mips fenv.h (From FreeBSD)christos
2015-06-26Cleanup includesmatt
2015-02-18switch sgimips to common bus_dma and bus_space in arch/mips/macallan
Tested on O2 and Indy. Things that are compile-tested only for lack of hardware: - GIO ethernet cards with PCI bridges - IP2x hardware not found on Indy - IP1x
2014-08-06Consistently define WARN in a way that passes format string checks, i.e.joerg
always uses the same number of arguments as given in the format string.
2014-07-23Rename sljitarch.h to sljit_machdep.h.alnsn
2014-04-01Add a missing commaozaki-r
2014-03-29make pci_intr_string and eisa_intr_string take a buffer and a lengthchristos
instead of relying in local static storage.
2012-11-25Add sljitarch.h to all mips machines.alnsn
2012-10-27split device_t/softc for all remaining drivers.chs
replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
2011-08-30Add getlabelusesmbr(), as proposed inbouyer
http://mail-index.netbsd.org/tech-userlevel/2011/08/25/msg005404.html This is used by disk tools such as disklabel(8) to dynamically decide is the undelyling platform uses a disklabel-in-mbr-partition or not (instead of using a compile-time list of ports). getlabelusesmbr() reads the sysctl kern.labelusesmbr, takes its value from the machdep #define LABELUSESMBR. For evbmips, make LABELUSESMBR 1 if the platform uses pmon as bootloader, and 0 (the previous value) otherwise.
2011-07-17Retire varargs.h support. Move machine/stdarg.h logic into MIjoerg
sys/stdarg.h and expect compiler to provide proper builtins, defaulting to the GCC interface. lint still has a special fallback. Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and derive va_list as required by standards.
2011-07-17Switch MIPS and MIPS-ish architectures to new-style <sys/bus.h>. Thisdyoung
involves moving some inline bus_space(9) implementation into .c files.
2011-07-09Default to DB_ELF_SYMBOLS and DB_ELFSIZE 32matt
2011-07-04don't mark delay as extern inline. it's defined normally in machdep.c.mrg
2011-07-01#include <sys/bus.h> instead of <machine/bus.h>.dyoung
2011-07-01Per discussion atdyoung
<http://mail-index.netbsd.org/tech-kern/2010/04/02/msg007941.html>, divide each machine's bus.h into bus_defs.h (constants & data types) and bus_funcs.h (macro implementations of bus_space(9) routines and MD prototypes). Note that some bus_space(9) routines' implementation will move to .c files from inline subroutines or macros in .h files. I've only made the split for machine architectures where there is PCI. All of the non-PCI-having architectures will require a similar split. These #include files are not referenced by any (committed) Makefiles or header files, yet. Changes to Makefiles, to <sys/bus.h>, and to some more machine-dependent files will dribble in before I throw the switch.
2011-05-11Now that GENERIC32_IPX3x builds again, fix some pci_attach_argsdyoung
constification that I'd missed.
2011-03-18Include <mips/mips_param.h> after MACHINE is defined.tsutsui
2011-03-06Now that MACHINE is defined in user-land in eitherhe
mips/include/mips_param.h or powerpc/include/param.h, stop trying to re-define it in the port-specific param.h files when _KERNEL isn't defined.
2011-02-20Merge forward matt-nb5-mips64matt
Adapt to new interrupt/spl framework Deal with arcbios calls being O32 and kernels being N32/N64. Need to save/restore T8 across arcbios calls.
2011-02-08Remove clause 3 (UCB advertising clause) from the University of Utahrmind
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as they originally were. Extra verification by snj@.
2009-12-14Merge from matt-nb5-mips64matt
Merge mips-specific arch files.
2009-08-23Remove BOOT_AOUT here as well, mips no longer deals with a.out.he
2009-08-13Move MID_MACHINE to <mips/mips_param.h> and use local values so we don'tmatt
need to include exec_aout.h
2009-08-12Nuke a.out support for MIPS.matt
2009-04-03Include sys/evcnt.h for struct evcnt, not sys/device.h.uebayasi
2009-02-10Ready these for IP6.rumble
2008-11-25Don't be lazy and let one directory's Makefile install an includehe
file from another directory, as that only causes problems with mtree later on when encountering the /.. path component. Instead, descend into dev/ and use the Makefile there to install dev/crmfbreg.h in the appropriate directory.
2008-11-06install crmfbreg.hmacallan
2008-08-08Bump BOOTINFO_MAGIC to prevent old kernels (including netbsd-4) crashingtsutsui
when bootinfo data is passed from newer bootloaders. Note old bootloaders can still load newer kernels.
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-03-29Split softc and device_t for zsc(4) and its children.tsutsui
XXX we should restructure MI APIs and make it really machine independent.
2008-02-21Increase MSGBUFSIZE so that we don't truncate dmesg before syslogsekiya
starts.
2008-02-13add bus_space_mmap()macallan
2008-01-26Replace bootinfo stuff on sgimips (which has been disabled in bootloader)tsutsui
with ones used on arc (which has been working for a year) and enable it in bootloader. Tested on IP32.
2008-01-20Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,joerg
remove the conditionals and the code associated with the undef case.
2007-12-03Interrupt handling changes, in discussion since February:ad
- Reduce available SPL levels for hardware devices to none, vm, sched, high. - Acquire kernel_lock only for interrupts at IPL_VM. - Implement threaded soft interrupts.
2007-11-07Merge tty changes from the vmlocking branch.ad
2007-10-17Merge the ppcoea-renovation branch to HEAD.garbled
This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here. TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted. NOTES: pmppc was removed as an arch, and moved to a evbppc target.
2007-07-23sprinkle (vaddr_t) to deal with sizeof(paddr_t) != sizeof(void *)macallan
Now the loader should build again.
2007-07-17use 64bit paddr_t and bus_addr_t so we can mmap DMA buffers uncachedmacallan