summaryrefslogtreecommitdiff
path: root/sys/arch/evbsh3/include
AgeCommit message (Collapse)Author
2021-11-02In order to prevent _mcount() from being recursively called when built with ↵ryo
COPTS=-O0, sprinkle `__always_inline' to make _mcount() be generated as a single function.
2021-10-27Remove unnecessary multiple-inclusion-protection from these tinythorpej
stub headers.
2021-01-23Document via __HAVE_BUS_SPACE_8 platforms that implement bus_space_*_8christos
2020-09-06Fix some more uvm header fallout. Add include guards while here.riastradh
2019-09-23Provide PRIxBUSADDR, PRIxBUSSIZE, PRIuBUSSIZE, and PRIxBSH for all archesskrll
to follow arm and (generic) mips. Reviewed by christos.
2019-05-07Switch all users (except ia64) of custom machine/ansi.h to common_ansi.hkamil
Deduplicate the code among ports and poll definitions of types directly from a compiler. This fixes miscompilation of certain programs that instruct compilers to generate code for different types. This bug has been detected with -fshort-wchar in EFI firmware. Proposed and discussed on a mailing list (twice). Itanium uses custom !ELF fallback switch, temporarily leave it as it is.
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.
2016-08-25more fenv.hchristos
2015-06-11Declare or #define avail_start and avail_end as appropriatematt
2012-03-28- Normalize inclusion protection (remove)christos
- Move CHAR_{MIN,MAX} to a common file. - Fix broken comments
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-19Change <machine/bus.h> to <sys/bus.h> throughout.dyoung
Split bus.h -> bus_{defs,funcs}.h. Mark evbsh3/bus.h obsolete.
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.
2010-04-06Added support following boards.nonaka
- AlphaNet MS104-SH4 - TAC T-SH7706LAN Ver.3 - TAC T-SH7706LSR Ver.1
2008-08-05Update <machine/ieeefp.h> to use the C99 FE_* definitions instead of thematt
NetBSD defined ones. Redefine the NetBSD ones in terms of the C99 ones. Step 1 to having <fenv.h>
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
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-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-07-26don't install <machine/db_machdep.h>, this is kernel onlydrochner
2005-12-11merge ktrace-lwp.christos
2005-11-27implement splraiseipl() for the following ports.yamt
evbppc, evbmips, evbsh3, hp700, mac68k, vax, x68k.
2005-06-12Make disklabel(8) and fdisk(8) into "host tools " last step: builddyoung
and install ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-disklabel, ${TOOLDIR}/bin/${MACHINE_GNU_PLATFORM}-fdisk by "reaching over" to the sources in ${NETBSDSRCDIR}/sbin/{disklabel fdisk}/. To avoid clashes with a build-host's header files, especially on *BSD, the host-tools versions of fdisk and disklabel search for #includes such as disklabel.h, disklabel_acorn.h, disklabel_gpt.h, and bootinfo.h in a new #includes namespace, nbinclude/. That is, they #include <nbinclude/sys/disklabel.h>, <nbinclude/machine/disklabel.h>, <nbinclude/sparc64/disklabel.h>, instead of <sys/disklabel.h> and such. I have also updated the system headers to #include from nbinclude/-space when HAVE_NBTOOL_CONFIG_H is #defined.
2005-06-05Adapt to compiling with -Wcast-qual by sprinkling around some consts.he
Had to use __UNCONST() in one case of sysctl_lookup() use.
2004-05-08Factor out W{CHAR,INT}_{MAX,MIN} into their own header file.kleink
2003-10-23No need for multiple-inclusion protection in these.kleink
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-04-19PR/3012: Greg A. Woods: Write all float.h files [except the vax of course]christos
in terms of float_ieee.h
2003-01-17Merge the nathanw_sa branch.thorpej
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-05-09remove trap.huch
2002-04-22increase _INTR_N from 7 to 11 (count both SCI and SCIF)msaitoh
2002-03-24add autoconf.h for new mainbus driver.uch
2002-03-24adapted to new interrupt code and shb changes.uch
2002-03-10common part are moved to sh3/include/param.huch
2002-03-08remove unneeded code and files.uch
2002-03-07Remove some files that no longer exist.thorpej
2002-03-04CTL_MACHDEP definitions are integrated into sh3/include/cpu.h again.uch
2002-03-03remove obsolete headers.uch
2002-03-03machine dependent sysctl are moved to machine/cpu.huch
dreamcast, hpcsh ... CPU_CONSDEV mmeye, evbsh3 ... CPU_CONSDEV, CPU_LOADANDRESET
2002-02-28Use "#define<tab>".simonb
2002-02-28Remove unneeded header.uch
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-02-22New NetBSD/sh3 clock framework.uch
+ hardclock source is moved from TMU1 to TMU0. + SH3/SH4 common kernel support. + PCLOCK estimation. + remove duplicated code.
2001-04-15Add definitions of C99 integer format conversion macros.kleink
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15Add definitions of C99 specified-width integer type limits.kleink
XXX Fastest minimum-width integer types haven't been decided upon yet.