summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/include/param.h
AgeCommit message (Collapse)Author
2022-03-22bump MSGBUFSIZEmacallan
2021-05-31Include "opt_param.h" (ifdef _KERNEL_OPT) everywhere that MSGBUFSIZE issimonb
referenced since some sources include <machine/param.h>.
2021-05-08KNFskrll
2020-05-01Move machine dependent AUDIO_BLK_MS default value to <machine/param.h>.isaki
If the port has __AUDIO_BLK_MS in <machine/param.h>, it will be used. Otherwise the default value (currently 10 msec) defined in audio.c will be used. This mechanism is for very old ports which cannot satisfactorily handle 10 msec block. Currently hppa, m68k, sh3, sparc(!64) and vax are. For port maintainers, if general models in your port cannot satisfactorily handle 10 msec block, please consider to define your suitable longer period (40 msec would be a good first choice). But please don't be eager to make the default value shorter. <machine/param.h> was discussed in source-changes-d. It's better than ifdef storm, or adding 60+ new header files in every arch/*/include/ directories for this. Thanks mrg@, ad@, and everyone. http://mail-index.netbsd.org/source-changes-d/2020/05/01/msg012572.html
2020-03-21Revert another historic $Hdr$ collapse.riastradh
2020-03-05Revert "Include opt_diagnostic.h for DIAGNOSTIC."riastradh
This did not do what I thought it did. opt_diagnostic.h is only for the unused _DIAGNOSTIC, which seems like an abortive attempt to incrementally convert DIAGNOSTIC to an opt_*.h option rather than a command-line option.
2020-03-05Include opt_diagnostic.h for DIAGNOSTIC.riastradh
...at least, in header files, which may not have already included libkern.h.
2019-04-16Trailing whitespaceskrll
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)
2015-10-27make sure MSGBUFSIZE can't expand strangely by using parens.mrg
2014-02-24Rename NetBSD/hp700 to NetBSD/hppa.skrll
Unfortunately our VCS isn't very helpful here.
2012-02-10proper sizing of kmem_arena on different portspara
PR port-i386/45946: Kernel locks up in VMEM system
2012-02-04improve sizing of kmem_arena now that more allocations are made from itpara
don't enforce limits if not required ok: riz@
2012-01-24Use and define ALIGN() ALIGN_POINTER() and STACK_ALIGN() consistently,christos
and avoid definining them in 10 different places if not needed.
2012-01-20Change CMSG_SPACE and CMSG_LEN to provide Integer Constant Expressionsjoerg
again. This was changed in sys/socket.h r1.51 to work around fallout from the IPv6 aux data migration. It broke the historic ABI on some platforms. This commit restores compatibility for netbsd32 code on such platforms and provides a template for future changes to the CMSG_* alignment. Revert PCC/Clang workarounds in postfix and tmux.
2010-02-08Remove separate mb_map. The nmbclusters is computed at boot time basedjoerg
on the amount of physical memory and limited by NMBCLUSTERS if present. Architectures without direct mapping also limit it based on the kmem_map size, which is used as backing store. On i386 and ARM, the maximum KVA used for mbuf clusters is limited to 64MB by default. The old default limits and limits based on GATEWAY have been removed. key_registered_sb_max is hard-wired to a value derived from 2048 clusters.
2010-01-17Simplify.skrll
2009-04-30Merge nick-hppapmap.skrll
This is a port of the OpenBSD pmap and trap handling code to get us - Performance boost on some/all machines. - Well on the way to PA2.0 (in 32bit mode) support. Several machines probe hardware, but fail sometime after interrupts are enabled. Other things changed / fixed on the branch are - update autoconf to use the OpenBSD code. - com @ dino is very close to being supported. - HPPA_REDZONE has been replaced with a working redzone which is enabled with DIAGNOSTIC. - UPAGES has been halved in size. - power(4) from OpenBSD to fix a few bugs. - updated list of modules from OpenBSD. - initial ports of uturn(4), astro(4) and elroy(4). - update some copyrights (remove advertising clause, etc.) Thanks to mjf for some of the above, testing and listening.
2008-01-10Various improvements to the hppa kernel for gdb.skrll
- add the useful space and control registers to struct reg - update process_{read,write}_regs accordingly - use MID_HPPA in core dumps. - dump the fp regs into cores. - add single stepping support from OpenBSD.
2008-01-02Remove the #endif corresponding to the #ifdef _KERNEL removed in previous.he
2007-12-31Remove COMPAT_HPUX.ad
2007-03-03Remove hppa_{round,trunc}_page.skrll
2006-08-28- remove unused bdbtofsb.yamt
- move the following macros from MD headers to sys/param.h. ctod dtoc ctob btoc dbtob btodb
2005-12-11merge ktrace-lwp.christos
2004-07-18add hppa support for RAS, context stuff, siginfo and scheduler activations:chs
- add a RAS hook in cpu_switch(). - fill in the definition of struct mcontext. - implement cpu_upcall(), cpu_getmcontext(), cpu_getmcontext() and cpu_switchto(). - for now, force the right priviledge bits and space regs in setcontext(). - use correct values for __SIMPLELOCK_*. - move the user stack to start at a multiple of the pthread stack size so that libpthread can use the sp-masking trick.
2003-09-20Use #ifdef _KERNEL_OPT around #include "opt_XXX.h"matt
2003-06-23Make sure to include opt_foo.h if a defflag option FOO is used.martin
2003-04-28Add a new feature-test macro, _NETBSD_SOURCE. If this is definedbjh21
by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined. <sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE, _POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve existing behaviour. This has two major advantages: + Programs that require non-POSIX facilities but define _POSIX_C_SOURCE can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS. + It makes most of the #ifs simpler, in that they're all now ORs of the various macros, rather than having checks for (!defined(_ANSI_SOURCE) || !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place. I've tried not to change the semantics of the headers in any case where _NETBSD_SOURCE wasn't defined, but there were some places where the current semantics were clearly mad, and retaining them was harder than correcting them. In particular, I've mostly normalised things so that _ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE, _XOPEN_SOURCE and _NETBSD_SOURCE in that order. Tested by building for vax, encouraged by thorpej, and uncontested in tech-userlevel for a week.
2003-04-01* Define PAGE_SHIFT, PAGE_SIZE, and PAGE_MASK in <hppa/vmparam.h>,thorpej
not in <hppa/param.h>. * Define NBPG in terms of PGSHIFT.
2002-06-05Added files to support generic HP PA-RISC based machines. hp700-specificfredette
files to follow.