summaryrefslogtreecommitdiff
path: root/sys/arch/sun3
AgeCommit message (Collapse)Author
2023-06-24Fix typo in comment.msaitoh
2023-06-03bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBERlukem
Provide a single variable CC_WNO_ADDRESS_OF_PACKED_MEMBER with options for both clang and gcc, to replace CLANG_NO_ADDR_OF_PACKED_MEMBER CC_NO_ADDR_OF_PACKED_MEMBER GCC_NO_ADDR_OF_PACKED_MEMBER Using the convention CC_compilerflag, where compilerflag is based on the full compiler flag name.
2023-06-02follow the steps of Andrew Doran (ad) commit and fix more s/loose/lose/ typos.andvar
also s/beyound/beyond/ and few others along the way, mainly in comments.
2023-03-28s/interrput/interrupt/ and s/accesss/access/ in comments.andvar
2023-02-12Add optoion GENERIC.local include to the end of ~all GENERIC configsabs
This excludes atari, sgimips, evbmips, evbppc, evbsh3, and hpcarm all of which have somewhat specific kernel config file layouts
2023-01-23s/lager/larger/ in comments.andvar
2023-01-23s/cyliner/cylinder/ and s/specturm/spectrum/ in messages.andvar
2022-09-29swwdog(4): Add to GENERIC kernels.riastradh
Plus a handful of others that I'm familiar with. Lots of special- purpose kernels should probably have this too but I'm not going through all the arm, mips, and ppc evaluation board kernels to see which ones are relevant. Omitted from systems I know to be very small: - sun2/GENERIC - dreamcast/GENERIC Feel free to remove it from others that need to be kept smaller. Compile-tested a few of these just in case: - alpha/GENERIC - amd64/GENERIC - evbmips/OCTEON - i386/GENERIC - riscv/GENERIC PR kern/29702
2022-08-17Add bwtwo0 config on P4 cgfour overlay plane on 3/80, as 3/60 in bw2.sun3.tsutsui
Note the ancient Xsun server supports multiple framebuffers with both cgfour (at DISPLAY :0) and overlay bwtwo (at DISPLAY :0.1).
2022-08-07UFS/LFS dirhash:simonb
- Enable UFS_DIRHASH if the architecture or kernel model specific config file can use 128MB of RAM or more. - Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel and by a number of NetBSD developers for years. - Add LFS_DIRHASH if LFS was enabled. - Be somewhat consistent with FS options order.
2022-05-31fix various typos in comments, documentation and messages.andvar
2022-05-20s/auxillary/auxiliary/ in comments.andvar
2022-05-04fix various typos in comments and log messages.andvar
2022-05-03fix various typos, mainly s/trasfering/transferring/ and s/theese/these/.andvar
2022-03-16s/paniced/panicked/ and s/borken/broken/ in comments.andvar
2022-02-12sys: Fix various abuse of struct device internals.riastradh
Will help to make struct device opaque later.
2022-02-06fix various typos in comments, log messages and documentation.andvar
mainly s/aparently/apparently/ and s/implmented/implemented/.
2021-12-05s/ommit/omit/ in comment.msaitoh
2021-12-05s/coresponding/corresponding/ in comment.msaitoh
2021-10-24fix various typos in comments, mainly copypasta.andvar
2021-09-11Add missing double p and d for stopped and overriden accordingly.andvar
Fix few more typos along the way, mainly in copy-pasted comments.
2021-08-07Merge thorpej-cfargs2.thorpej
2021-08-02fix 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-24Merge thorpej-cfargs branch:thorpej
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments. Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.) Remove unnecessary or redundant interface attributes where they're not needed. There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles) ...and a sentinel value CFARG_EOL. Add some extra sanity checking to ensure that interface attributes aren't ambiguous. Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
2021-04-02For ports with __HAVE_LEGACY_INTRCNT, turn intrcnt[] and derivedrin
variables into u_int, to match with kern/subr_evcnt.c.
2021-04-01Define __HAVE_LEGACY_INTRCNT to indicate this port uses legacy intrcntsimonb
interrupt accounting.
2021-04-01Whitespace: #define<tab>simonb
2021-03-31Adjust the number of entries in the intrcnt array to match the numbersimonb
of names in the intrnames list.
2021-02-23introduce DDB_END_CMD and replace more than 20 copies of the samemrg
list of NULLs and 0. idea from rillig@. all touched ports built, several booted.
2021-01-25Remove #undefs against INTERRUPT_SAVEREG and INTERRUPT_RESTOREREG.tsutsui
They have been defined in <m68k/asm.h> for years.
2021-01-21add a commented out compat_ossaudio wherever there's compat_linuxnia
requested by mrg
2020-11-21malloc(9) -> kmem(9)thorpej
2020-09-27vether: Add to kernel configurationsroy
It's only enabled if the kernel enabled bridge AND tap. Otherwise it's commented out.
2020-09-10Build in debug symbols.rin
2020-09-10Fix tracedump() for sun3 and sun2 by adding __noinline attribute.rin
It unwinds stack frame by using address of its first argument, which does not, of course, work if inline-expanded.
2020-09-07move the __packed attribute from struct frame::F_t into the singlemrg
unaligned member inside. CTASSERT() the size is unchanged. with this, sun3 and GCC 9 appears to work.
2020-09-07don't error array-bounds and packed-member issues with GCC 9.mrg
2020-08-19Make sure pmap_kenter_pa(9) handles uncached mappings properly.tsutsui
Fixes "cgfour(4) is mis-probed as bwtwo(4)" problem on 3/80 that has been broken since NetBSD 1.6. Now Xorg 1.20 based Xsun 8bpp color server is confirmed working on the cgfour(4). Should be pulled up to netbsd-9. XXX: all MD PMAP_NC flags should be replaced with MI PMAP_NOCACHE flag.
2020-08-10Clean up _LKM --> _MODULE leftovers.rin
Note that _KERNEL is always defined for modules.
2020-08-10Fix siginfo support for amiga, mac68k, and sun3:rin
- T_ZERODIV is integer divide by zero. Therefore, ksi_code should be FPE_INTDIV, not FPE_FLTDIV. - Set ksi_addr for SIGTRAP. Also, set TRAP_BRKPT or TRAP_TRACE to ksi_code appropriately. This fixes some tests in lib/libc/sys and lib/libc/gen. XXX Apply similar fixes to other m68k ports.
2020-08-10Add -fno-omit-frame-pointer to m68k kernels with DDB for backtraces.rin
-omit-frame-pointer is enabled for -O1 and higher for GCC8 by default.
2020-08-01Remove references to BRIDGE_IPF, it is now compiled in by default.maxv
2020-07-11Fix various typos of "system" in comments. Mainly copypasto errors.nia
from vezhlys on freenode.
2020-06-19Use "-fno-unwind-tables" to shrink binaries more.tsutsui
sun3 GENERIC -Os text data bss dec hex filename 1762862 75292 93032 1931186 1d77b2 netbsd sun3 GENERIC -Os -fno-unwind-tables text data bss dec hex filename 1545726 75292 93032 1714050 1a2782 netbsd GENERIC is tested on TME.
2020-06-11uvm_availmem(): give it a boolean argument to specify whether a recentad
cached value will do, or if the very latest total must be fetched. It can be called thousands of times a second and fetching the totals impacts not only the calling LWP but other CPUs doing unrelated activity in the VM system.
2020-04-04mark nsmb major obsoletejdolecek
2020-03-19Don't bother with IFF_OACTIVE. Just keep processing so long asthorpej
sc->xmit_busy is less than sc->ntxbuf.
2020-03-14pmap_remove_all(): Return a boolean value to indicate the behaviour. Ifad
true, all mappings have been removed, the pmap is totally cleared out, and UVM can then avoid doing the work to call pmap_remove() for each map entry. If false, either nothing has been done, or some helpful arch-specific voodoo has taken place.
2020-03-05miscelaneous -> miscellaneous in comment.msaitoh