#
1f143d9a |
| 26-Oct-2023 |
andvar <andvar@NetBSD.org> |
Build db_machdep.c when KGDB option is enabled. Do not cast (regs)->db_tf.tf_pc to db_addr_t (thus ifdef block is redundant). Adjust ifdef conditions in db_interface.c to make it build with KGDB opti
Build db_machdep.c when KGDB option is enabled. Do not cast (regs)->db_tf.tf_pc to db_addr_t (thus ifdef block is redundant). Adjust ifdef conditions in db_interface.c to make it build with KGDB option. While here, add #endif comments for longer blocks.
These changes should make sparc build with KGDB option, once ddb/db_access.c code will be fixed to build with it.
show more ...
|
#
2685996b |
| 24-Apr-2021 |
thorpej <thorpej@NetBSD.org> |
Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass a
Merge thorpej-cfargs branch:
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?).
show more ...
|
#
4d9da7b2 |
| 21-Oct-2020 |
christos <christos@NetBSD.org> |
make process_machdep.c included always since it provides register i/o used by sys_process_getlwpstatus.c which is always included.
|
#
d1f9da99 |
| 20-Oct-2020 |
christos <christos@NetBSD.org> |
harmonize process_machdep.c inclusion.
|
#
08004a7e |
| 12-Sep-2020 |
isaki <isaki@NetBSD.org> |
Improve am7930 family drivers to share more code. audioamd(4) on sparc, vsaudio(4) on vax, and bba(4) are. - Remove complex and useless callbacks: onopen, onclose, and indirect_{read,write}. This
Improve am7930 family drivers to share more code. audioamd(4) on sparc, vsaudio(4) on vax, and bba(4) are. - Remove complex and useless callbacks: onopen, onclose, and indirect_{read,write}. This makes audioamd and vsaudio almost the same. - Remove (already disabled) assembly fast interrupt path from audioamd(4). cf. http://mail-index.netbsd.org/source-changes/2009/12/19/msg004585.html - Use trigger_* method rather than start_* method. It's more suitable. vsaudio(4) was tested by naru@, bba(4) was tested by tsutsui@.
show more ...
|
#
148f4b81 |
| 01-Mar-2019 |
macallan <macallan@NetBSD.org> |
defflag SX_DEBUG
|
#
43c93207 |
| 19-Dec-2018 |
maxv <maxv@NetBSD.org> |
Remove compat_svr4 and compat_svr4_32, as discussed on tech-kern@ recently, but also as discussed several times in the past.
|
#
c2513cbf |
| 21-Jul-2017 |
nakayama <nakayama@NetBSD.org> |
Move the ddb registers and empty command table used for crash(8) into db_machdep.c like other archs.
|
#
d5b3e25a |
| 30-Apr-2016 |
macallan <macallan@NetBSD.org> |
cgfourteen needs glyphcache now
|
#
b1ae921a |
| 21-Apr-2016 |
macallan <macallan@NetBSD.org> |
cgfourteen needs vcons
|
#
5b2f52ec |
| 16-Apr-2013 |
jdc <jdc@NetBSD.org> |
Add PCI fixup for MicroSPARC-IIep. Unconfigured PCI-PCI bridges and devices behind them are configured.
|
#
3b60920a |
| 05-Feb-2013 |
macallan <macallan@NetBSD.org> |
attachment and initialization for SX
|
#
e4afd2bd |
| 06-Nov-2012 |
alnsn <alnsn@NetBSD.org> |
Enable bpfjit on sparc.
|
#
e225b7bd |
| 12-Jun-2011 |
rmind <rmind@NetBSD.org> |
Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock.
- Simplify locking in
Welcome to 5.99.53! Merge rmind-uvmplock branch:
- Reorganize locking in UVM and provide extra serialisation for pmap(9). New lock order: [vmpage-owner-lock] -> pmap-lock.
- Simplify locking in some pmap(9) modules by removing P->V locking.
- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).
- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner. Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.
- Unify /dev/mem et al in MI code and provide required locking (removes kernel-lock on some ports). Also, avoid cache-aliasing issues.
Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches formed the core changes of this branch.
show more ...
|
#
f252fc5e |
| 20-Sep-2010 |
tsutsui <tsutsui@NetBSD.org> |
Prepare sparc optimized (by 32 bit add-with-carry insns) cpu_in_cksum() which is reusing in_cksum_internal() in old sparc/in_cksum.c.
~4% improvements of ttcp(1) xfer rates on SS1+ with le(4).
|
#
3c5e1600 |
| 15-Jan-2010 |
bouyer <bouyer@NetBSD.org> |
Add apc(4), a driver for the Aurora Personality Chip (APC) found on SPARCstation-4/5, and emulated by qemu to idle the simulator when the CPU is idle. Infos about the registers from the linux driver.
Add apc(4), a driver for the Aurora Personality Chip (APC) found on SPARCstation-4/5, and emulated by qemu to idle the simulator when the CPU is idle. Infos about the registers from the linux driver. Not enabled by default because it can cause some Sparc systems to hang (so says the linux driver). Only the CPU idle part implemented at this time; fan speed and Convenience power outlet management to be added. Tested on qemu.
show more ...
|
#
be5da0aa |
| 27-Sep-2009 |
tsutsui <tsutsui@NetBSD.org> |
Remove commented out and nonexistent cgthree at obio stuff.
SPARCclassic has onboard CG3 but it's internally connected via SBus, and there is no info about sun4m machines which actually require cgth
Remove commented out and nonexistent cgthree at obio stuff.
SPARCclassic has onboard CG3 but it's internally connected via SBus, and there is no info about sun4m machines which actually require cgthree at obio attachment. Info from jdc@.
show more ...
|
#
92ce8c6a |
| 19-Nov-2008 |
ad <ad@NetBSD.org> |
Make the emulations, exec formats, coredump, NFS, and the NFS server into modules. By and large this commit:
- shuffles header files and ifdefs - splits code out where necessary to be modular - adds
Make the emulations, exec formats, coredump, NFS, and the NFS server into modules. By and large this commit:
- shuffles header files and ifdefs - splits code out where necessary to be modular - adds module glue for each of the components - adds/replaces hooks for things that can be installed at runtime
show more ...
|
#
bb33f35f |
| 20-Feb-2008 |
drochner <drochner@NetBSD.org> |
Since files.wscons et al. are included by ~all ports anyway, include them in the mi "files" file, and remove include statements from md files. These shouldn't pull in additional kernel code when not
Since files.wscons et al. are included by ~all ports anyway, include them in the mi "files" file, and remove include statements from md files. These shouldn't pull in additional kernel code when not in use, so it shouldn't do any harm except a risk of namespace collisions which should be easy to fix.
show more ...
|
#
71eb6505 |
| 14-Feb-2008 |
ad <ad@NetBSD.org> |
Make sparc use atomic_cas_ulong() for mutex and rwlock operations, and disable the custom mutex/rwlock code. PR port-sparc/37930. ok martin@
|
#
6e869e40 |
| 25-Jan-2008 |
joerg <joerg@NetBSD.org> |
Refactor in_cksum/in4_cksum/in6_cksum implementations: - All three functions are included in the kernel by default. They call a backend function cpu_in_cksum after possibly computing the checksum
Refactor in_cksum/in4_cksum/in6_cksum implementations: - All three functions are included in the kernel by default. They call a backend function cpu_in_cksum after possibly computing the checksum of the pseudo header. - cpu_in_cksum is the core to implement the one-complement sum. The default implementation is moderate fast on most platforms and provides a 32bit accumulator with 16bit addends for L32 platforms and a 64bit accumulator with 32bit addends for L64 platforms. It handles edge cases like very large mbuf chains (could happen with native IPv6 in the future) and provides a good base for new native implementations. - Modify i386 and amd64 assembly to use the new interface.
This disables the MD implementations on !x86 until the conversion is done. For Alpha, the portable version is faster.
show more ...
|
#
0805a941 |
| 06-Jan-2008 |
ad <ad@NetBSD.org> |
Add MODULAR option. Include kernel linker stuff if MODULAR.
|
#
d974db0a |
| 17-Oct-2007 |
garbled <garbled@NetBSD.org> |
Merge the ppcoea-renovation branch to HEAD.
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 v
Merge the ppcoea-renovation branch to HEAD.
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.
show more ...
|
#
4ba11875 |
| 30-Jul-2007 |
macallan <macallan@NetBSD.org> |
add wsdisplay support for cg14 The console will run in 8bit but switch to 32bit in mapped mode so XFree86 with wsfb can run in 24bit colour.
|
#
6a8a584d |
| 07-Jul-2007 |
tsutsui <tsutsui@NetBSD.org> |
Remove leftover netns stuff.
|