summaryrefslogtreecommitdiff
path: root/sys/arch/evbmips/include
AgeCommit message (Collapse)Author
2022-03-16Add the increasingly spreading __HIDE_DELAY kludge to evbmips.simonb
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-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-07-24ugly hack -- for SB1, use the contents of sbmips/include/disklabel.h.mrg
with this, i can build the 32 bit little endian SBMIPS kernel in the evbmips directory.
2017-07-24mostly converted sbmips -> evbmips. the SBMIPS kernel builds fullymrg
sans disksubr.c. intr.h does not need any additional fixes now, only disklabel.h. also test-built some other mips kernels.
2017-07-24sbmips->evbmips merge: import all the all the header files exceptmrg
intr.h and disklabel.h that are needed. both of these will need some special attention.
2017-01-26provide __HAVE_COMPAT_NETBSD32 and fix multiple include protection consistently.christos
2016-08-26Adjust evbmips_iointr to pass a clockframe pointer and use it forskrll
pwmclock @ voyager. Suggested by matt@ Hi macallan!
2015-12-21Add mips fenv.h (From FreeBSD)christos
2015-06-27add whitespacematt
2014-07-23Rename sljitarch.h to sljit_machdep.h.alnsn
2014-04-19Normal memory is not poolpage memory unless poolpage memory is default memory.matt
2012-11-25Add sljitarch.h to all mips machines.alnsn
2012-11-24Add sljit and bpfjit to evbmips. Not enabled by default.alnsn
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-10Add uboot.h which contains global_data and board_data structures.matt
2011-07-09Default to DB_ELF_SYMBOLS and DB_ELFSIZE 32matt
2011-07-09Allow algor kernels to be built under either algor/algor64 ormatt
evbmips-el/evbmips64-el. Note that MAXMAPARITITONS and majors numbers differ between the two ports which is why two kernels are still needed.
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-03-18- include <mips/mips_param.h> after MACHINE is definedtsutsui
- remove redundant comment
2011-02-20Merge forward from matt-nb5-mips64.matt
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-11-23If cpu_disklabel includes struct dkbad, define __HAVE_DISKLABEL_DKBAD.pooka
This allows use of subr_disk_mbr on all archs. Default to it for the rump disk component. No functional change for regular kernels. (The other option would've been to include dkbad in disklabels everywhere, but arguably this approach has less possible side-effects, especially given that wedges and related magic will take over the world any second now).
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
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-01-20Now that __HAVE_TIMECOUNTER and __HAVE_GENERIC_TODR are invariants,joerg
remove the conditionals and the code associated with the undef case.
2008-01-04Don't pull in unrelated gunk.ad
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-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-14Generic soft interrupts are mandatory.ad
2007-06-17Move declaretions of _spl*() and _{clr,set}softintr() functionstsutsui
(which are in mips/locore.S) into <mips/locore.h> from various MD files.
2007-02-16Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch calloutsad
via a soft interrupt. In the near future, softclock will be run from process context.
2007-02-09Merge newlock2 to head.ad
2006-12-21merge yamt-splraiseipl branch.yamt
- finish implementing splraiseipl (and makeiplcookie). http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html - complete workqueue(9) and fix its ipl problem, which is reported to cause audio skipping. - fix netbt (at least compilation problems) for some ports. - fix PR/33218.
2006-11-25Don't worry about the ELF32_MACHDEP_ENDIANNESS macro when compilingriz
a host tool - it's never used there.
2006-11-18Fix wrong prototype declarations of _spl*() functions.tsutsui
Pointed out by Havard Eidnes. XXX: should these decls be in <mips/intr.h> or <mips/locore.h>? While here, remove "extern" keyword from function declarations.
2006-09-02Convert evbmis to __HAVE_GENERIC_TODR.gdamore
2006-09-02Convert evbmips to timecounters, using the MIPS3 cp0 clock.gdamore
This has been tested on AR5312, and I expect it to "just work" on all evbmips systems. (On AR5312, the counter is 110MHz. :-)
2006-07-26don't install <machine/db_machdep.h>, this is kernel onlydrochner
2006-07-13Revert yamon_getenv() so it returns char *. While this is suboptimal, it isgdamore
the only convenient way to use the returned value with numerous library routines which have not been altered to properly use constified char *. This was found to be necessary when I extended yamon to hold a string describing a video mode for use with my experimental radeonfb.
2006-04-06Use "#define<TAB>".simonb
2006-03-21Use const char * in yamon_print().gdamore
2006-02-09au_icu.c is in mips/ and should not depend on evbmips intr handler struct.gdamore
convert various u_int32_t to preferred uint32_t.
2006-01-30paddr_t should be 64-bits wide to accomodate full R4K 36-bit phys address.gdamore
(Alchemy needs it for various system peripherials located above 4GB.)
2005-12-11merge ktrace-lwp.christos
2005-11-27implement splraiseipl() for the following ports.yamt
evbppc, evbmips, evbsh3, hp700, mac68k, vax, x68k.