#
1.102 |
|
30-May-2022 |
rin |
Introduce PPC_NO_UNALIGNED flag to indicate that CPU cannot handle unaligned memory access, and emulation should be provided to userland.
|
#
1.101 |
|
07-May-2022 |
rin |
Try to fix PV tracking support.
* For oea (with real PV tracking support):
Define __HAVE_PMAP_PV_TRACK. Otherwise, pmap_pv_init() is not called by uvm_init().
* For booke and ibm4xx (without PV tracking support):
For MODULAR kernel and modules, define __HAVE_PMAP_PV_TRACK together with PMAP_PV_TRACK_ONLY_STUBS, so that modules can be shared with oea.
Note that PMAP_PV_TRACK_ONLY_STUBS can be used even for oea, as a compile-time option to strip real PV tracking support.
|
#
1.100 |
|
17-Feb-2022 |
macallan |
include pmap_pvt.c in bridge mode as well
|
#
1.99 |
|
16-Feb-2022 |
riastradh |
powerpc: Implement pv-tracking for unmanaged pages.
Needed for drm.
|
Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
|
#
1.98 |
|
05-Mar-2021 |
rin |
For Explora 451, call calc_delayconst() before pckbc_cnattach(), which depends on delay() and DELAY().
Unfortunately, proplib(9) API is not available for MD codes, that are called before consinit() (since pool(9) is not initialized yet).
Therefore, hard-code CPU frequency to calc_delayconst() in case "processor-frequency" is not initialized.
|
#
1.97 |
|
21-Oct-2020 |
christos |
branches: 1.97.2; make process_machdep.c included always since it provides register i/o used by sys_process_getlwpstatus.c which is always included.
|
#
1.96 |
|
20-Oct-2020 |
christos |
harmonize process_machdep.c inclusion.
|
#
1.95 |
|
10-Sep-2020 |
rin |
Introduce PMAP_TLBDEBUG option for ibm4xx: clear only TLBHI[V] bit when TLB entry is invalidated, instead of clearing entire TLBHI register.
|
#
1.94 |
|
30-Jun-2020 |
maxv |
Make copystr() a MI C function, part of libkern and shared on all architectures.
Notes:
- On alpha and ia64 the function is kept but gets renamed locally to avoid symbol collision. This is because on these two arches, I am not sure whether the ASM callers do not rely on fixed registers, so I prefer to keep the ASM body for now. - On Vax, only the symbol is removed, because the body is used from other functions. - On RISC-V, this change fixes a bug: copystr() was just a wrapper around strlcpy(), but strlcpy() makes the operation less safe (strlen on the source beyond its size). - The kASan, kCSan and kMSan wrappers are removed, because now that copystr() is in C, the compiler transformations are applied to it, without the need for manual wrappers.
Could test on amd64 only, but should be fine.
|
Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
|
#
1.93 |
|
20-Feb-2020 |
rin |
Add PPC_IBM440 flag as 440 is significantly different from 40x processors. (It may be more easily supported by booke than by ibm4xx.)
|
Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
#
1.92 |
|
06-Apr-2019 |
thorpej |
branches: 1.92.4; 1.92.6; Overhaul the API used to fetch and store individual memory cells in userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(), subyte(), suword(), etc.) are retired and replaced with new ufetch(9) and ustore(9) APIs that can return proper error codes, etc. and are implemented consistently across all platforms. The interrupt-safe variants are no longer supported (and several of the existing attempts at fuswintr(), etc. were buggy and not actually interrupt-safe).
Also augmement the ucas(9) API, making it consistently available on all plaforms, supporting uniprocessor and multiprocessor systems, even those that do not have CAS or LL/SC primitives.
Welcome to NetBSD 8.99.37.
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
|
#
1.91 |
|
15-Jul-2018 |
maxv |
Retire ipkdb entirely. The option was removed from the config files yesterday.
ok kamil christos
|
Revision tags: phil-wifi-base pgoyette-compat-0625
|
#
1.90 |
|
01-Jun-2018 |
macallan |
branches: 1.90.2; add clock speed control for 970MP CPUs
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.89 |
|
04-Mar-2014 |
matt |
branches: 1.89.28; compat16 -> compat_16
|
#
1.88 |
|
28-Feb-2014 |
matt |
sigcode is dependant on compat_16
|
#
1.87 |
|
17-Nov-2013 |
alnsn |
Enable sljit and bpfjit on powerpc.
|
#
1.86 |
|
19-Sep-2013 |
christos |
remove unused OPENPIC flags.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.85 |
|
20-Oct-2012 |
kiyohara |
branches: 1.85.2; Support Cache Protocol 'MEI' with MULTIPROCESSOR.
|
#
1.84 |
|
02-Oct-2012 |
christos |
move common tlb stuff to uvm
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8
|
#
1.83 |
|
29-Mar-2012 |
matt |
branches: 1.83.2; Add PMAP_MINIMALTLB defflag
|
Revision tags: jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.82 |
|
29-Jun-2011 |
matt |
branches: 1.82.2; 1.82.6; 1.82.8; Add VERBOSE_INITPPC flag
|
#
1.81 |
|
18-Jun-2011 |
matt |
Unconditionally build fixup.c
|
#
1.80 |
|
15-Jun-2011 |
matt |
Move the interrupt stub from booke_stubs.c into its own intr_stubs.c. Move the "null" intrsw (used in startup) to intr_stubs.c as well.
|
#
1.79 |
|
14-Jun-2011 |
matt |
Take the fast softint support in e500_intr.c and make generic so that it can be used to provide fast softint for other interrupt implementations.
|
#
1.78 |
|
12-Jun-2011 |
rmind |
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.
|
Revision tags: rmind-uvmplock-nbase rmind-uvmplock-base
|
#
1.77 |
|
05-Jun-2011 |
matt |
Remove <machine/atomic.h>; use <sys/atomic.h> instead. Add <powerpc/cpuset.h> (for mpc85xx pmap). Add some initial MP code for mpc85xx Rework ipi code to be common across all ppcs Change PPC to keep curlwp in %r13 while in the kernel. Move astpending from cpu_info to mdlwp Improve cpu_need_resched to be more MP friendly.
|
Revision tags: cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.76 |
|
02-May-2011 |
matt |
branches: 1.76.2; Move powerpc to use pcu to manage FPU/AltiVec/SPE.
|
#
1.75 |
|
26-Apr-2011 |
joerg |
Remove Darwin, MACH and Mach-O support.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base
|
#
1.74 |
|
12-Feb-2011 |
matt |
When an OEA kernel is configured for multiple MMU types, use the new powerpc fixup mechanism to bind the kernel to a particular MMU. This avoids an indirect call for every pmap call.
|
#
1.73 |
|
18-Jan-2011 |
matt |
branches: 1.73.2; Add support for BookE Freescale MPC85xx (e500 core) processors. Add fast softint support for PowerPC (though only booke uses it). Redo FPU/VEC support and add e500 SPE support. Rework trap/intrs to use a common trapframe format. Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9
|
#
1.72 |
|
09-Mar-2010 |
matt |
branches: 1.72.2; 1.72.4; Add PPC_BOOKE cputype and booke files.
|
Revision tags: uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 haad-dm-base2 haad-nbase2 nick-hppapmap-base haad-dm-base mjf-devfs2-base
|
#
1.71 |
|
11-Dec-2008 |
pooka |
branches: 1.71.4; Since oea pmap.c is #included many times, put kernel_pmap_ptr into its own source module to avoid multiple initialized data definitions.
|
Revision tags: ad-audiomp2-base
|
#
1.70 |
|
19-Nov-2008 |
ad |
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
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.69 |
|
05-Feb-2008 |
garbled |
branches: 1.69.6; 1.69.10; 1.69.16; 1.69.18; 1.69.28; Ifdef out all the MPC601 code with PPC_OEA601. Now only arches that have the possibility of running on an MPC601, are infected with all the extra code and nops that it added.
Also, fix compilation that I broke with the pmap code, by adding oeacpufeat to the locores of various ppc arches. Noted by mlelstv.
|
#
1.68 |
|
05-Feb-2008 |
garbled |
Rewrite a big chunk of the pmap and locore code for powerpc to better deal with the 64bit bridge mode. pmap changes by Matt Thomas, rest by myself.
Change pmap.c to work similar to exec_elf.c to allow us to compile in multiple pmaps to a single kernel. This allows the pmap for bridge64 to co-exist with the 32bit pmap.
Yank __HAVE_PMAP_PHYSSEG from all the oea code.
Add a new global, "oeacpufeat", which is used early in locore to determine certain cpu features. This allows us to conditionalize code early in the boot for certain CPUs that have special needs.
Yank most of the ifdef PPC_OEA_BRIDGE64 code from almost every file it was found in. Some of it seemed incorrect, and my 7044 booted just fine without it. It would appear that the bridge cpus treat BAT instructions as nops, so they seem to be safe.
In ofppc, check the oeacpufeat, and if we are on a 64bit proc, clear MSR[SF], and ASR[V].
With all of these changes, a kernel with both PPC_OEA and PPC_OEA_BRIDGE64 will boot on the POWERIII-2 cpu. However, it will not yet boot on a 32bit cpu, because of CACHELINESIZE. Work remains to be done there to fix that.
|
#
1.67 |
|
25-Jan-2008 |
joerg |
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.
|
Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-base
|
#
1.66 |
|
07-Jan-2008 |
ad |
Build kobj_machdep.c if MODULAR.
|
Revision tags: vmlocking2-base3 yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.65 |
|
17-Oct-2007 |
garbled |
branches: 1.65.2; 1.65.8; 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.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
|
#
1.64 |
|
07-Jul-2007 |
tsutsui |
branches: 1.64.8; 1.64.10; 1.64.12; 1.64.14; Remove leftover netns stuff.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base ad-audiomp-base post-newlock2-merge
|
#
1.63 |
|
09-Feb-2007 |
ad |
branches: 1.63.6; 1.63.8; 1.63.14; Merge newlock2 to head.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base rpaulo-netinet-merge-pcb-base
|
#
1.62 |
|
05-Aug-2006 |
sanjayl |
branches: 1.62.4; 1st cut of Powermac G5 support (uses bridge mode).
|
Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base
|
#
1.61 |
|
11-Dec-2005 |
christos |
branches: 1.61.4; 1.61.8; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
|
#
1.60 |
|
02-Jun-2005 |
he |
branches: 1.60.2; Remove the hack to compile oea/pmap.c with -Wno-cast-qual, and instead make use of the new __UNVOLATILE() macro in memset() usage.
|
#
1.59 |
|
02-Jun-2005 |
he |
Put a band-aid over the cast qualification warnings for oea/pmap.c. It cannot be compiled with -Wno-cast-qual due to a volatile pointer being passed to memset(), and there's no easy way other than open- coding memset() to fix this. So instead we cheat for now and add -Wno-cast-qual to CFLAGS for this file. To be documented in doc/HACKS.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
|
#
1.58 |
|
03-Jul-2004 |
manu |
Move all the MD bits of commpage to a new file. Map the comm page as RW in kernel (we want to modify it but not to execute it), and RX in userland (no need to modify it but we want to execute it
|
#
1.57 |
|
18-Apr-2004 |
matt |
Add entry for netns/ns_cksum.c
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.56 |
|
17-Mar-2004 |
aymeric |
defparam PMAP_MEMLIMIT
|
#
1.55 |
|
19-Nov-2003 |
scw |
Include arch/powerpc/ibm4xx/intr.c only if a particular board actually uses the generic 4xx interrupt implementation. There are some 4xx boards with entirely different interrupt controllers.
|
#
1.54 |
|
25-Sep-2003 |
matt |
Add siginfo support for PowerPC.
|
#
1.53 |
|
12-Aug-2003 |
matt |
Remove SPILLSTK leftovers.
|
#
1.52 |
|
11-Aug-2003 |
matt |
Add PTEGCOUNT defparam for opt_pmap.h
|
#
1.51 |
|
03-Aug-2003 |
matt |
Add PPC_OEA64 and netbsd32_sigcode.S
|
#
1.50 |
|
18-Jul-2003 |
matt |
Elimindate MD setrunqueue/remrunqueue (which were out-of-date compared to the canonical versions in kern_synch.c). Define __HAVE_BIGENDIAN_BITOPS so the canonical versions will be used but will store priorities in the desired (MSB) order for PowerPC (which allows the use of the cntlzw (count leading zeroes, word) instruction in locore_subr.S to find the proper priority).
|
#
1.49 |
|
08-May-2003 |
christos |
branches: 1.49.2; rename Locore.c -> locore_c.c so that we can compile on case insensitive filesystems. (from John Gordon)
|
#
1.48 |
|
17-Mar-2003 |
matt |
Add CLOCKBASE to opt_ppcparam.h.
|
#
1.47 |
|
11-Mar-2003 |
hannken |
Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
- different set of device control registers. - non-standard access to the time base. - 16 byte cache lines.
Approved by: Eduardo Horvath <eeh@netbsd.org>
|
#
1.46 |
|
26-Feb-2003 |
jklos |
Added L3CR_CONFIG to the parameter list for 745x L3 cache configuration.
|
#
1.45 |
|
03-Feb-2003 |
matt |
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
|
#
1.44 |
|
02-Feb-2003 |
matt |
Remove OLDPMAP support.
|
#
1.43 |
|
02-Feb-2003 |
matt |
Perform a rototill of the powerpc code. Mandate use of SPRG0 to store a pointer to current cpu's cpu_info structure. Use cpu_info for intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK to std.<platform>. Change faultbuf to a struct instead of an array.
On MPC6XX cpus, stop using the vector page for temporary space and use reserved space in cpu_info.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.42 |
|
25-Nov-2002 |
manu |
Added an empty shell for signal delivery. Now we just have to fill the machine dependant bits.
|
#
1.41 |
|
17-Nov-2002 |
manu |
As we use one FreeBSD file for COMPAT_DARWIN, we must include file.freebsd
|
#
1.40 |
|
12-Nov-2002 |
manu |
The kernel now builds with COMPAT_DARWIN.
|
#
1.39 |
|
03-Nov-2002 |
manu |
Added support for Darwin's PowerPC-only system calls: ppccalls, with system call numbers starting at 0x6000 fasttraps, with system call numbers starting at 0x7FF0
Because the Mach system call dispatching code has grown a bit too much, introduce an inline function to handle it (mach_syscall_dispatch).
While we are there, remove the Mach and Linux includes from arch/powerpc/powerpc/syscall.c and push them into arch/powerpc/powerpc/{mach|linux}_syscall.c
|
#
1.38 |
|
30-Oct-2002 |
manu |
Add COMPAT_MACH and EXEC_MACHO support on the PowerPC
|
#
1.37 |
|
30-Oct-2002 |
manu |
Prepare syscall.c for COMPAT_MACH support. linux_syscall_intern is moved to a Linux specific file, child_return is moved to trap.c, and we introduce a EMULNAME macro co that syscall.c can be included to define the system call handler for another emulation.
|
#
1.36 |
|
30-Oct-2002 |
manu |
Moved binary compatibility options from arch directory to cpu directory
|
Revision tags: kqueue-aftermerge kqueue-beforemerge gehenna-devsw-base kqueue-base
|
#
1.35 |
|
18-Aug-2002 |
matt |
defflag PMAPDEBUG, PMAPCHECK, and PMAPCOUNTERS into opt_pmap.h
|
#
1.34 |
|
24-Jul-2002 |
chs |
reimplement copy{in,out}str() similarly to copy{in,out}() (instead of the old way of calling [fs]ubyte() in a loop).
|
#
1.33 |
|
17-Jul-2002 |
matt |
Add a common file to do pmap_zero_page/pmap_copy_page/pmap_pageidlezero and pmap_syncicache. This file uses a ppc feature in a sick and twisted way to avoid mapping the physical pages used by those routines. It performs the operations with the MMU disabled but PPC exception save and retstore the machine state and are invoked with the MMU disabled, this doesn't have an adverse effect on the system.
Currently only enable for MPC6xx and !OLDPMAP.
|
#
1.32 |
|
05-Jul-2002 |
matt |
Peform a rototill over the powerpc-based ports.
Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT initialization code.
Add user Altivec support.
Fix calls to OF_call_method in macppc/macppc/machdep.c.
Use ci_fpuproc in cpu_info instead of separate fpuproc.
Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base
|
#
1.31 |
|
14-Mar-2002 |
eeh |
branches: 1.31.4; Some files have been moved into powerpc/ibm4xx.
|
Revision tags: newlock-base
|
#
1.30 |
|
09-Mar-2002 |
chs |
switch all mpc6xx powerpc ports to NEWPMAP by default. the old pmap is still available with the OLDPMAP option.
|
Revision tags: ifpoll-base
|
#
1.29 |
|
06-Jan-2002 |
dbj |
add support for kgdb over zs
|
#
1.28 |
|
07-Dec-2001 |
bjh21 |
Change L2CR_CONFIG from defflag to defparam, since it takes an argument.
|
#
1.27 |
|
28-Nov-2001 |
lukem |
- convert usage of "defopt" to "defflag" where the relevant option does not support a value (e.g., it's to be used as "options FOO" instead of "options FOO=xxx"). options that take a value were converted to defparam recently. - minor whitespace & formatting cleanups
|
#
1.26 |
|
20-Nov-2001 |
lukem |
- replace "defopt" with "defparam" for options which must take a value, as config(8) will warn for value-less defparam options - minor whitespace/formatting cleanup - consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
|
#
1.25 |
|
20-Nov-2001 |
lukem |
cleanup: options SPACE TAB makeoptions TAB psuedo-device TAB remove trailing whitespace replace multiple spaces -> tabs options "FOO" -> options FOO options "FOO=bar" -> options FOO=bar options "FOO=\"bar\"" -> options FOO="\"bar\""
|
Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.24 |
|
30-Aug-2001 |
briggs |
branches: 1.24.6; Create an opt_openpic.h and add both OPENPIC and OPENPIC_SERIAL_MODE to it.
|
#
1.23 |
|
26-Aug-2001 |
matt |
Make all powerpc ports use a common Makefile.powerpc (except walnut) Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports. Split out macppc cpu support and make common to mpc6xx ports. Make other mpc6xx ports use it. Add evcnts for mpc6xx traps.
|
#
1.22 |
|
20-Jun-2001 |
briggs |
branches: 1.22.2; Build for kgdb as well as for ddb (mutually exclusive).
|
#
1.21 |
|
17-Jun-2001 |
tsubai |
Forgot to commit this -- move file .../bus_dma.c line to files.${machine}.
|
#
1.20 |
|
13-Jun-2001 |
simonb |
Add a port to IBM's PPC405GP Reference Board (the "walnut") by Eduardo Horvath and Simon Burge of Wasabi Systems.
IBM 4xx series CPU features: - New pmap and revised trap handler. - Support on-chip timers, PCI controller, UARTs - Framework for on-chip ethernet and watchdog timer. General PowerPC features: - Add in-kernel PPC floating point emulation - New in{,4}_cksum that is between 1.5 and 5 times faster than the old version depending on CPU type. General changes: - Kernel support for generic dbsym-style symbols.
|
#
1.19 |
|
10-Jun-2001 |
tsubai |
Make the new pmap optional. Use the old (stable!) pmap by default.
|
#
1.18 |
|
06-Jun-2001 |
matt |
Introduce a new & faster pmap for the MPC6xx (60x, 7xx, 7xxx) PPC CPUs. Move MPC6xx dependent header files to powerpc/include/mpc6xx/
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.17 |
|
24-Feb-2001 |
matt |
branches: 1.17.2; Add powerpc/powerpc/powerpc_machdep.c
|
#
1.16 |
|
04-Feb-2001 |
briggs |
defopt openpic
|
#
1.15 |
|
02-Feb-2001 |
briggs |
Split OpenPIC support into powerpc so ports only need minimal custom configuration. openpic_init() now takes a single argument that is the base of the OpenPIC register space.
|
#
1.14 |
|
25-Nov-2000 |
matt |
Add placeholder for AltiVec support file.
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.13 |
|
14-Feb-2000 |
thorpej |
Allow arch-specific code to specify in4_cksum() like it can specify in_cksum().
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
|
#
1.12 |
|
17-Nov-1999 |
kleink |
Move signal management code common to all PowerPC platforms (sendsig(), sigreturn(), sigcode) to a single place in the shared powerpc directory. (The struct sigcontext etc. definitions were already being shared.)
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 comdex-fall-1999-base fvdl-softdep-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.11 |
|
15-Feb-1999 |
hubertf |
branches: 1.11.8; 1.11.14; RCS ID police
|
Revision tags: kenh-if-detach-base chs-ubc-base
|
#
1.10 |
|
18-Sep-1998 |
sakamoto |
powerpc/bcopy.c is unnecessary.
|
#
1.9 |
|
13-Sep-1998 |
thorpej |
Make signal delivery work again.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
28-May-1998 |
sakamoto |
Rename NetBSD/powerpc to NetBSD/ofppc. New sys/arch/powerpc with PowerPC-generic stuff.
|
#
1.7 |
|
24-Feb-1998 |
mycroft |
Catch up with changes in dev/ofw. Add mainbus.
|
#
1.6 |
|
23-Feb-1998 |
mycroft |
Slight rearrangement.
|
#
1.5 |
|
27-Jan-1998 |
sakamoto |
Import DDB from OpenBSD/powerpc.
|
#
1.4 |
|
05-Jan-1998 |
perry |
RCSID Police.
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base thorpej-signal-base marc-pcmcia-bp marc-pcmcia-base
|
#
1.3 |
|
16-Apr-1997 |
thorpej |
- Pull in new ofwmagic.S and soft_spl.c files - firepowerbugs -> firmworksbugs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.2 |
|
16-Oct-1996 |
ws |
Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB
|
#
1.1 |
|
30-Sep-1996 |
ws |
PowerPC port
|
#
1.101 |
|
07-May-2022 |
rin |
Try to fix PV tracking support.
* For oea (with real PV tracking support):
Define __HAVE_PMAP_PV_TRACK. Otherwise, pmap_pv_init() is not called by uvm_init().
* For booke and ibm4xx (without PV tracking support):
For MODULAR kernel and modules, define __HAVE_PMAP_PV_TRACK together with PMAP_PV_TRACK_ONLY_STUBS, so that modules can be shared with oea.
Note that PMAP_PV_TRACK_ONLY_STUBS can be used even for oea, as a compile-time option to strip real PV tracking support.
|
#
1.100 |
|
17-Feb-2022 |
macallan |
include pmap_pvt.c in bridge mode as well
|
#
1.99 |
|
16-Feb-2022 |
riastradh |
powerpc: Implement pv-tracking for unmanaged pages.
Needed for drm.
|
Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
|
#
1.98 |
|
05-Mar-2021 |
rin |
For Explora 451, call calc_delayconst() before pckbc_cnattach(), which depends on delay() and DELAY().
Unfortunately, proplib(9) API is not available for MD codes, that are called before consinit() (since pool(9) is not initialized yet).
Therefore, hard-code CPU frequency to calc_delayconst() in case "processor-frequency" is not initialized.
|
#
1.97 |
|
21-Oct-2020 |
christos |
branches: 1.97.2; make process_machdep.c included always since it provides register i/o used by sys_process_getlwpstatus.c which is always included.
|
#
1.96 |
|
20-Oct-2020 |
christos |
harmonize process_machdep.c inclusion.
|
#
1.95 |
|
10-Sep-2020 |
rin |
Introduce PMAP_TLBDEBUG option for ibm4xx: clear only TLBHI[V] bit when TLB entry is invalidated, instead of clearing entire TLBHI register.
|
#
1.94 |
|
30-Jun-2020 |
maxv |
Make copystr() a MI C function, part of libkern and shared on all architectures.
Notes:
- On alpha and ia64 the function is kept but gets renamed locally to avoid symbol collision. This is because on these two arches, I am not sure whether the ASM callers do not rely on fixed registers, so I prefer to keep the ASM body for now. - On Vax, only the symbol is removed, because the body is used from other functions. - On RISC-V, this change fixes a bug: copystr() was just a wrapper around strlcpy(), but strlcpy() makes the operation less safe (strlen on the source beyond its size). - The kASan, kCSan and kMSan wrappers are removed, because now that copystr() is in C, the compiler transformations are applied to it, without the need for manual wrappers.
Could test on amd64 only, but should be fine.
|
Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
|
#
1.93 |
|
20-Feb-2020 |
rin |
Add PPC_IBM440 flag as 440 is significantly different from 40x processors. (It may be more easily supported by booke than by ibm4xx.)
|
Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
#
1.92 |
|
06-Apr-2019 |
thorpej |
branches: 1.92.4; 1.92.6; Overhaul the API used to fetch and store individual memory cells in userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(), subyte(), suword(), etc.) are retired and replaced with new ufetch(9) and ustore(9) APIs that can return proper error codes, etc. and are implemented consistently across all platforms. The interrupt-safe variants are no longer supported (and several of the existing attempts at fuswintr(), etc. were buggy and not actually interrupt-safe).
Also augmement the ucas(9) API, making it consistently available on all plaforms, supporting uniprocessor and multiprocessor systems, even those that do not have CAS or LL/SC primitives.
Welcome to NetBSD 8.99.37.
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
|
#
1.91 |
|
15-Jul-2018 |
maxv |
Retire ipkdb entirely. The option was removed from the config files yesterday.
ok kamil christos
|
Revision tags: phil-wifi-base pgoyette-compat-0625
|
#
1.90 |
|
01-Jun-2018 |
macallan |
branches: 1.90.2; add clock speed control for 970MP CPUs
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.89 |
|
04-Mar-2014 |
matt |
branches: 1.89.28; compat16 -> compat_16
|
#
1.88 |
|
28-Feb-2014 |
matt |
sigcode is dependant on compat_16
|
#
1.87 |
|
17-Nov-2013 |
alnsn |
Enable sljit and bpfjit on powerpc.
|
#
1.86 |
|
19-Sep-2013 |
christos |
remove unused OPENPIC flags.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.85 |
|
20-Oct-2012 |
kiyohara |
branches: 1.85.2; Support Cache Protocol 'MEI' with MULTIPROCESSOR.
|
#
1.84 |
|
02-Oct-2012 |
christos |
move common tlb stuff to uvm
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8
|
#
1.83 |
|
29-Mar-2012 |
matt |
branches: 1.83.2; Add PMAP_MINIMALTLB defflag
|
Revision tags: jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.82 |
|
29-Jun-2011 |
matt |
branches: 1.82.2; 1.82.6; 1.82.8; Add VERBOSE_INITPPC flag
|
#
1.81 |
|
18-Jun-2011 |
matt |
Unconditionally build fixup.c
|
#
1.80 |
|
15-Jun-2011 |
matt |
Move the interrupt stub from booke_stubs.c into its own intr_stubs.c. Move the "null" intrsw (used in startup) to intr_stubs.c as well.
|
#
1.79 |
|
14-Jun-2011 |
matt |
Take the fast softint support in e500_intr.c and make generic so that it can be used to provide fast softint for other interrupt implementations.
|
#
1.78 |
|
12-Jun-2011 |
rmind |
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.
|
Revision tags: rmind-uvmplock-nbase rmind-uvmplock-base
|
#
1.77 |
|
05-Jun-2011 |
matt |
Remove <machine/atomic.h>; use <sys/atomic.h> instead. Add <powerpc/cpuset.h> (for mpc85xx pmap). Add some initial MP code for mpc85xx Rework ipi code to be common across all ppcs Change PPC to keep curlwp in %r13 while in the kernel. Move astpending from cpu_info to mdlwp Improve cpu_need_resched to be more MP friendly.
|
Revision tags: cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.76 |
|
02-May-2011 |
matt |
branches: 1.76.2; Move powerpc to use pcu to manage FPU/AltiVec/SPE.
|
#
1.75 |
|
26-Apr-2011 |
joerg |
Remove Darwin, MACH and Mach-O support.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base
|
#
1.74 |
|
12-Feb-2011 |
matt |
When an OEA kernel is configured for multiple MMU types, use the new powerpc fixup mechanism to bind the kernel to a particular MMU. This avoids an indirect call for every pmap call.
|
#
1.73 |
|
18-Jan-2011 |
matt |
branches: 1.73.2; Add support for BookE Freescale MPC85xx (e500 core) processors. Add fast softint support for PowerPC (though only booke uses it). Redo FPU/VEC support and add e500 SPE support. Rework trap/intrs to use a common trapframe format. Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9
|
#
1.72 |
|
09-Mar-2010 |
matt |
branches: 1.72.2; 1.72.4; Add PPC_BOOKE cputype and booke files.
|
Revision tags: uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 haad-dm-base2 haad-nbase2 nick-hppapmap-base haad-dm-base mjf-devfs2-base
|
#
1.71 |
|
11-Dec-2008 |
pooka |
branches: 1.71.4; Since oea pmap.c is #included many times, put kernel_pmap_ptr into its own source module to avoid multiple initialized data definitions.
|
Revision tags: ad-audiomp2-base
|
#
1.70 |
|
19-Nov-2008 |
ad |
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
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.69 |
|
05-Feb-2008 |
garbled |
branches: 1.69.6; 1.69.10; 1.69.16; 1.69.18; 1.69.28; Ifdef out all the MPC601 code with PPC_OEA601. Now only arches that have the possibility of running on an MPC601, are infected with all the extra code and nops that it added.
Also, fix compilation that I broke with the pmap code, by adding oeacpufeat to the locores of various ppc arches. Noted by mlelstv.
|
#
1.68 |
|
05-Feb-2008 |
garbled |
Rewrite a big chunk of the pmap and locore code for powerpc to better deal with the 64bit bridge mode. pmap changes by Matt Thomas, rest by myself.
Change pmap.c to work similar to exec_elf.c to allow us to compile in multiple pmaps to a single kernel. This allows the pmap for bridge64 to co-exist with the 32bit pmap.
Yank __HAVE_PMAP_PHYSSEG from all the oea code.
Add a new global, "oeacpufeat", which is used early in locore to determine certain cpu features. This allows us to conditionalize code early in the boot for certain CPUs that have special needs.
Yank most of the ifdef PPC_OEA_BRIDGE64 code from almost every file it was found in. Some of it seemed incorrect, and my 7044 booted just fine without it. It would appear that the bridge cpus treat BAT instructions as nops, so they seem to be safe.
In ofppc, check the oeacpufeat, and if we are on a 64bit proc, clear MSR[SF], and ASR[V].
With all of these changes, a kernel with both PPC_OEA and PPC_OEA_BRIDGE64 will boot on the POWERIII-2 cpu. However, it will not yet boot on a 32bit cpu, because of CACHELINESIZE. Work remains to be done there to fix that.
|
#
1.67 |
|
25-Jan-2008 |
joerg |
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.
|
Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-base
|
#
1.66 |
|
07-Jan-2008 |
ad |
Build kobj_machdep.c if MODULAR.
|
Revision tags: vmlocking2-base3 yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.65 |
|
17-Oct-2007 |
garbled |
branches: 1.65.2; 1.65.8; 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.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
|
#
1.64 |
|
07-Jul-2007 |
tsutsui |
branches: 1.64.8; 1.64.10; 1.64.12; 1.64.14; Remove leftover netns stuff.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base ad-audiomp-base post-newlock2-merge
|
#
1.63 |
|
09-Feb-2007 |
ad |
branches: 1.63.6; 1.63.8; 1.63.14; Merge newlock2 to head.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base rpaulo-netinet-merge-pcb-base
|
#
1.62 |
|
05-Aug-2006 |
sanjayl |
branches: 1.62.4; 1st cut of Powermac G5 support (uses bridge mode).
|
Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base
|
#
1.61 |
|
11-Dec-2005 |
christos |
branches: 1.61.4; 1.61.8; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
|
#
1.60 |
|
02-Jun-2005 |
he |
branches: 1.60.2; Remove the hack to compile oea/pmap.c with -Wno-cast-qual, and instead make use of the new __UNVOLATILE() macro in memset() usage.
|
#
1.59 |
|
02-Jun-2005 |
he |
Put a band-aid over the cast qualification warnings for oea/pmap.c. It cannot be compiled with -Wno-cast-qual due to a volatile pointer being passed to memset(), and there's no easy way other than open- coding memset() to fix this. So instead we cheat for now and add -Wno-cast-qual to CFLAGS for this file. To be documented in doc/HACKS.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
|
#
1.58 |
|
03-Jul-2004 |
manu |
Move all the MD bits of commpage to a new file. Map the comm page as RW in kernel (we want to modify it but not to execute it), and RX in userland (no need to modify it but we want to execute it
|
#
1.57 |
|
18-Apr-2004 |
matt |
Add entry for netns/ns_cksum.c
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.56 |
|
17-Mar-2004 |
aymeric |
defparam PMAP_MEMLIMIT
|
#
1.55 |
|
19-Nov-2003 |
scw |
Include arch/powerpc/ibm4xx/intr.c only if a particular board actually uses the generic 4xx interrupt implementation. There are some 4xx boards with entirely different interrupt controllers.
|
#
1.54 |
|
25-Sep-2003 |
matt |
Add siginfo support for PowerPC.
|
#
1.53 |
|
12-Aug-2003 |
matt |
Remove SPILLSTK leftovers.
|
#
1.52 |
|
11-Aug-2003 |
matt |
Add PTEGCOUNT defparam for opt_pmap.h
|
#
1.51 |
|
03-Aug-2003 |
matt |
Add PPC_OEA64 and netbsd32_sigcode.S
|
#
1.50 |
|
18-Jul-2003 |
matt |
Elimindate MD setrunqueue/remrunqueue (which were out-of-date compared to the canonical versions in kern_synch.c). Define __HAVE_BIGENDIAN_BITOPS so the canonical versions will be used but will store priorities in the desired (MSB) order for PowerPC (which allows the use of the cntlzw (count leading zeroes, word) instruction in locore_subr.S to find the proper priority).
|
#
1.49 |
|
08-May-2003 |
christos |
branches: 1.49.2; rename Locore.c -> locore_c.c so that we can compile on case insensitive filesystems. (from John Gordon)
|
#
1.48 |
|
17-Mar-2003 |
matt |
Add CLOCKBASE to opt_ppcparam.h.
|
#
1.47 |
|
11-Mar-2003 |
hannken |
Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
- different set of device control registers. - non-standard access to the time base. - 16 byte cache lines.
Approved by: Eduardo Horvath <eeh@netbsd.org>
|
#
1.46 |
|
26-Feb-2003 |
jklos |
Added L3CR_CONFIG to the parameter list for 745x L3 cache configuration.
|
#
1.45 |
|
03-Feb-2003 |
matt |
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
|
#
1.44 |
|
02-Feb-2003 |
matt |
Remove OLDPMAP support.
|
#
1.43 |
|
02-Feb-2003 |
matt |
Perform a rototill of the powerpc code. Mandate use of SPRG0 to store a pointer to current cpu's cpu_info structure. Use cpu_info for intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK to std.<platform>. Change faultbuf to a struct instead of an array.
On MPC6XX cpus, stop using the vector page for temporary space and use reserved space in cpu_info.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.42 |
|
25-Nov-2002 |
manu |
Added an empty shell for signal delivery. Now we just have to fill the machine dependant bits.
|
#
1.41 |
|
17-Nov-2002 |
manu |
As we use one FreeBSD file for COMPAT_DARWIN, we must include file.freebsd
|
#
1.40 |
|
12-Nov-2002 |
manu |
The kernel now builds with COMPAT_DARWIN.
|
#
1.39 |
|
03-Nov-2002 |
manu |
Added support for Darwin's PowerPC-only system calls: ppccalls, with system call numbers starting at 0x6000 fasttraps, with system call numbers starting at 0x7FF0
Because the Mach system call dispatching code has grown a bit too much, introduce an inline function to handle it (mach_syscall_dispatch).
While we are there, remove the Mach and Linux includes from arch/powerpc/powerpc/syscall.c and push them into arch/powerpc/powerpc/{mach|linux}_syscall.c
|
#
1.38 |
|
30-Oct-2002 |
manu |
Add COMPAT_MACH and EXEC_MACHO support on the PowerPC
|
#
1.37 |
|
30-Oct-2002 |
manu |
Prepare syscall.c for COMPAT_MACH support. linux_syscall_intern is moved to a Linux specific file, child_return is moved to trap.c, and we introduce a EMULNAME macro co that syscall.c can be included to define the system call handler for another emulation.
|
#
1.36 |
|
30-Oct-2002 |
manu |
Moved binary compatibility options from arch directory to cpu directory
|
Revision tags: kqueue-aftermerge kqueue-beforemerge gehenna-devsw-base kqueue-base
|
#
1.35 |
|
18-Aug-2002 |
matt |
defflag PMAPDEBUG, PMAPCHECK, and PMAPCOUNTERS into opt_pmap.h
|
#
1.34 |
|
24-Jul-2002 |
chs |
reimplement copy{in,out}str() similarly to copy{in,out}() (instead of the old way of calling [fs]ubyte() in a loop).
|
#
1.33 |
|
17-Jul-2002 |
matt |
Add a common file to do pmap_zero_page/pmap_copy_page/pmap_pageidlezero and pmap_syncicache. This file uses a ppc feature in a sick and twisted way to avoid mapping the physical pages used by those routines. It performs the operations with the MMU disabled but PPC exception save and retstore the machine state and are invoked with the MMU disabled, this doesn't have an adverse effect on the system.
Currently only enable for MPC6xx and !OLDPMAP.
|
#
1.32 |
|
05-Jul-2002 |
matt |
Peform a rototill over the powerpc-based ports.
Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT initialization code.
Add user Altivec support.
Fix calls to OF_call_method in macppc/macppc/machdep.c.
Use ci_fpuproc in cpu_info instead of separate fpuproc.
Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base
|
#
1.31 |
|
14-Mar-2002 |
eeh |
branches: 1.31.4; Some files have been moved into powerpc/ibm4xx.
|
Revision tags: newlock-base
|
#
1.30 |
|
09-Mar-2002 |
chs |
switch all mpc6xx powerpc ports to NEWPMAP by default. the old pmap is still available with the OLDPMAP option.
|
Revision tags: ifpoll-base
|
#
1.29 |
|
06-Jan-2002 |
dbj |
add support for kgdb over zs
|
#
1.28 |
|
07-Dec-2001 |
bjh21 |
Change L2CR_CONFIG from defflag to defparam, since it takes an argument.
|
#
1.27 |
|
28-Nov-2001 |
lukem |
- convert usage of "defopt" to "defflag" where the relevant option does not support a value (e.g., it's to be used as "options FOO" instead of "options FOO=xxx"). options that take a value were converted to defparam recently. - minor whitespace & formatting cleanups
|
#
1.26 |
|
20-Nov-2001 |
lukem |
- replace "defopt" with "defparam" for options which must take a value, as config(8) will warn for value-less defparam options - minor whitespace/formatting cleanup - consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
|
#
1.25 |
|
20-Nov-2001 |
lukem |
cleanup: options SPACE TAB makeoptions TAB psuedo-device TAB remove trailing whitespace replace multiple spaces -> tabs options "FOO" -> options FOO options "FOO=bar" -> options FOO=bar options "FOO=\"bar\"" -> options FOO="\"bar\""
|
Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.24 |
|
30-Aug-2001 |
briggs |
branches: 1.24.6; Create an opt_openpic.h and add both OPENPIC and OPENPIC_SERIAL_MODE to it.
|
#
1.23 |
|
26-Aug-2001 |
matt |
Make all powerpc ports use a common Makefile.powerpc (except walnut) Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports. Split out macppc cpu support and make common to mpc6xx ports. Make other mpc6xx ports use it. Add evcnts for mpc6xx traps.
|
#
1.22 |
|
20-Jun-2001 |
briggs |
branches: 1.22.2; Build for kgdb as well as for ddb (mutually exclusive).
|
#
1.21 |
|
17-Jun-2001 |
tsubai |
Forgot to commit this -- move file .../bus_dma.c line to files.${machine}.
|
#
1.20 |
|
13-Jun-2001 |
simonb |
Add a port to IBM's PPC405GP Reference Board (the "walnut") by Eduardo Horvath and Simon Burge of Wasabi Systems.
IBM 4xx series CPU features: - New pmap and revised trap handler. - Support on-chip timers, PCI controller, UARTs - Framework for on-chip ethernet and watchdog timer. General PowerPC features: - Add in-kernel PPC floating point emulation - New in{,4}_cksum that is between 1.5 and 5 times faster than the old version depending on CPU type. General changes: - Kernel support for generic dbsym-style symbols.
|
#
1.19 |
|
10-Jun-2001 |
tsubai |
Make the new pmap optional. Use the old (stable!) pmap by default.
|
#
1.18 |
|
06-Jun-2001 |
matt |
Introduce a new & faster pmap for the MPC6xx (60x, 7xx, 7xxx) PPC CPUs. Move MPC6xx dependent header files to powerpc/include/mpc6xx/
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.17 |
|
24-Feb-2001 |
matt |
branches: 1.17.2; Add powerpc/powerpc/powerpc_machdep.c
|
#
1.16 |
|
04-Feb-2001 |
briggs |
defopt openpic
|
#
1.15 |
|
02-Feb-2001 |
briggs |
Split OpenPIC support into powerpc so ports only need minimal custom configuration. openpic_init() now takes a single argument that is the base of the OpenPIC register space.
|
#
1.14 |
|
25-Nov-2000 |
matt |
Add placeholder for AltiVec support file.
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.13 |
|
14-Feb-2000 |
thorpej |
Allow arch-specific code to specify in4_cksum() like it can specify in_cksum().
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
|
#
1.12 |
|
17-Nov-1999 |
kleink |
Move signal management code common to all PowerPC platforms (sendsig(), sigreturn(), sigcode) to a single place in the shared powerpc directory. (The struct sigcontext etc. definitions were already being shared.)
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 comdex-fall-1999-base fvdl-softdep-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.11 |
|
15-Feb-1999 |
hubertf |
branches: 1.11.8; 1.11.14; RCS ID police
|
Revision tags: kenh-if-detach-base chs-ubc-base
|
#
1.10 |
|
18-Sep-1998 |
sakamoto |
powerpc/bcopy.c is unnecessary.
|
#
1.9 |
|
13-Sep-1998 |
thorpej |
Make signal delivery work again.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
28-May-1998 |
sakamoto |
Rename NetBSD/powerpc to NetBSD/ofppc. New sys/arch/powerpc with PowerPC-generic stuff.
|
#
1.7 |
|
24-Feb-1998 |
mycroft |
Catch up with changes in dev/ofw. Add mainbus.
|
#
1.6 |
|
23-Feb-1998 |
mycroft |
Slight rearrangement.
|
#
1.5 |
|
27-Jan-1998 |
sakamoto |
Import DDB from OpenBSD/powerpc.
|
#
1.4 |
|
05-Jan-1998 |
perry |
RCSID Police.
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base thorpej-signal-base marc-pcmcia-bp marc-pcmcia-base
|
#
1.3 |
|
16-Apr-1997 |
thorpej |
- Pull in new ofwmagic.S and soft_spl.c files - firepowerbugs -> firmworksbugs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.2 |
|
16-Oct-1996 |
ws |
Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB
|
#
1.1 |
|
30-Sep-1996 |
ws |
PowerPC port
|
#
1.100 |
|
17-Feb-2022 |
macallan |
include pmap_pvt.c in bridge mode as well
|
#
1.99 |
|
16-Feb-2022 |
riastradh |
powerpc: Implement pv-tracking for unmanaged pages.
Needed for drm.
|
Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
|
#
1.98 |
|
05-Mar-2021 |
rin |
For Explora 451, call calc_delayconst() before pckbc_cnattach(), which depends on delay() and DELAY().
Unfortunately, proplib(9) API is not available for MD codes, that are called before consinit() (since pool(9) is not initialized yet).
Therefore, hard-code CPU frequency to calc_delayconst() in case "processor-frequency" is not initialized.
|
#
1.97 |
|
21-Oct-2020 |
christos |
branches: 1.97.2; make process_machdep.c included always since it provides register i/o used by sys_process_getlwpstatus.c which is always included.
|
#
1.96 |
|
20-Oct-2020 |
christos |
harmonize process_machdep.c inclusion.
|
#
1.95 |
|
10-Sep-2020 |
rin |
Introduce PMAP_TLBDEBUG option for ibm4xx: clear only TLBHI[V] bit when TLB entry is invalidated, instead of clearing entire TLBHI register.
|
#
1.94 |
|
30-Jun-2020 |
maxv |
Make copystr() a MI C function, part of libkern and shared on all architectures.
Notes:
- On alpha and ia64 the function is kept but gets renamed locally to avoid symbol collision. This is because on these two arches, I am not sure whether the ASM callers do not rely on fixed registers, so I prefer to keep the ASM body for now. - On Vax, only the symbol is removed, because the body is used from other functions. - On RISC-V, this change fixes a bug: copystr() was just a wrapper around strlcpy(), but strlcpy() makes the operation less safe (strlen on the source beyond its size). - The kASan, kCSan and kMSan wrappers are removed, because now that copystr() is in C, the compiler transformations are applied to it, without the need for manual wrappers.
Could test on amd64 only, but should be fine.
|
Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
|
#
1.93 |
|
20-Feb-2020 |
rin |
Add PPC_IBM440 flag as 440 is significantly different from 40x processors. (It may be more easily supported by booke than by ibm4xx.)
|
Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
#
1.92 |
|
06-Apr-2019 |
thorpej |
branches: 1.92.4; 1.92.6; Overhaul the API used to fetch and store individual memory cells in userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(), subyte(), suword(), etc.) are retired and replaced with new ufetch(9) and ustore(9) APIs that can return proper error codes, etc. and are implemented consistently across all platforms. The interrupt-safe variants are no longer supported (and several of the existing attempts at fuswintr(), etc. were buggy and not actually interrupt-safe).
Also augmement the ucas(9) API, making it consistently available on all plaforms, supporting uniprocessor and multiprocessor systems, even those that do not have CAS or LL/SC primitives.
Welcome to NetBSD 8.99.37.
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
|
#
1.91 |
|
15-Jul-2018 |
maxv |
Retire ipkdb entirely. The option was removed from the config files yesterday.
ok kamil christos
|
Revision tags: phil-wifi-base pgoyette-compat-0625
|
#
1.90 |
|
01-Jun-2018 |
macallan |
branches: 1.90.2; add clock speed control for 970MP CPUs
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.89 |
|
04-Mar-2014 |
matt |
branches: 1.89.28; compat16 -> compat_16
|
#
1.88 |
|
28-Feb-2014 |
matt |
sigcode is dependant on compat_16
|
#
1.87 |
|
17-Nov-2013 |
alnsn |
Enable sljit and bpfjit on powerpc.
|
#
1.86 |
|
19-Sep-2013 |
christos |
remove unused OPENPIC flags.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.85 |
|
20-Oct-2012 |
kiyohara |
branches: 1.85.2; Support Cache Protocol 'MEI' with MULTIPROCESSOR.
|
#
1.84 |
|
02-Oct-2012 |
christos |
move common tlb stuff to uvm
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8
|
#
1.83 |
|
29-Mar-2012 |
matt |
branches: 1.83.2; Add PMAP_MINIMALTLB defflag
|
Revision tags: jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.82 |
|
29-Jun-2011 |
matt |
branches: 1.82.2; 1.82.6; 1.82.8; Add VERBOSE_INITPPC flag
|
#
1.81 |
|
18-Jun-2011 |
matt |
Unconditionally build fixup.c
|
#
1.80 |
|
15-Jun-2011 |
matt |
Move the interrupt stub from booke_stubs.c into its own intr_stubs.c. Move the "null" intrsw (used in startup) to intr_stubs.c as well.
|
#
1.79 |
|
14-Jun-2011 |
matt |
Take the fast softint support in e500_intr.c and make generic so that it can be used to provide fast softint for other interrupt implementations.
|
#
1.78 |
|
12-Jun-2011 |
rmind |
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.
|
Revision tags: rmind-uvmplock-nbase rmind-uvmplock-base
|
#
1.77 |
|
05-Jun-2011 |
matt |
Remove <machine/atomic.h>; use <sys/atomic.h> instead. Add <powerpc/cpuset.h> (for mpc85xx pmap). Add some initial MP code for mpc85xx Rework ipi code to be common across all ppcs Change PPC to keep curlwp in %r13 while in the kernel. Move astpending from cpu_info to mdlwp Improve cpu_need_resched to be more MP friendly.
|
Revision tags: cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.76 |
|
02-May-2011 |
matt |
branches: 1.76.2; Move powerpc to use pcu to manage FPU/AltiVec/SPE.
|
#
1.75 |
|
26-Apr-2011 |
joerg |
Remove Darwin, MACH and Mach-O support.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base
|
#
1.74 |
|
12-Feb-2011 |
matt |
When an OEA kernel is configured for multiple MMU types, use the new powerpc fixup mechanism to bind the kernel to a particular MMU. This avoids an indirect call for every pmap call.
|
#
1.73 |
|
18-Jan-2011 |
matt |
branches: 1.73.2; Add support for BookE Freescale MPC85xx (e500 core) processors. Add fast softint support for PowerPC (though only booke uses it). Redo FPU/VEC support and add e500 SPE support. Rework trap/intrs to use a common trapframe format. Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9
|
#
1.72 |
|
09-Mar-2010 |
matt |
branches: 1.72.2; 1.72.4; Add PPC_BOOKE cputype and booke files.
|
Revision tags: uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 haad-dm-base2 haad-nbase2 nick-hppapmap-base haad-dm-base mjf-devfs2-base
|
#
1.71 |
|
11-Dec-2008 |
pooka |
branches: 1.71.4; Since oea pmap.c is #included many times, put kernel_pmap_ptr into its own source module to avoid multiple initialized data definitions.
|
Revision tags: ad-audiomp2-base
|
#
1.70 |
|
19-Nov-2008 |
ad |
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
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.69 |
|
05-Feb-2008 |
garbled |
branches: 1.69.6; 1.69.10; 1.69.16; 1.69.18; 1.69.28; Ifdef out all the MPC601 code with PPC_OEA601. Now only arches that have the possibility of running on an MPC601, are infected with all the extra code and nops that it added.
Also, fix compilation that I broke with the pmap code, by adding oeacpufeat to the locores of various ppc arches. Noted by mlelstv.
|
#
1.68 |
|
05-Feb-2008 |
garbled |
Rewrite a big chunk of the pmap and locore code for powerpc to better deal with the 64bit bridge mode. pmap changes by Matt Thomas, rest by myself.
Change pmap.c to work similar to exec_elf.c to allow us to compile in multiple pmaps to a single kernel. This allows the pmap for bridge64 to co-exist with the 32bit pmap.
Yank __HAVE_PMAP_PHYSSEG from all the oea code.
Add a new global, "oeacpufeat", which is used early in locore to determine certain cpu features. This allows us to conditionalize code early in the boot for certain CPUs that have special needs.
Yank most of the ifdef PPC_OEA_BRIDGE64 code from almost every file it was found in. Some of it seemed incorrect, and my 7044 booted just fine without it. It would appear that the bridge cpus treat BAT instructions as nops, so they seem to be safe.
In ofppc, check the oeacpufeat, and if we are on a 64bit proc, clear MSR[SF], and ASR[V].
With all of these changes, a kernel with both PPC_OEA and PPC_OEA_BRIDGE64 will boot on the POWERIII-2 cpu. However, it will not yet boot on a 32bit cpu, because of CACHELINESIZE. Work remains to be done there to fix that.
|
#
1.67 |
|
25-Jan-2008 |
joerg |
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.
|
Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-base
|
#
1.66 |
|
07-Jan-2008 |
ad |
Build kobj_machdep.c if MODULAR.
|
Revision tags: vmlocking2-base3 yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.65 |
|
17-Oct-2007 |
garbled |
branches: 1.65.2; 1.65.8; 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.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
|
#
1.64 |
|
07-Jul-2007 |
tsutsui |
branches: 1.64.8; 1.64.10; 1.64.12; 1.64.14; Remove leftover netns stuff.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base ad-audiomp-base post-newlock2-merge
|
#
1.63 |
|
09-Feb-2007 |
ad |
branches: 1.63.6; 1.63.8; 1.63.14; Merge newlock2 to head.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base rpaulo-netinet-merge-pcb-base
|
#
1.62 |
|
05-Aug-2006 |
sanjayl |
branches: 1.62.4; 1st cut of Powermac G5 support (uses bridge mode).
|
Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base
|
#
1.61 |
|
11-Dec-2005 |
christos |
branches: 1.61.4; 1.61.8; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
|
#
1.60 |
|
02-Jun-2005 |
he |
branches: 1.60.2; Remove the hack to compile oea/pmap.c with -Wno-cast-qual, and instead make use of the new __UNVOLATILE() macro in memset() usage.
|
#
1.59 |
|
02-Jun-2005 |
he |
Put a band-aid over the cast qualification warnings for oea/pmap.c. It cannot be compiled with -Wno-cast-qual due to a volatile pointer being passed to memset(), and there's no easy way other than open- coding memset() to fix this. So instead we cheat for now and add -Wno-cast-qual to CFLAGS for this file. To be documented in doc/HACKS.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
|
#
1.58 |
|
03-Jul-2004 |
manu |
Move all the MD bits of commpage to a new file. Map the comm page as RW in kernel (we want to modify it but not to execute it), and RX in userland (no need to modify it but we want to execute it
|
#
1.57 |
|
18-Apr-2004 |
matt |
Add entry for netns/ns_cksum.c
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.56 |
|
17-Mar-2004 |
aymeric |
defparam PMAP_MEMLIMIT
|
#
1.55 |
|
19-Nov-2003 |
scw |
Include arch/powerpc/ibm4xx/intr.c only if a particular board actually uses the generic 4xx interrupt implementation. There are some 4xx boards with entirely different interrupt controllers.
|
#
1.54 |
|
25-Sep-2003 |
matt |
Add siginfo support for PowerPC.
|
#
1.53 |
|
12-Aug-2003 |
matt |
Remove SPILLSTK leftovers.
|
#
1.52 |
|
11-Aug-2003 |
matt |
Add PTEGCOUNT defparam for opt_pmap.h
|
#
1.51 |
|
03-Aug-2003 |
matt |
Add PPC_OEA64 and netbsd32_sigcode.S
|
#
1.50 |
|
18-Jul-2003 |
matt |
Elimindate MD setrunqueue/remrunqueue (which were out-of-date compared to the canonical versions in kern_synch.c). Define __HAVE_BIGENDIAN_BITOPS so the canonical versions will be used but will store priorities in the desired (MSB) order for PowerPC (which allows the use of the cntlzw (count leading zeroes, word) instruction in locore_subr.S to find the proper priority).
|
#
1.49 |
|
08-May-2003 |
christos |
branches: 1.49.2; rename Locore.c -> locore_c.c so that we can compile on case insensitive filesystems. (from John Gordon)
|
#
1.48 |
|
17-Mar-2003 |
matt |
Add CLOCKBASE to opt_ppcparam.h.
|
#
1.47 |
|
11-Mar-2003 |
hannken |
Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
- different set of device control registers. - non-standard access to the time base. - 16 byte cache lines.
Approved by: Eduardo Horvath <eeh@netbsd.org>
|
#
1.46 |
|
26-Feb-2003 |
jklos |
Added L3CR_CONFIG to the parameter list for 745x L3 cache configuration.
|
#
1.45 |
|
03-Feb-2003 |
matt |
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
|
#
1.44 |
|
02-Feb-2003 |
matt |
Remove OLDPMAP support.
|
#
1.43 |
|
02-Feb-2003 |
matt |
Perform a rototill of the powerpc code. Mandate use of SPRG0 to store a pointer to current cpu's cpu_info structure. Use cpu_info for intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK to std.<platform>. Change faultbuf to a struct instead of an array.
On MPC6XX cpus, stop using the vector page for temporary space and use reserved space in cpu_info.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.42 |
|
25-Nov-2002 |
manu |
Added an empty shell for signal delivery. Now we just have to fill the machine dependant bits.
|
#
1.41 |
|
17-Nov-2002 |
manu |
As we use one FreeBSD file for COMPAT_DARWIN, we must include file.freebsd
|
#
1.40 |
|
12-Nov-2002 |
manu |
The kernel now builds with COMPAT_DARWIN.
|
#
1.39 |
|
03-Nov-2002 |
manu |
Added support for Darwin's PowerPC-only system calls: ppccalls, with system call numbers starting at 0x6000 fasttraps, with system call numbers starting at 0x7FF0
Because the Mach system call dispatching code has grown a bit too much, introduce an inline function to handle it (mach_syscall_dispatch).
While we are there, remove the Mach and Linux includes from arch/powerpc/powerpc/syscall.c and push them into arch/powerpc/powerpc/{mach|linux}_syscall.c
|
#
1.38 |
|
30-Oct-2002 |
manu |
Add COMPAT_MACH and EXEC_MACHO support on the PowerPC
|
#
1.37 |
|
30-Oct-2002 |
manu |
Prepare syscall.c for COMPAT_MACH support. linux_syscall_intern is moved to a Linux specific file, child_return is moved to trap.c, and we introduce a EMULNAME macro co that syscall.c can be included to define the system call handler for another emulation.
|
#
1.36 |
|
30-Oct-2002 |
manu |
Moved binary compatibility options from arch directory to cpu directory
|
Revision tags: kqueue-aftermerge kqueue-beforemerge gehenna-devsw-base kqueue-base
|
#
1.35 |
|
18-Aug-2002 |
matt |
defflag PMAPDEBUG, PMAPCHECK, and PMAPCOUNTERS into opt_pmap.h
|
#
1.34 |
|
24-Jul-2002 |
chs |
reimplement copy{in,out}str() similarly to copy{in,out}() (instead of the old way of calling [fs]ubyte() in a loop).
|
#
1.33 |
|
17-Jul-2002 |
matt |
Add a common file to do pmap_zero_page/pmap_copy_page/pmap_pageidlezero and pmap_syncicache. This file uses a ppc feature in a sick and twisted way to avoid mapping the physical pages used by those routines. It performs the operations with the MMU disabled but PPC exception save and retstore the machine state and are invoked with the MMU disabled, this doesn't have an adverse effect on the system.
Currently only enable for MPC6xx and !OLDPMAP.
|
#
1.32 |
|
05-Jul-2002 |
matt |
Peform a rototill over the powerpc-based ports.
Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT initialization code.
Add user Altivec support.
Fix calls to OF_call_method in macppc/macppc/machdep.c.
Use ci_fpuproc in cpu_info instead of separate fpuproc.
Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base
|
#
1.31 |
|
14-Mar-2002 |
eeh |
branches: 1.31.4; Some files have been moved into powerpc/ibm4xx.
|
Revision tags: newlock-base
|
#
1.30 |
|
09-Mar-2002 |
chs |
switch all mpc6xx powerpc ports to NEWPMAP by default. the old pmap is still available with the OLDPMAP option.
|
Revision tags: ifpoll-base
|
#
1.29 |
|
06-Jan-2002 |
dbj |
add support for kgdb over zs
|
#
1.28 |
|
07-Dec-2001 |
bjh21 |
Change L2CR_CONFIG from defflag to defparam, since it takes an argument.
|
#
1.27 |
|
28-Nov-2001 |
lukem |
- convert usage of "defopt" to "defflag" where the relevant option does not support a value (e.g., it's to be used as "options FOO" instead of "options FOO=xxx"). options that take a value were converted to defparam recently. - minor whitespace & formatting cleanups
|
#
1.26 |
|
20-Nov-2001 |
lukem |
- replace "defopt" with "defparam" for options which must take a value, as config(8) will warn for value-less defparam options - minor whitespace/formatting cleanup - consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
|
#
1.25 |
|
20-Nov-2001 |
lukem |
cleanup: options SPACE TAB makeoptions TAB psuedo-device TAB remove trailing whitespace replace multiple spaces -> tabs options "FOO" -> options FOO options "FOO=bar" -> options FOO=bar options "FOO=\"bar\"" -> options FOO="\"bar\""
|
Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.24 |
|
30-Aug-2001 |
briggs |
branches: 1.24.6; Create an opt_openpic.h and add both OPENPIC and OPENPIC_SERIAL_MODE to it.
|
#
1.23 |
|
26-Aug-2001 |
matt |
Make all powerpc ports use a common Makefile.powerpc (except walnut) Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports. Split out macppc cpu support and make common to mpc6xx ports. Make other mpc6xx ports use it. Add evcnts for mpc6xx traps.
|
#
1.22 |
|
20-Jun-2001 |
briggs |
branches: 1.22.2; Build for kgdb as well as for ddb (mutually exclusive).
|
#
1.21 |
|
17-Jun-2001 |
tsubai |
Forgot to commit this -- move file .../bus_dma.c line to files.${machine}.
|
#
1.20 |
|
13-Jun-2001 |
simonb |
Add a port to IBM's PPC405GP Reference Board (the "walnut") by Eduardo Horvath and Simon Burge of Wasabi Systems.
IBM 4xx series CPU features: - New pmap and revised trap handler. - Support on-chip timers, PCI controller, UARTs - Framework for on-chip ethernet and watchdog timer. General PowerPC features: - Add in-kernel PPC floating point emulation - New in{,4}_cksum that is between 1.5 and 5 times faster than the old version depending on CPU type. General changes: - Kernel support for generic dbsym-style symbols.
|
#
1.19 |
|
10-Jun-2001 |
tsubai |
Make the new pmap optional. Use the old (stable!) pmap by default.
|
#
1.18 |
|
06-Jun-2001 |
matt |
Introduce a new & faster pmap for the MPC6xx (60x, 7xx, 7xxx) PPC CPUs. Move MPC6xx dependent header files to powerpc/include/mpc6xx/
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.17 |
|
24-Feb-2001 |
matt |
branches: 1.17.2; Add powerpc/powerpc/powerpc_machdep.c
|
#
1.16 |
|
04-Feb-2001 |
briggs |
defopt openpic
|
#
1.15 |
|
02-Feb-2001 |
briggs |
Split OpenPIC support into powerpc so ports only need minimal custom configuration. openpic_init() now takes a single argument that is the base of the OpenPIC register space.
|
#
1.14 |
|
25-Nov-2000 |
matt |
Add placeholder for AltiVec support file.
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.13 |
|
14-Feb-2000 |
thorpej |
Allow arch-specific code to specify in4_cksum() like it can specify in_cksum().
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
|
#
1.12 |
|
17-Nov-1999 |
kleink |
Move signal management code common to all PowerPC platforms (sendsig(), sigreturn(), sigcode) to a single place in the shared powerpc directory. (The struct sigcontext etc. definitions were already being shared.)
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 comdex-fall-1999-base fvdl-softdep-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.11 |
|
15-Feb-1999 |
hubertf |
branches: 1.11.8; 1.11.14; RCS ID police
|
Revision tags: kenh-if-detach-base chs-ubc-base
|
#
1.10 |
|
18-Sep-1998 |
sakamoto |
powerpc/bcopy.c is unnecessary.
|
#
1.9 |
|
13-Sep-1998 |
thorpej |
Make signal delivery work again.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
28-May-1998 |
sakamoto |
Rename NetBSD/powerpc to NetBSD/ofppc. New sys/arch/powerpc with PowerPC-generic stuff.
|
#
1.7 |
|
24-Feb-1998 |
mycroft |
Catch up with changes in dev/ofw. Add mainbus.
|
#
1.6 |
|
23-Feb-1998 |
mycroft |
Slight rearrangement.
|
#
1.5 |
|
27-Jan-1998 |
sakamoto |
Import DDB from OpenBSD/powerpc.
|
#
1.4 |
|
05-Jan-1998 |
perry |
RCSID Police.
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base thorpej-signal-base marc-pcmcia-bp marc-pcmcia-base
|
#
1.3 |
|
16-Apr-1997 |
thorpej |
- Pull in new ofwmagic.S and soft_spl.c files - firepowerbugs -> firmworksbugs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.2 |
|
16-Oct-1996 |
ws |
Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB
|
#
1.1 |
|
30-Sep-1996 |
ws |
PowerPC port
|
#
1.99 |
|
16-Feb-2022 |
riastradh |
powerpc: Implement pv-tracking for unmanaged pages.
Needed for drm.
|
Revision tags: thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
|
#
1.98 |
|
05-Mar-2021 |
rin |
For Explora 451, call calc_delayconst() before pckbc_cnattach(), which depends on delay() and DELAY().
Unfortunately, proplib(9) API is not available for MD codes, that are called before consinit() (since pool(9) is not initialized yet).
Therefore, hard-code CPU frequency to calc_delayconst() in case "processor-frequency" is not initialized.
|
#
1.97 |
|
21-Oct-2020 |
christos |
branches: 1.97.2; make process_machdep.c included always since it provides register i/o used by sys_process_getlwpstatus.c which is always included.
|
#
1.96 |
|
20-Oct-2020 |
christos |
harmonize process_machdep.c inclusion.
|
#
1.95 |
|
10-Sep-2020 |
rin |
Introduce PMAP_TLBDEBUG option for ibm4xx: clear only TLBHI[V] bit when TLB entry is invalidated, instead of clearing entire TLBHI register.
|
#
1.94 |
|
30-Jun-2020 |
maxv |
Make copystr() a MI C function, part of libkern and shared on all architectures.
Notes:
- On alpha and ia64 the function is kept but gets renamed locally to avoid symbol collision. This is because on these two arches, I am not sure whether the ASM callers do not rely on fixed registers, so I prefer to keep the ASM body for now. - On Vax, only the symbol is removed, because the body is used from other functions. - On RISC-V, this change fixes a bug: copystr() was just a wrapper around strlcpy(), but strlcpy() makes the operation less safe (strlen on the source beyond its size). - The kASan, kCSan and kMSan wrappers are removed, because now that copystr() is in C, the compiler transformations are applied to it, without the need for manual wrappers.
Could test on amd64 only, but should be fine.
|
Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
|
#
1.93 |
|
20-Feb-2020 |
rin |
Add PPC_IBM440 flag as 440 is significantly different from 40x processors. (It may be more easily supported by booke than by ibm4xx.)
|
Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
#
1.92 |
|
06-Apr-2019 |
thorpej |
branches: 1.92.4; 1.92.6; Overhaul the API used to fetch and store individual memory cells in userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(), subyte(), suword(), etc.) are retired and replaced with new ufetch(9) and ustore(9) APIs that can return proper error codes, etc. and are implemented consistently across all platforms. The interrupt-safe variants are no longer supported (and several of the existing attempts at fuswintr(), etc. were buggy and not actually interrupt-safe).
Also augmement the ucas(9) API, making it consistently available on all plaforms, supporting uniprocessor and multiprocessor systems, even those that do not have CAS or LL/SC primitives.
Welcome to NetBSD 8.99.37.
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
|
#
1.91 |
|
15-Jul-2018 |
maxv |
Retire ipkdb entirely. The option was removed from the config files yesterday.
ok kamil christos
|
Revision tags: phil-wifi-base pgoyette-compat-0625
|
#
1.90 |
|
01-Jun-2018 |
macallan |
branches: 1.90.2; add clock speed control for 970MP CPUs
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.89 |
|
04-Mar-2014 |
matt |
branches: 1.89.28; compat16 -> compat_16
|
#
1.88 |
|
28-Feb-2014 |
matt |
sigcode is dependant on compat_16
|
#
1.87 |
|
17-Nov-2013 |
alnsn |
Enable sljit and bpfjit on powerpc.
|
#
1.86 |
|
19-Sep-2013 |
christos |
remove unused OPENPIC flags.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.85 |
|
20-Oct-2012 |
kiyohara |
branches: 1.85.2; Support Cache Protocol 'MEI' with MULTIPROCESSOR.
|
#
1.84 |
|
02-Oct-2012 |
christos |
move common tlb stuff to uvm
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8
|
#
1.83 |
|
29-Mar-2012 |
matt |
branches: 1.83.2; Add PMAP_MINIMALTLB defflag
|
Revision tags: jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.82 |
|
29-Jun-2011 |
matt |
branches: 1.82.2; 1.82.6; 1.82.8; Add VERBOSE_INITPPC flag
|
#
1.81 |
|
18-Jun-2011 |
matt |
Unconditionally build fixup.c
|
#
1.80 |
|
15-Jun-2011 |
matt |
Move the interrupt stub from booke_stubs.c into its own intr_stubs.c. Move the "null" intrsw (used in startup) to intr_stubs.c as well.
|
#
1.79 |
|
14-Jun-2011 |
matt |
Take the fast softint support in e500_intr.c and make generic so that it can be used to provide fast softint for other interrupt implementations.
|
#
1.78 |
|
12-Jun-2011 |
rmind |
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.
|
Revision tags: rmind-uvmplock-nbase rmind-uvmplock-base
|
#
1.77 |
|
05-Jun-2011 |
matt |
Remove <machine/atomic.h>; use <sys/atomic.h> instead. Add <powerpc/cpuset.h> (for mpc85xx pmap). Add some initial MP code for mpc85xx Rework ipi code to be common across all ppcs Change PPC to keep curlwp in %r13 while in the kernel. Move astpending from cpu_info to mdlwp Improve cpu_need_resched to be more MP friendly.
|
Revision tags: cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.76 |
|
02-May-2011 |
matt |
branches: 1.76.2; Move powerpc to use pcu to manage FPU/AltiVec/SPE.
|
#
1.75 |
|
26-Apr-2011 |
joerg |
Remove Darwin, MACH and Mach-O support.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base
|
#
1.74 |
|
12-Feb-2011 |
matt |
When an OEA kernel is configured for multiple MMU types, use the new powerpc fixup mechanism to bind the kernel to a particular MMU. This avoids an indirect call for every pmap call.
|
#
1.73 |
|
18-Jan-2011 |
matt |
branches: 1.73.2; Add support for BookE Freescale MPC85xx (e500 core) processors. Add fast softint support for PowerPC (though only booke uses it). Redo FPU/VEC support and add e500 SPE support. Rework trap/intrs to use a common trapframe format. Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9
|
#
1.72 |
|
09-Mar-2010 |
matt |
branches: 1.72.2; 1.72.4; Add PPC_BOOKE cputype and booke files.
|
Revision tags: uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 haad-dm-base2 haad-nbase2 nick-hppapmap-base haad-dm-base mjf-devfs2-base
|
#
1.71 |
|
11-Dec-2008 |
pooka |
branches: 1.71.4; Since oea pmap.c is #included many times, put kernel_pmap_ptr into its own source module to avoid multiple initialized data definitions.
|
Revision tags: ad-audiomp2-base
|
#
1.70 |
|
19-Nov-2008 |
ad |
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
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.69 |
|
05-Feb-2008 |
garbled |
branches: 1.69.6; 1.69.10; 1.69.16; 1.69.18; 1.69.28; Ifdef out all the MPC601 code with PPC_OEA601. Now only arches that have the possibility of running on an MPC601, are infected with all the extra code and nops that it added.
Also, fix compilation that I broke with the pmap code, by adding oeacpufeat to the locores of various ppc arches. Noted by mlelstv.
|
#
1.68 |
|
05-Feb-2008 |
garbled |
Rewrite a big chunk of the pmap and locore code for powerpc to better deal with the 64bit bridge mode. pmap changes by Matt Thomas, rest by myself.
Change pmap.c to work similar to exec_elf.c to allow us to compile in multiple pmaps to a single kernel. This allows the pmap for bridge64 to co-exist with the 32bit pmap.
Yank __HAVE_PMAP_PHYSSEG from all the oea code.
Add a new global, "oeacpufeat", which is used early in locore to determine certain cpu features. This allows us to conditionalize code early in the boot for certain CPUs that have special needs.
Yank most of the ifdef PPC_OEA_BRIDGE64 code from almost every file it was found in. Some of it seemed incorrect, and my 7044 booted just fine without it. It would appear that the bridge cpus treat BAT instructions as nops, so they seem to be safe.
In ofppc, check the oeacpufeat, and if we are on a 64bit proc, clear MSR[SF], and ASR[V].
With all of these changes, a kernel with both PPC_OEA and PPC_OEA_BRIDGE64 will boot on the POWERIII-2 cpu. However, it will not yet boot on a 32bit cpu, because of CACHELINESIZE. Work remains to be done there to fix that.
|
#
1.67 |
|
25-Jan-2008 |
joerg |
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.
|
Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-base
|
#
1.66 |
|
07-Jan-2008 |
ad |
Build kobj_machdep.c if MODULAR.
|
Revision tags: vmlocking2-base3 yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.65 |
|
17-Oct-2007 |
garbled |
branches: 1.65.2; 1.65.8; 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.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
|
#
1.64 |
|
07-Jul-2007 |
tsutsui |
branches: 1.64.8; 1.64.10; 1.64.12; 1.64.14; Remove leftover netns stuff.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base ad-audiomp-base post-newlock2-merge
|
#
1.63 |
|
09-Feb-2007 |
ad |
branches: 1.63.6; 1.63.8; 1.63.14; Merge newlock2 to head.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base rpaulo-netinet-merge-pcb-base
|
#
1.62 |
|
05-Aug-2006 |
sanjayl |
branches: 1.62.4; 1st cut of Powermac G5 support (uses bridge mode).
|
Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base
|
#
1.61 |
|
11-Dec-2005 |
christos |
branches: 1.61.4; 1.61.8; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
|
#
1.60 |
|
02-Jun-2005 |
he |
branches: 1.60.2; Remove the hack to compile oea/pmap.c with -Wno-cast-qual, and instead make use of the new __UNVOLATILE() macro in memset() usage.
|
#
1.59 |
|
02-Jun-2005 |
he |
Put a band-aid over the cast qualification warnings for oea/pmap.c. It cannot be compiled with -Wno-cast-qual due to a volatile pointer being passed to memset(), and there's no easy way other than open- coding memset() to fix this. So instead we cheat for now and add -Wno-cast-qual to CFLAGS for this file. To be documented in doc/HACKS.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
|
#
1.58 |
|
03-Jul-2004 |
manu |
Move all the MD bits of commpage to a new file. Map the comm page as RW in kernel (we want to modify it but not to execute it), and RX in userland (no need to modify it but we want to execute it
|
#
1.57 |
|
18-Apr-2004 |
matt |
Add entry for netns/ns_cksum.c
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.56 |
|
17-Mar-2004 |
aymeric |
defparam PMAP_MEMLIMIT
|
#
1.55 |
|
19-Nov-2003 |
scw |
Include arch/powerpc/ibm4xx/intr.c only if a particular board actually uses the generic 4xx interrupt implementation. There are some 4xx boards with entirely different interrupt controllers.
|
#
1.54 |
|
25-Sep-2003 |
matt |
Add siginfo support for PowerPC.
|
#
1.53 |
|
12-Aug-2003 |
matt |
Remove SPILLSTK leftovers.
|
#
1.52 |
|
11-Aug-2003 |
matt |
Add PTEGCOUNT defparam for opt_pmap.h
|
#
1.51 |
|
03-Aug-2003 |
matt |
Add PPC_OEA64 and netbsd32_sigcode.S
|
#
1.50 |
|
18-Jul-2003 |
matt |
Elimindate MD setrunqueue/remrunqueue (which were out-of-date compared to the canonical versions in kern_synch.c). Define __HAVE_BIGENDIAN_BITOPS so the canonical versions will be used but will store priorities in the desired (MSB) order for PowerPC (which allows the use of the cntlzw (count leading zeroes, word) instruction in locore_subr.S to find the proper priority).
|
#
1.49 |
|
08-May-2003 |
christos |
branches: 1.49.2; rename Locore.c -> locore_c.c so that we can compile on case insensitive filesystems. (from John Gordon)
|
#
1.48 |
|
17-Mar-2003 |
matt |
Add CLOCKBASE to opt_ppcparam.h.
|
#
1.47 |
|
11-Mar-2003 |
hannken |
Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
- different set of device control registers. - non-standard access to the time base. - 16 byte cache lines.
Approved by: Eduardo Horvath <eeh@netbsd.org>
|
#
1.46 |
|
26-Feb-2003 |
jklos |
Added L3CR_CONFIG to the parameter list for 745x L3 cache configuration.
|
#
1.45 |
|
03-Feb-2003 |
matt |
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
|
#
1.44 |
|
02-Feb-2003 |
matt |
Remove OLDPMAP support.
|
#
1.43 |
|
02-Feb-2003 |
matt |
Perform a rototill of the powerpc code. Mandate use of SPRG0 to store a pointer to current cpu's cpu_info structure. Use cpu_info for intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK to std.<platform>. Change faultbuf to a struct instead of an array.
On MPC6XX cpus, stop using the vector page for temporary space and use reserved space in cpu_info.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.42 |
|
25-Nov-2002 |
manu |
Added an empty shell for signal delivery. Now we just have to fill the machine dependant bits.
|
#
1.41 |
|
17-Nov-2002 |
manu |
As we use one FreeBSD file for COMPAT_DARWIN, we must include file.freebsd
|
#
1.40 |
|
12-Nov-2002 |
manu |
The kernel now builds with COMPAT_DARWIN.
|
#
1.39 |
|
03-Nov-2002 |
manu |
Added support for Darwin's PowerPC-only system calls: ppccalls, with system call numbers starting at 0x6000 fasttraps, with system call numbers starting at 0x7FF0
Because the Mach system call dispatching code has grown a bit too much, introduce an inline function to handle it (mach_syscall_dispatch).
While we are there, remove the Mach and Linux includes from arch/powerpc/powerpc/syscall.c and push them into arch/powerpc/powerpc/{mach|linux}_syscall.c
|
#
1.38 |
|
30-Oct-2002 |
manu |
Add COMPAT_MACH and EXEC_MACHO support on the PowerPC
|
#
1.37 |
|
30-Oct-2002 |
manu |
Prepare syscall.c for COMPAT_MACH support. linux_syscall_intern is moved to a Linux specific file, child_return is moved to trap.c, and we introduce a EMULNAME macro co that syscall.c can be included to define the system call handler for another emulation.
|
#
1.36 |
|
30-Oct-2002 |
manu |
Moved binary compatibility options from arch directory to cpu directory
|
Revision tags: kqueue-aftermerge kqueue-beforemerge gehenna-devsw-base kqueue-base
|
#
1.35 |
|
18-Aug-2002 |
matt |
defflag PMAPDEBUG, PMAPCHECK, and PMAPCOUNTERS into opt_pmap.h
|
#
1.34 |
|
24-Jul-2002 |
chs |
reimplement copy{in,out}str() similarly to copy{in,out}() (instead of the old way of calling [fs]ubyte() in a loop).
|
#
1.33 |
|
17-Jul-2002 |
matt |
Add a common file to do pmap_zero_page/pmap_copy_page/pmap_pageidlezero and pmap_syncicache. This file uses a ppc feature in a sick and twisted way to avoid mapping the physical pages used by those routines. It performs the operations with the MMU disabled but PPC exception save and retstore the machine state and are invoked with the MMU disabled, this doesn't have an adverse effect on the system.
Currently only enable for MPC6xx and !OLDPMAP.
|
#
1.32 |
|
05-Jul-2002 |
matt |
Peform a rototill over the powerpc-based ports.
Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT initialization code.
Add user Altivec support.
Fix calls to OF_call_method in macppc/macppc/machdep.c.
Use ci_fpuproc in cpu_info instead of separate fpuproc.
Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base
|
#
1.31 |
|
14-Mar-2002 |
eeh |
branches: 1.31.4; Some files have been moved into powerpc/ibm4xx.
|
Revision tags: newlock-base
|
#
1.30 |
|
09-Mar-2002 |
chs |
switch all mpc6xx powerpc ports to NEWPMAP by default. the old pmap is still available with the OLDPMAP option.
|
Revision tags: ifpoll-base
|
#
1.29 |
|
06-Jan-2002 |
dbj |
add support for kgdb over zs
|
#
1.28 |
|
07-Dec-2001 |
bjh21 |
Change L2CR_CONFIG from defflag to defparam, since it takes an argument.
|
#
1.27 |
|
28-Nov-2001 |
lukem |
- convert usage of "defopt" to "defflag" where the relevant option does not support a value (e.g., it's to be used as "options FOO" instead of "options FOO=xxx"). options that take a value were converted to defparam recently. - minor whitespace & formatting cleanups
|
#
1.26 |
|
20-Nov-2001 |
lukem |
- replace "defopt" with "defparam" for options which must take a value, as config(8) will warn for value-less defparam options - minor whitespace/formatting cleanup - consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
|
#
1.25 |
|
20-Nov-2001 |
lukem |
cleanup: options SPACE TAB makeoptions TAB psuedo-device TAB remove trailing whitespace replace multiple spaces -> tabs options "FOO" -> options FOO options "FOO=bar" -> options FOO=bar options "FOO=\"bar\"" -> options FOO="\"bar\""
|
Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.24 |
|
30-Aug-2001 |
briggs |
branches: 1.24.6; Create an opt_openpic.h and add both OPENPIC and OPENPIC_SERIAL_MODE to it.
|
#
1.23 |
|
26-Aug-2001 |
matt |
Make all powerpc ports use a common Makefile.powerpc (except walnut) Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports. Split out macppc cpu support and make common to mpc6xx ports. Make other mpc6xx ports use it. Add evcnts for mpc6xx traps.
|
#
1.22 |
|
20-Jun-2001 |
briggs |
branches: 1.22.2; Build for kgdb as well as for ddb (mutually exclusive).
|
#
1.21 |
|
17-Jun-2001 |
tsubai |
Forgot to commit this -- move file .../bus_dma.c line to files.${machine}.
|
#
1.20 |
|
13-Jun-2001 |
simonb |
Add a port to IBM's PPC405GP Reference Board (the "walnut") by Eduardo Horvath and Simon Burge of Wasabi Systems.
IBM 4xx series CPU features: - New pmap and revised trap handler. - Support on-chip timers, PCI controller, UARTs - Framework for on-chip ethernet and watchdog timer. General PowerPC features: - Add in-kernel PPC floating point emulation - New in{,4}_cksum that is between 1.5 and 5 times faster than the old version depending on CPU type. General changes: - Kernel support for generic dbsym-style symbols.
|
#
1.19 |
|
10-Jun-2001 |
tsubai |
Make the new pmap optional. Use the old (stable!) pmap by default.
|
#
1.18 |
|
06-Jun-2001 |
matt |
Introduce a new & faster pmap for the MPC6xx (60x, 7xx, 7xxx) PPC CPUs. Move MPC6xx dependent header files to powerpc/include/mpc6xx/
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.17 |
|
24-Feb-2001 |
matt |
branches: 1.17.2; Add powerpc/powerpc/powerpc_machdep.c
|
#
1.16 |
|
04-Feb-2001 |
briggs |
defopt openpic
|
#
1.15 |
|
02-Feb-2001 |
briggs |
Split OpenPIC support into powerpc so ports only need minimal custom configuration. openpic_init() now takes a single argument that is the base of the OpenPIC register space.
|
#
1.14 |
|
25-Nov-2000 |
matt |
Add placeholder for AltiVec support file.
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.13 |
|
14-Feb-2000 |
thorpej |
Allow arch-specific code to specify in4_cksum() like it can specify in_cksum().
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
|
#
1.12 |
|
17-Nov-1999 |
kleink |
Move signal management code common to all PowerPC platforms (sendsig(), sigreturn(), sigcode) to a single place in the shared powerpc directory. (The struct sigcontext etc. definitions were already being shared.)
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 comdex-fall-1999-base fvdl-softdep-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.11 |
|
15-Feb-1999 |
hubertf |
branches: 1.11.8; 1.11.14; RCS ID police
|
Revision tags: kenh-if-detach-base chs-ubc-base
|
#
1.10 |
|
18-Sep-1998 |
sakamoto |
powerpc/bcopy.c is unnecessary.
|
#
1.9 |
|
13-Sep-1998 |
thorpej |
Make signal delivery work again.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
28-May-1998 |
sakamoto |
Rename NetBSD/powerpc to NetBSD/ofppc. New sys/arch/powerpc with PowerPC-generic stuff.
|
#
1.7 |
|
24-Feb-1998 |
mycroft |
Catch up with changes in dev/ofw. Add mainbus.
|
#
1.6 |
|
23-Feb-1998 |
mycroft |
Slight rearrangement.
|
#
1.5 |
|
27-Jan-1998 |
sakamoto |
Import DDB from OpenBSD/powerpc.
|
#
1.4 |
|
05-Jan-1998 |
perry |
RCSID Police.
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base thorpej-signal-base marc-pcmcia-bp marc-pcmcia-base
|
#
1.3 |
|
16-Apr-1997 |
thorpej |
- Pull in new ofwmagic.S and soft_spl.c files - firepowerbugs -> firmworksbugs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.2 |
|
16-Oct-1996 |
ws |
Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB
|
#
1.1 |
|
30-Sep-1996 |
ws |
PowerPC port
|
#
1.98 |
|
05-Mar-2021 |
rin |
For Explora 451, call calc_delayconst() before pckbc_cnattach(), which depends on delay() and DELAY().
Unfortunately, proplib(9) API is not available for MD codes, that are called before consinit() (since pool(9) is not initialized yet).
Therefore, hard-code CPU frequency to calc_delayconst() in case "processor-frequency" is not initialized.
|
Revision tags: thorpej-futex-base
|
#
1.97 |
|
21-Oct-2020 |
christos |
make process_machdep.c included always since it provides register i/o used by sys_process_getlwpstatus.c which is always included.
|
#
1.96 |
|
20-Oct-2020 |
christos |
harmonize process_machdep.c inclusion.
|
#
1.95 |
|
10-Sep-2020 |
rin |
Introduce PMAP_TLBDEBUG option for ibm4xx: clear only TLBHI[V] bit when TLB entry is invalidated, instead of clearing entire TLBHI register.
|
#
1.94 |
|
30-Jun-2020 |
maxv |
Make copystr() a MI C function, part of libkern and shared on all architectures.
Notes:
- On alpha and ia64 the function is kept but gets renamed locally to avoid symbol collision. This is because on these two arches, I am not sure whether the ASM callers do not rely on fixed registers, so I prefer to keep the ASM body for now. - On Vax, only the symbol is removed, because the body is used from other functions. - On RISC-V, this change fixes a bug: copystr() was just a wrapper around strlcpy(), but strlcpy() makes the operation less safe (strlen on the source beyond its size). - The kASan, kCSan and kMSan wrappers are removed, because now that copystr() is in C, the compiler transformations are applied to it, without the need for manual wrappers.
Could test on amd64 only, but should be fine.
|
Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
|
#
1.93 |
|
20-Feb-2020 |
rin |
Add PPC_IBM440 flag as 440 is significantly different from 40x processors. (It may be more easily supported by booke than by ibm4xx.)
|
Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
#
1.92 |
|
06-Apr-2019 |
thorpej |
branches: 1.92.4; 1.92.6; Overhaul the API used to fetch and store individual memory cells in userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(), subyte(), suword(), etc.) are retired and replaced with new ufetch(9) and ustore(9) APIs that can return proper error codes, etc. and are implemented consistently across all platforms. The interrupt-safe variants are no longer supported (and several of the existing attempts at fuswintr(), etc. were buggy and not actually interrupt-safe).
Also augmement the ucas(9) API, making it consistently available on all plaforms, supporting uniprocessor and multiprocessor systems, even those that do not have CAS or LL/SC primitives.
Welcome to NetBSD 8.99.37.
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
|
#
1.91 |
|
15-Jul-2018 |
maxv |
Retire ipkdb entirely. The option was removed from the config files yesterday.
ok kamil christos
|
Revision tags: phil-wifi-base pgoyette-compat-0625
|
#
1.90 |
|
01-Jun-2018 |
macallan |
branches: 1.90.2; add clock speed control for 970MP CPUs
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.89 |
|
04-Mar-2014 |
matt |
branches: 1.89.28; compat16 -> compat_16
|
#
1.88 |
|
28-Feb-2014 |
matt |
sigcode is dependant on compat_16
|
#
1.87 |
|
17-Nov-2013 |
alnsn |
Enable sljit and bpfjit on powerpc.
|
#
1.86 |
|
19-Sep-2013 |
christos |
remove unused OPENPIC flags.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.85 |
|
20-Oct-2012 |
kiyohara |
branches: 1.85.2; Support Cache Protocol 'MEI' with MULTIPROCESSOR.
|
#
1.84 |
|
02-Oct-2012 |
christos |
move common tlb stuff to uvm
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8
|
#
1.83 |
|
29-Mar-2012 |
matt |
branches: 1.83.2; Add PMAP_MINIMALTLB defflag
|
Revision tags: jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.82 |
|
29-Jun-2011 |
matt |
branches: 1.82.2; 1.82.6; 1.82.8; Add VERBOSE_INITPPC flag
|
#
1.81 |
|
18-Jun-2011 |
matt |
Unconditionally build fixup.c
|
#
1.80 |
|
15-Jun-2011 |
matt |
Move the interrupt stub from booke_stubs.c into its own intr_stubs.c. Move the "null" intrsw (used in startup) to intr_stubs.c as well.
|
#
1.79 |
|
14-Jun-2011 |
matt |
Take the fast softint support in e500_intr.c and make generic so that it can be used to provide fast softint for other interrupt implementations.
|
#
1.78 |
|
12-Jun-2011 |
rmind |
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.
|
Revision tags: rmind-uvmplock-nbase rmind-uvmplock-base
|
#
1.77 |
|
05-Jun-2011 |
matt |
Remove <machine/atomic.h>; use <sys/atomic.h> instead. Add <powerpc/cpuset.h> (for mpc85xx pmap). Add some initial MP code for mpc85xx Rework ipi code to be common across all ppcs Change PPC to keep curlwp in %r13 while in the kernel. Move astpending from cpu_info to mdlwp Improve cpu_need_resched to be more MP friendly.
|
Revision tags: cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.76 |
|
02-May-2011 |
matt |
branches: 1.76.2; Move powerpc to use pcu to manage FPU/AltiVec/SPE.
|
#
1.75 |
|
26-Apr-2011 |
joerg |
Remove Darwin, MACH and Mach-O support.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base
|
#
1.74 |
|
12-Feb-2011 |
matt |
When an OEA kernel is configured for multiple MMU types, use the new powerpc fixup mechanism to bind the kernel to a particular MMU. This avoids an indirect call for every pmap call.
|
#
1.73 |
|
18-Jan-2011 |
matt |
branches: 1.73.2; Add support for BookE Freescale MPC85xx (e500 core) processors. Add fast softint support for PowerPC (though only booke uses it). Redo FPU/VEC support and add e500 SPE support. Rework trap/intrs to use a common trapframe format. Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9
|
#
1.72 |
|
09-Mar-2010 |
matt |
branches: 1.72.2; 1.72.4; Add PPC_BOOKE cputype and booke files.
|
Revision tags: uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 haad-dm-base2 haad-nbase2 nick-hppapmap-base haad-dm-base mjf-devfs2-base
|
#
1.71 |
|
11-Dec-2008 |
pooka |
branches: 1.71.4; Since oea pmap.c is #included many times, put kernel_pmap_ptr into its own source module to avoid multiple initialized data definitions.
|
Revision tags: ad-audiomp2-base
|
#
1.70 |
|
19-Nov-2008 |
ad |
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
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.69 |
|
05-Feb-2008 |
garbled |
branches: 1.69.6; 1.69.10; 1.69.16; 1.69.18; 1.69.28; Ifdef out all the MPC601 code with PPC_OEA601. Now only arches that have the possibility of running on an MPC601, are infected with all the extra code and nops that it added.
Also, fix compilation that I broke with the pmap code, by adding oeacpufeat to the locores of various ppc arches. Noted by mlelstv.
|
#
1.68 |
|
05-Feb-2008 |
garbled |
Rewrite a big chunk of the pmap and locore code for powerpc to better deal with the 64bit bridge mode. pmap changes by Matt Thomas, rest by myself.
Change pmap.c to work similar to exec_elf.c to allow us to compile in multiple pmaps to a single kernel. This allows the pmap for bridge64 to co-exist with the 32bit pmap.
Yank __HAVE_PMAP_PHYSSEG from all the oea code.
Add a new global, "oeacpufeat", which is used early in locore to determine certain cpu features. This allows us to conditionalize code early in the boot for certain CPUs that have special needs.
Yank most of the ifdef PPC_OEA_BRIDGE64 code from almost every file it was found in. Some of it seemed incorrect, and my 7044 booted just fine without it. It would appear that the bridge cpus treat BAT instructions as nops, so they seem to be safe.
In ofppc, check the oeacpufeat, and if we are on a 64bit proc, clear MSR[SF], and ASR[V].
With all of these changes, a kernel with both PPC_OEA and PPC_OEA_BRIDGE64 will boot on the POWERIII-2 cpu. However, it will not yet boot on a 32bit cpu, because of CACHELINESIZE. Work remains to be done there to fix that.
|
#
1.67 |
|
25-Jan-2008 |
joerg |
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.
|
Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-base
|
#
1.66 |
|
07-Jan-2008 |
ad |
Build kobj_machdep.c if MODULAR.
|
Revision tags: vmlocking2-base3 yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.65 |
|
17-Oct-2007 |
garbled |
branches: 1.65.2; 1.65.8; 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.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
|
#
1.64 |
|
07-Jul-2007 |
tsutsui |
branches: 1.64.8; 1.64.10; 1.64.12; 1.64.14; Remove leftover netns stuff.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base ad-audiomp-base post-newlock2-merge
|
#
1.63 |
|
09-Feb-2007 |
ad |
branches: 1.63.6; 1.63.8; 1.63.14; Merge newlock2 to head.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base rpaulo-netinet-merge-pcb-base
|
#
1.62 |
|
05-Aug-2006 |
sanjayl |
branches: 1.62.4; 1st cut of Powermac G5 support (uses bridge mode).
|
Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base
|
#
1.61 |
|
11-Dec-2005 |
christos |
branches: 1.61.4; 1.61.8; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
|
#
1.60 |
|
02-Jun-2005 |
he |
branches: 1.60.2; Remove the hack to compile oea/pmap.c with -Wno-cast-qual, and instead make use of the new __UNVOLATILE() macro in memset() usage.
|
#
1.59 |
|
02-Jun-2005 |
he |
Put a band-aid over the cast qualification warnings for oea/pmap.c. It cannot be compiled with -Wno-cast-qual due to a volatile pointer being passed to memset(), and there's no easy way other than open- coding memset() to fix this. So instead we cheat for now and add -Wno-cast-qual to CFLAGS for this file. To be documented in doc/HACKS.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
|
#
1.58 |
|
03-Jul-2004 |
manu |
Move all the MD bits of commpage to a new file. Map the comm page as RW in kernel (we want to modify it but not to execute it), and RX in userland (no need to modify it but we want to execute it
|
#
1.57 |
|
18-Apr-2004 |
matt |
Add entry for netns/ns_cksum.c
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.56 |
|
17-Mar-2004 |
aymeric |
defparam PMAP_MEMLIMIT
|
#
1.55 |
|
19-Nov-2003 |
scw |
Include arch/powerpc/ibm4xx/intr.c only if a particular board actually uses the generic 4xx interrupt implementation. There are some 4xx boards with entirely different interrupt controllers.
|
#
1.54 |
|
25-Sep-2003 |
matt |
Add siginfo support for PowerPC.
|
#
1.53 |
|
12-Aug-2003 |
matt |
Remove SPILLSTK leftovers.
|
#
1.52 |
|
11-Aug-2003 |
matt |
Add PTEGCOUNT defparam for opt_pmap.h
|
#
1.51 |
|
03-Aug-2003 |
matt |
Add PPC_OEA64 and netbsd32_sigcode.S
|
#
1.50 |
|
18-Jul-2003 |
matt |
Elimindate MD setrunqueue/remrunqueue (which were out-of-date compared to the canonical versions in kern_synch.c). Define __HAVE_BIGENDIAN_BITOPS so the canonical versions will be used but will store priorities in the desired (MSB) order for PowerPC (which allows the use of the cntlzw (count leading zeroes, word) instruction in locore_subr.S to find the proper priority).
|
#
1.49 |
|
08-May-2003 |
christos |
branches: 1.49.2; rename Locore.c -> locore_c.c so that we can compile on case insensitive filesystems. (from John Gordon)
|
#
1.48 |
|
17-Mar-2003 |
matt |
Add CLOCKBASE to opt_ppcparam.h.
|
#
1.47 |
|
11-Mar-2003 |
hannken |
Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
- different set of device control registers. - non-standard access to the time base. - 16 byte cache lines.
Approved by: Eduardo Horvath <eeh@netbsd.org>
|
#
1.46 |
|
26-Feb-2003 |
jklos |
Added L3CR_CONFIG to the parameter list for 745x L3 cache configuration.
|
#
1.45 |
|
03-Feb-2003 |
matt |
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
|
#
1.44 |
|
02-Feb-2003 |
matt |
Remove OLDPMAP support.
|
#
1.43 |
|
02-Feb-2003 |
matt |
Perform a rototill of the powerpc code. Mandate use of SPRG0 to store a pointer to current cpu's cpu_info structure. Use cpu_info for intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK to std.<platform>. Change faultbuf to a struct instead of an array.
On MPC6XX cpus, stop using the vector page for temporary space and use reserved space in cpu_info.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.42 |
|
25-Nov-2002 |
manu |
Added an empty shell for signal delivery. Now we just have to fill the machine dependant bits.
|
#
1.41 |
|
17-Nov-2002 |
manu |
As we use one FreeBSD file for COMPAT_DARWIN, we must include file.freebsd
|
#
1.40 |
|
12-Nov-2002 |
manu |
The kernel now builds with COMPAT_DARWIN.
|
#
1.39 |
|
03-Nov-2002 |
manu |
Added support for Darwin's PowerPC-only system calls: ppccalls, with system call numbers starting at 0x6000 fasttraps, with system call numbers starting at 0x7FF0
Because the Mach system call dispatching code has grown a bit too much, introduce an inline function to handle it (mach_syscall_dispatch).
While we are there, remove the Mach and Linux includes from arch/powerpc/powerpc/syscall.c and push them into arch/powerpc/powerpc/{mach|linux}_syscall.c
|
#
1.38 |
|
30-Oct-2002 |
manu |
Add COMPAT_MACH and EXEC_MACHO support on the PowerPC
|
#
1.37 |
|
30-Oct-2002 |
manu |
Prepare syscall.c for COMPAT_MACH support. linux_syscall_intern is moved to a Linux specific file, child_return is moved to trap.c, and we introduce a EMULNAME macro co that syscall.c can be included to define the system call handler for another emulation.
|
#
1.36 |
|
30-Oct-2002 |
manu |
Moved binary compatibility options from arch directory to cpu directory
|
Revision tags: kqueue-aftermerge kqueue-beforemerge gehenna-devsw-base kqueue-base
|
#
1.35 |
|
18-Aug-2002 |
matt |
defflag PMAPDEBUG, PMAPCHECK, and PMAPCOUNTERS into opt_pmap.h
|
#
1.34 |
|
24-Jul-2002 |
chs |
reimplement copy{in,out}str() similarly to copy{in,out}() (instead of the old way of calling [fs]ubyte() in a loop).
|
#
1.33 |
|
17-Jul-2002 |
matt |
Add a common file to do pmap_zero_page/pmap_copy_page/pmap_pageidlezero and pmap_syncicache. This file uses a ppc feature in a sick and twisted way to avoid mapping the physical pages used by those routines. It performs the operations with the MMU disabled but PPC exception save and retstore the machine state and are invoked with the MMU disabled, this doesn't have an adverse effect on the system.
Currently only enable for MPC6xx and !OLDPMAP.
|
#
1.32 |
|
05-Jul-2002 |
matt |
Peform a rototill over the powerpc-based ports.
Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT initialization code.
Add user Altivec support.
Fix calls to OF_call_method in macppc/macppc/machdep.c.
Use ci_fpuproc in cpu_info instead of separate fpuproc.
Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base
|
#
1.31 |
|
14-Mar-2002 |
eeh |
branches: 1.31.4; Some files have been moved into powerpc/ibm4xx.
|
Revision tags: newlock-base
|
#
1.30 |
|
09-Mar-2002 |
chs |
switch all mpc6xx powerpc ports to NEWPMAP by default. the old pmap is still available with the OLDPMAP option.
|
Revision tags: ifpoll-base
|
#
1.29 |
|
06-Jan-2002 |
dbj |
add support for kgdb over zs
|
#
1.28 |
|
07-Dec-2001 |
bjh21 |
Change L2CR_CONFIG from defflag to defparam, since it takes an argument.
|
#
1.27 |
|
28-Nov-2001 |
lukem |
- convert usage of "defopt" to "defflag" where the relevant option does not support a value (e.g., it's to be used as "options FOO" instead of "options FOO=xxx"). options that take a value were converted to defparam recently. - minor whitespace & formatting cleanups
|
#
1.26 |
|
20-Nov-2001 |
lukem |
- replace "defopt" with "defparam" for options which must take a value, as config(8) will warn for value-less defparam options - minor whitespace/formatting cleanup - consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
|
#
1.25 |
|
20-Nov-2001 |
lukem |
cleanup: options SPACE TAB makeoptions TAB psuedo-device TAB remove trailing whitespace replace multiple spaces -> tabs options "FOO" -> options FOO options "FOO=bar" -> options FOO=bar options "FOO=\"bar\"" -> options FOO="\"bar\""
|
Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.24 |
|
30-Aug-2001 |
briggs |
branches: 1.24.6; Create an opt_openpic.h and add both OPENPIC and OPENPIC_SERIAL_MODE to it.
|
#
1.23 |
|
26-Aug-2001 |
matt |
Make all powerpc ports use a common Makefile.powerpc (except walnut) Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports. Split out macppc cpu support and make common to mpc6xx ports. Make other mpc6xx ports use it. Add evcnts for mpc6xx traps.
|
#
1.22 |
|
20-Jun-2001 |
briggs |
branches: 1.22.2; Build for kgdb as well as for ddb (mutually exclusive).
|
#
1.21 |
|
17-Jun-2001 |
tsubai |
Forgot to commit this -- move file .../bus_dma.c line to files.${machine}.
|
#
1.20 |
|
13-Jun-2001 |
simonb |
Add a port to IBM's PPC405GP Reference Board (the "walnut") by Eduardo Horvath and Simon Burge of Wasabi Systems.
IBM 4xx series CPU features: - New pmap and revised trap handler. - Support on-chip timers, PCI controller, UARTs - Framework for on-chip ethernet and watchdog timer. General PowerPC features: - Add in-kernel PPC floating point emulation - New in{,4}_cksum that is between 1.5 and 5 times faster than the old version depending on CPU type. General changes: - Kernel support for generic dbsym-style symbols.
|
#
1.19 |
|
10-Jun-2001 |
tsubai |
Make the new pmap optional. Use the old (stable!) pmap by default.
|
#
1.18 |
|
06-Jun-2001 |
matt |
Introduce a new & faster pmap for the MPC6xx (60x, 7xx, 7xxx) PPC CPUs. Move MPC6xx dependent header files to powerpc/include/mpc6xx/
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.17 |
|
24-Feb-2001 |
matt |
branches: 1.17.2; Add powerpc/powerpc/powerpc_machdep.c
|
#
1.16 |
|
04-Feb-2001 |
briggs |
defopt openpic
|
#
1.15 |
|
02-Feb-2001 |
briggs |
Split OpenPIC support into powerpc so ports only need minimal custom configuration. openpic_init() now takes a single argument that is the base of the OpenPIC register space.
|
#
1.14 |
|
25-Nov-2000 |
matt |
Add placeholder for AltiVec support file.
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.13 |
|
14-Feb-2000 |
thorpej |
Allow arch-specific code to specify in4_cksum() like it can specify in_cksum().
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
|
#
1.12 |
|
17-Nov-1999 |
kleink |
Move signal management code common to all PowerPC platforms (sendsig(), sigreturn(), sigcode) to a single place in the shared powerpc directory. (The struct sigcontext etc. definitions were already being shared.)
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 comdex-fall-1999-base fvdl-softdep-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.11 |
|
15-Feb-1999 |
hubertf |
branches: 1.11.8; 1.11.14; RCS ID police
|
Revision tags: kenh-if-detach-base chs-ubc-base
|
#
1.10 |
|
18-Sep-1998 |
sakamoto |
powerpc/bcopy.c is unnecessary.
|
#
1.9 |
|
13-Sep-1998 |
thorpej |
Make signal delivery work again.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
28-May-1998 |
sakamoto |
Rename NetBSD/powerpc to NetBSD/ofppc. New sys/arch/powerpc with PowerPC-generic stuff.
|
#
1.7 |
|
24-Feb-1998 |
mycroft |
Catch up with changes in dev/ofw. Add mainbus.
|
#
1.6 |
|
23-Feb-1998 |
mycroft |
Slight rearrangement.
|
#
1.5 |
|
27-Jan-1998 |
sakamoto |
Import DDB from OpenBSD/powerpc.
|
#
1.4 |
|
05-Jan-1998 |
perry |
RCSID Police.
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base thorpej-signal-base marc-pcmcia-bp marc-pcmcia-base
|
#
1.3 |
|
16-Apr-1997 |
thorpej |
- Pull in new ofwmagic.S and soft_spl.c files - firepowerbugs -> firmworksbugs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.2 |
|
16-Oct-1996 |
ws |
Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB
|
#
1.1 |
|
30-Sep-1996 |
ws |
PowerPC port
|
#
1.97 |
|
21-Oct-2020 |
christos |
make process_machdep.c included always since it provides register i/o used by sys_process_getlwpstatus.c which is always included.
|
#
1.96 |
|
20-Oct-2020 |
christos |
harmonize process_machdep.c inclusion.
|
#
1.95 |
|
10-Sep-2020 |
rin |
Introduce PMAP_TLBDEBUG option for ibm4xx: clear only TLBHI[V] bit when TLB entry is invalidated, instead of clearing entire TLBHI register.
|
#
1.94 |
|
30-Jun-2020 |
maxv |
Make copystr() a MI C function, part of libkern and shared on all architectures.
Notes:
- On alpha and ia64 the function is kept but gets renamed locally to avoid symbol collision. This is because on these two arches, I am not sure whether the ASM callers do not rely on fixed registers, so I prefer to keep the ASM body for now. - On Vax, only the symbol is removed, because the body is used from other functions. - On RISC-V, this change fixes a bug: copystr() was just a wrapper around strlcpy(), but strlcpy() makes the operation less safe (strlen on the source beyond its size). - The kASan, kCSan and kMSan wrappers are removed, because now that copystr() is in C, the compiler transformations are applied to it, without the need for manual wrappers.
Could test on amd64 only, but should be fine.
|
Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
|
#
1.93 |
|
20-Feb-2020 |
rin |
Add PPC_IBM440 flag as 440 is significantly different from 40x processors. (It may be more easily supported by booke than by ibm4xx.)
|
Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
#
1.92 |
|
06-Apr-2019 |
thorpej |
branches: 1.92.4; 1.92.6; Overhaul the API used to fetch and store individual memory cells in userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(), subyte(), suword(), etc.) are retired and replaced with new ufetch(9) and ustore(9) APIs that can return proper error codes, etc. and are implemented consistently across all platforms. The interrupt-safe variants are no longer supported (and several of the existing attempts at fuswintr(), etc. were buggy and not actually interrupt-safe).
Also augmement the ucas(9) API, making it consistently available on all plaforms, supporting uniprocessor and multiprocessor systems, even those that do not have CAS or LL/SC primitives.
Welcome to NetBSD 8.99.37.
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
|
#
1.91 |
|
15-Jul-2018 |
maxv |
Retire ipkdb entirely. The option was removed from the config files yesterday.
ok kamil christos
|
Revision tags: phil-wifi-base pgoyette-compat-0625
|
#
1.90 |
|
01-Jun-2018 |
macallan |
branches: 1.90.2; add clock speed control for 970MP CPUs
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.89 |
|
04-Mar-2014 |
matt |
branches: 1.89.28; compat16 -> compat_16
|
#
1.88 |
|
28-Feb-2014 |
matt |
sigcode is dependant on compat_16
|
#
1.87 |
|
17-Nov-2013 |
alnsn |
Enable sljit and bpfjit on powerpc.
|
#
1.86 |
|
19-Sep-2013 |
christos |
remove unused OPENPIC flags.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.85 |
|
20-Oct-2012 |
kiyohara |
branches: 1.85.2; Support Cache Protocol 'MEI' with MULTIPROCESSOR.
|
#
1.84 |
|
02-Oct-2012 |
christos |
move common tlb stuff to uvm
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8
|
#
1.83 |
|
29-Mar-2012 |
matt |
branches: 1.83.2; Add PMAP_MINIMALTLB defflag
|
Revision tags: jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.82 |
|
29-Jun-2011 |
matt |
branches: 1.82.2; 1.82.6; 1.82.8; Add VERBOSE_INITPPC flag
|
#
1.81 |
|
18-Jun-2011 |
matt |
Unconditionally build fixup.c
|
#
1.80 |
|
15-Jun-2011 |
matt |
Move the interrupt stub from booke_stubs.c into its own intr_stubs.c. Move the "null" intrsw (used in startup) to intr_stubs.c as well.
|
#
1.79 |
|
14-Jun-2011 |
matt |
Take the fast softint support in e500_intr.c and make generic so that it can be used to provide fast softint for other interrupt implementations.
|
#
1.78 |
|
12-Jun-2011 |
rmind |
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.
|
Revision tags: rmind-uvmplock-nbase rmind-uvmplock-base
|
#
1.77 |
|
05-Jun-2011 |
matt |
Remove <machine/atomic.h>; use <sys/atomic.h> instead. Add <powerpc/cpuset.h> (for mpc85xx pmap). Add some initial MP code for mpc85xx Rework ipi code to be common across all ppcs Change PPC to keep curlwp in %r13 while in the kernel. Move astpending from cpu_info to mdlwp Improve cpu_need_resched to be more MP friendly.
|
Revision tags: cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.76 |
|
02-May-2011 |
matt |
branches: 1.76.2; Move powerpc to use pcu to manage FPU/AltiVec/SPE.
|
#
1.75 |
|
26-Apr-2011 |
joerg |
Remove Darwin, MACH and Mach-O support.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base
|
#
1.74 |
|
12-Feb-2011 |
matt |
When an OEA kernel is configured for multiple MMU types, use the new powerpc fixup mechanism to bind the kernel to a particular MMU. This avoids an indirect call for every pmap call.
|
#
1.73 |
|
18-Jan-2011 |
matt |
branches: 1.73.2; Add support for BookE Freescale MPC85xx (e500 core) processors. Add fast softint support for PowerPC (though only booke uses it). Redo FPU/VEC support and add e500 SPE support. Rework trap/intrs to use a common trapframe format. Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9
|
#
1.72 |
|
09-Mar-2010 |
matt |
branches: 1.72.2; 1.72.4; Add PPC_BOOKE cputype and booke files.
|
Revision tags: uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 haad-dm-base2 haad-nbase2 nick-hppapmap-base haad-dm-base mjf-devfs2-base
|
#
1.71 |
|
11-Dec-2008 |
pooka |
branches: 1.71.4; Since oea pmap.c is #included many times, put kernel_pmap_ptr into its own source module to avoid multiple initialized data definitions.
|
Revision tags: ad-audiomp2-base
|
#
1.70 |
|
19-Nov-2008 |
ad |
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
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.69 |
|
05-Feb-2008 |
garbled |
branches: 1.69.6; 1.69.10; 1.69.16; 1.69.18; 1.69.28; Ifdef out all the MPC601 code with PPC_OEA601. Now only arches that have the possibility of running on an MPC601, are infected with all the extra code and nops that it added.
Also, fix compilation that I broke with the pmap code, by adding oeacpufeat to the locores of various ppc arches. Noted by mlelstv.
|
#
1.68 |
|
05-Feb-2008 |
garbled |
Rewrite a big chunk of the pmap and locore code for powerpc to better deal with the 64bit bridge mode. pmap changes by Matt Thomas, rest by myself.
Change pmap.c to work similar to exec_elf.c to allow us to compile in multiple pmaps to a single kernel. This allows the pmap for bridge64 to co-exist with the 32bit pmap.
Yank __HAVE_PMAP_PHYSSEG from all the oea code.
Add a new global, "oeacpufeat", which is used early in locore to determine certain cpu features. This allows us to conditionalize code early in the boot for certain CPUs that have special needs.
Yank most of the ifdef PPC_OEA_BRIDGE64 code from almost every file it was found in. Some of it seemed incorrect, and my 7044 booted just fine without it. It would appear that the bridge cpus treat BAT instructions as nops, so they seem to be safe.
In ofppc, check the oeacpufeat, and if we are on a 64bit proc, clear MSR[SF], and ASR[V].
With all of these changes, a kernel with both PPC_OEA and PPC_OEA_BRIDGE64 will boot on the POWERIII-2 cpu. However, it will not yet boot on a 32bit cpu, because of CACHELINESIZE. Work remains to be done there to fix that.
|
#
1.67 |
|
25-Jan-2008 |
joerg |
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.
|
Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-base
|
#
1.66 |
|
07-Jan-2008 |
ad |
Build kobj_machdep.c if MODULAR.
|
Revision tags: vmlocking2-base3 yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.65 |
|
17-Oct-2007 |
garbled |
branches: 1.65.2; 1.65.8; 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.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
|
#
1.64 |
|
07-Jul-2007 |
tsutsui |
branches: 1.64.8; 1.64.10; 1.64.12; 1.64.14; Remove leftover netns stuff.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base ad-audiomp-base post-newlock2-merge
|
#
1.63 |
|
09-Feb-2007 |
ad |
branches: 1.63.6; 1.63.8; 1.63.14; Merge newlock2 to head.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base rpaulo-netinet-merge-pcb-base
|
#
1.62 |
|
05-Aug-2006 |
sanjayl |
branches: 1.62.4; 1st cut of Powermac G5 support (uses bridge mode).
|
Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base
|
#
1.61 |
|
11-Dec-2005 |
christos |
branches: 1.61.4; 1.61.8; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
|
#
1.60 |
|
02-Jun-2005 |
he |
branches: 1.60.2; Remove the hack to compile oea/pmap.c with -Wno-cast-qual, and instead make use of the new __UNVOLATILE() macro in memset() usage.
|
#
1.59 |
|
02-Jun-2005 |
he |
Put a band-aid over the cast qualification warnings for oea/pmap.c. It cannot be compiled with -Wno-cast-qual due to a volatile pointer being passed to memset(), and there's no easy way other than open- coding memset() to fix this. So instead we cheat for now and add -Wno-cast-qual to CFLAGS for this file. To be documented in doc/HACKS.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
|
#
1.58 |
|
03-Jul-2004 |
manu |
Move all the MD bits of commpage to a new file. Map the comm page as RW in kernel (we want to modify it but not to execute it), and RX in userland (no need to modify it but we want to execute it
|
#
1.57 |
|
18-Apr-2004 |
matt |
Add entry for netns/ns_cksum.c
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.56 |
|
17-Mar-2004 |
aymeric |
defparam PMAP_MEMLIMIT
|
#
1.55 |
|
19-Nov-2003 |
scw |
Include arch/powerpc/ibm4xx/intr.c only if a particular board actually uses the generic 4xx interrupt implementation. There are some 4xx boards with entirely different interrupt controllers.
|
#
1.54 |
|
25-Sep-2003 |
matt |
Add siginfo support for PowerPC.
|
#
1.53 |
|
12-Aug-2003 |
matt |
Remove SPILLSTK leftovers.
|
#
1.52 |
|
11-Aug-2003 |
matt |
Add PTEGCOUNT defparam for opt_pmap.h
|
#
1.51 |
|
03-Aug-2003 |
matt |
Add PPC_OEA64 and netbsd32_sigcode.S
|
#
1.50 |
|
18-Jul-2003 |
matt |
Elimindate MD setrunqueue/remrunqueue (which were out-of-date compared to the canonical versions in kern_synch.c). Define __HAVE_BIGENDIAN_BITOPS so the canonical versions will be used but will store priorities in the desired (MSB) order for PowerPC (which allows the use of the cntlzw (count leading zeroes, word) instruction in locore_subr.S to find the proper priority).
|
#
1.49 |
|
08-May-2003 |
christos |
branches: 1.49.2; rename Locore.c -> locore_c.c so that we can compile on case insensitive filesystems. (from John Gordon)
|
#
1.48 |
|
17-Mar-2003 |
matt |
Add CLOCKBASE to opt_ppcparam.h.
|
#
1.47 |
|
11-Mar-2003 |
hannken |
Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
- different set of device control registers. - non-standard access to the time base. - 16 byte cache lines.
Approved by: Eduardo Horvath <eeh@netbsd.org>
|
#
1.46 |
|
26-Feb-2003 |
jklos |
Added L3CR_CONFIG to the parameter list for 745x L3 cache configuration.
|
#
1.45 |
|
03-Feb-2003 |
matt |
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
|
#
1.44 |
|
02-Feb-2003 |
matt |
Remove OLDPMAP support.
|
#
1.43 |
|
02-Feb-2003 |
matt |
Perform a rototill of the powerpc code. Mandate use of SPRG0 to store a pointer to current cpu's cpu_info structure. Use cpu_info for intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK to std.<platform>. Change faultbuf to a struct instead of an array.
On MPC6XX cpus, stop using the vector page for temporary space and use reserved space in cpu_info.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.42 |
|
25-Nov-2002 |
manu |
Added an empty shell for signal delivery. Now we just have to fill the machine dependant bits.
|
#
1.41 |
|
17-Nov-2002 |
manu |
As we use one FreeBSD file for COMPAT_DARWIN, we must include file.freebsd
|
#
1.40 |
|
12-Nov-2002 |
manu |
The kernel now builds with COMPAT_DARWIN.
|
#
1.39 |
|
03-Nov-2002 |
manu |
Added support for Darwin's PowerPC-only system calls: ppccalls, with system call numbers starting at 0x6000 fasttraps, with system call numbers starting at 0x7FF0
Because the Mach system call dispatching code has grown a bit too much, introduce an inline function to handle it (mach_syscall_dispatch).
While we are there, remove the Mach and Linux includes from arch/powerpc/powerpc/syscall.c and push them into arch/powerpc/powerpc/{mach|linux}_syscall.c
|
#
1.38 |
|
30-Oct-2002 |
manu |
Add COMPAT_MACH and EXEC_MACHO support on the PowerPC
|
#
1.37 |
|
30-Oct-2002 |
manu |
Prepare syscall.c for COMPAT_MACH support. linux_syscall_intern is moved to a Linux specific file, child_return is moved to trap.c, and we introduce a EMULNAME macro co that syscall.c can be included to define the system call handler for another emulation.
|
#
1.36 |
|
30-Oct-2002 |
manu |
Moved binary compatibility options from arch directory to cpu directory
|
Revision tags: kqueue-aftermerge kqueue-beforemerge gehenna-devsw-base kqueue-base
|
#
1.35 |
|
18-Aug-2002 |
matt |
defflag PMAPDEBUG, PMAPCHECK, and PMAPCOUNTERS into opt_pmap.h
|
#
1.34 |
|
24-Jul-2002 |
chs |
reimplement copy{in,out}str() similarly to copy{in,out}() (instead of the old way of calling [fs]ubyte() in a loop).
|
#
1.33 |
|
17-Jul-2002 |
matt |
Add a common file to do pmap_zero_page/pmap_copy_page/pmap_pageidlezero and pmap_syncicache. This file uses a ppc feature in a sick and twisted way to avoid mapping the physical pages used by those routines. It performs the operations with the MMU disabled but PPC exception save and retstore the machine state and are invoked with the MMU disabled, this doesn't have an adverse effect on the system.
Currently only enable for MPC6xx and !OLDPMAP.
|
#
1.32 |
|
05-Jul-2002 |
matt |
Peform a rototill over the powerpc-based ports.
Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT initialization code.
Add user Altivec support.
Fix calls to OF_call_method in macppc/macppc/machdep.c.
Use ci_fpuproc in cpu_info instead of separate fpuproc.
Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base
|
#
1.31 |
|
14-Mar-2002 |
eeh |
branches: 1.31.4; Some files have been moved into powerpc/ibm4xx.
|
Revision tags: newlock-base
|
#
1.30 |
|
09-Mar-2002 |
chs |
switch all mpc6xx powerpc ports to NEWPMAP by default. the old pmap is still available with the OLDPMAP option.
|
Revision tags: ifpoll-base
|
#
1.29 |
|
06-Jan-2002 |
dbj |
add support for kgdb over zs
|
#
1.28 |
|
07-Dec-2001 |
bjh21 |
Change L2CR_CONFIG from defflag to defparam, since it takes an argument.
|
#
1.27 |
|
28-Nov-2001 |
lukem |
- convert usage of "defopt" to "defflag" where the relevant option does not support a value (e.g., it's to be used as "options FOO" instead of "options FOO=xxx"). options that take a value were converted to defparam recently. - minor whitespace & formatting cleanups
|
#
1.26 |
|
20-Nov-2001 |
lukem |
- replace "defopt" with "defparam" for options which must take a value, as config(8) will warn for value-less defparam options - minor whitespace/formatting cleanup - consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
|
#
1.25 |
|
20-Nov-2001 |
lukem |
cleanup: options SPACE TAB makeoptions TAB psuedo-device TAB remove trailing whitespace replace multiple spaces -> tabs options "FOO" -> options FOO options "FOO=bar" -> options FOO=bar options "FOO=\"bar\"" -> options FOO="\"bar\""
|
Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.24 |
|
30-Aug-2001 |
briggs |
branches: 1.24.6; Create an opt_openpic.h and add both OPENPIC and OPENPIC_SERIAL_MODE to it.
|
#
1.23 |
|
26-Aug-2001 |
matt |
Make all powerpc ports use a common Makefile.powerpc (except walnut) Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports. Split out macppc cpu support and make common to mpc6xx ports. Make other mpc6xx ports use it. Add evcnts for mpc6xx traps.
|
#
1.22 |
|
20-Jun-2001 |
briggs |
branches: 1.22.2; Build for kgdb as well as for ddb (mutually exclusive).
|
#
1.21 |
|
17-Jun-2001 |
tsubai |
Forgot to commit this -- move file .../bus_dma.c line to files.${machine}.
|
#
1.20 |
|
13-Jun-2001 |
simonb |
Add a port to IBM's PPC405GP Reference Board (the "walnut") by Eduardo Horvath and Simon Burge of Wasabi Systems.
IBM 4xx series CPU features: - New pmap and revised trap handler. - Support on-chip timers, PCI controller, UARTs - Framework for on-chip ethernet and watchdog timer. General PowerPC features: - Add in-kernel PPC floating point emulation - New in{,4}_cksum that is between 1.5 and 5 times faster than the old version depending on CPU type. General changes: - Kernel support for generic dbsym-style symbols.
|
#
1.19 |
|
10-Jun-2001 |
tsubai |
Make the new pmap optional. Use the old (stable!) pmap by default.
|
#
1.18 |
|
06-Jun-2001 |
matt |
Introduce a new & faster pmap for the MPC6xx (60x, 7xx, 7xxx) PPC CPUs. Move MPC6xx dependent header files to powerpc/include/mpc6xx/
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.17 |
|
24-Feb-2001 |
matt |
branches: 1.17.2; Add powerpc/powerpc/powerpc_machdep.c
|
#
1.16 |
|
04-Feb-2001 |
briggs |
defopt openpic
|
#
1.15 |
|
02-Feb-2001 |
briggs |
Split OpenPIC support into powerpc so ports only need minimal custom configuration. openpic_init() now takes a single argument that is the base of the OpenPIC register space.
|
#
1.14 |
|
25-Nov-2000 |
matt |
Add placeholder for AltiVec support file.
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.13 |
|
14-Feb-2000 |
thorpej |
Allow arch-specific code to specify in4_cksum() like it can specify in_cksum().
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
|
#
1.12 |
|
17-Nov-1999 |
kleink |
Move signal management code common to all PowerPC platforms (sendsig(), sigreturn(), sigcode) to a single place in the shared powerpc directory. (The struct sigcontext etc. definitions were already being shared.)
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 comdex-fall-1999-base fvdl-softdep-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.11 |
|
15-Feb-1999 |
hubertf |
branches: 1.11.8; 1.11.14; RCS ID police
|
Revision tags: kenh-if-detach-base chs-ubc-base
|
#
1.10 |
|
18-Sep-1998 |
sakamoto |
powerpc/bcopy.c is unnecessary.
|
#
1.9 |
|
13-Sep-1998 |
thorpej |
Make signal delivery work again.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
28-May-1998 |
sakamoto |
Rename NetBSD/powerpc to NetBSD/ofppc. New sys/arch/powerpc with PowerPC-generic stuff.
|
#
1.7 |
|
24-Feb-1998 |
mycroft |
Catch up with changes in dev/ofw. Add mainbus.
|
#
1.6 |
|
23-Feb-1998 |
mycroft |
Slight rearrangement.
|
#
1.5 |
|
27-Jan-1998 |
sakamoto |
Import DDB from OpenBSD/powerpc.
|
#
1.4 |
|
05-Jan-1998 |
perry |
RCSID Police.
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base thorpej-signal-base marc-pcmcia-bp marc-pcmcia-base
|
#
1.3 |
|
16-Apr-1997 |
thorpej |
- Pull in new ofwmagic.S and soft_spl.c files - firepowerbugs -> firmworksbugs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.2 |
|
16-Oct-1996 |
ws |
Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB
|
#
1.1 |
|
30-Sep-1996 |
ws |
PowerPC port
|
#
1.95 |
|
10-Sep-2020 |
rin |
Introduce PMAP_TLBDEBUG option for ibm4xx: clear only TLBHI[V] bit when TLB entry is invalidated, instead of clearing entire TLBHI register.
|
#
1.94 |
|
30-Jun-2020 |
maxv |
Make copystr() a MI C function, part of libkern and shared on all architectures.
Notes:
- On alpha and ia64 the function is kept but gets renamed locally to avoid symbol collision. This is because on these two arches, I am not sure whether the ASM callers do not rely on fixed registers, so I prefer to keep the ASM body for now. - On Vax, only the symbol is removed, because the body is used from other functions. - On RISC-V, this change fixes a bug: copystr() was just a wrapper around strlcpy(), but strlcpy() makes the operation less safe (strlen on the source beyond its size). - The kASan, kCSan and kMSan wrappers are removed, because now that copystr() is in C, the compiler transformations are applied to it, without the need for manual wrappers.
Could test on amd64 only, but should be fine.
|
Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
|
#
1.93 |
|
20-Feb-2020 |
rin |
Add PPC_IBM440 flag as 440 is significantly different from 40x processors. (It may be more easily supported by booke than by ibm4xx.)
|
Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
#
1.92 |
|
06-Apr-2019 |
thorpej |
branches: 1.92.4; 1.92.6; Overhaul the API used to fetch and store individual memory cells in userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(), subyte(), suword(), etc.) are retired and replaced with new ufetch(9) and ustore(9) APIs that can return proper error codes, etc. and are implemented consistently across all platforms. The interrupt-safe variants are no longer supported (and several of the existing attempts at fuswintr(), etc. were buggy and not actually interrupt-safe).
Also augmement the ucas(9) API, making it consistently available on all plaforms, supporting uniprocessor and multiprocessor systems, even those that do not have CAS or LL/SC primitives.
Welcome to NetBSD 8.99.37.
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
|
#
1.91 |
|
15-Jul-2018 |
maxv |
Retire ipkdb entirely. The option was removed from the config files yesterday.
ok kamil christos
|
Revision tags: phil-wifi-base pgoyette-compat-0625
|
#
1.90 |
|
01-Jun-2018 |
macallan |
branches: 1.90.2; add clock speed control for 970MP CPUs
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.89 |
|
04-Mar-2014 |
matt |
branches: 1.89.28; compat16 -> compat_16
|
#
1.88 |
|
28-Feb-2014 |
matt |
sigcode is dependant on compat_16
|
#
1.87 |
|
17-Nov-2013 |
alnsn |
Enable sljit and bpfjit on powerpc.
|
#
1.86 |
|
19-Sep-2013 |
christos |
remove unused OPENPIC flags.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.85 |
|
20-Oct-2012 |
kiyohara |
branches: 1.85.2; Support Cache Protocol 'MEI' with MULTIPROCESSOR.
|
#
1.84 |
|
02-Oct-2012 |
christos |
move common tlb stuff to uvm
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8
|
#
1.83 |
|
29-Mar-2012 |
matt |
branches: 1.83.2; Add PMAP_MINIMALTLB defflag
|
Revision tags: jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.82 |
|
29-Jun-2011 |
matt |
branches: 1.82.2; 1.82.6; 1.82.8; Add VERBOSE_INITPPC flag
|
#
1.81 |
|
18-Jun-2011 |
matt |
Unconditionally build fixup.c
|
#
1.80 |
|
15-Jun-2011 |
matt |
Move the interrupt stub from booke_stubs.c into its own intr_stubs.c. Move the "null" intrsw (used in startup) to intr_stubs.c as well.
|
#
1.79 |
|
14-Jun-2011 |
matt |
Take the fast softint support in e500_intr.c and make generic so that it can be used to provide fast softint for other interrupt implementations.
|
#
1.78 |
|
12-Jun-2011 |
rmind |
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.
|
Revision tags: rmind-uvmplock-nbase rmind-uvmplock-base
|
#
1.77 |
|
05-Jun-2011 |
matt |
Remove <machine/atomic.h>; use <sys/atomic.h> instead. Add <powerpc/cpuset.h> (for mpc85xx pmap). Add some initial MP code for mpc85xx Rework ipi code to be common across all ppcs Change PPC to keep curlwp in %r13 while in the kernel. Move astpending from cpu_info to mdlwp Improve cpu_need_resched to be more MP friendly.
|
Revision tags: cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.76 |
|
02-May-2011 |
matt |
branches: 1.76.2; Move powerpc to use pcu to manage FPU/AltiVec/SPE.
|
#
1.75 |
|
26-Apr-2011 |
joerg |
Remove Darwin, MACH and Mach-O support.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base
|
#
1.74 |
|
12-Feb-2011 |
matt |
When an OEA kernel is configured for multiple MMU types, use the new powerpc fixup mechanism to bind the kernel to a particular MMU. This avoids an indirect call for every pmap call.
|
#
1.73 |
|
18-Jan-2011 |
matt |
branches: 1.73.2; Add support for BookE Freescale MPC85xx (e500 core) processors. Add fast softint support for PowerPC (though only booke uses it). Redo FPU/VEC support and add e500 SPE support. Rework trap/intrs to use a common trapframe format. Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9
|
#
1.72 |
|
09-Mar-2010 |
matt |
branches: 1.72.2; 1.72.4; Add PPC_BOOKE cputype and booke files.
|
Revision tags: uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 haad-dm-base2 haad-nbase2 nick-hppapmap-base haad-dm-base mjf-devfs2-base
|
#
1.71 |
|
11-Dec-2008 |
pooka |
branches: 1.71.4; Since oea pmap.c is #included many times, put kernel_pmap_ptr into its own source module to avoid multiple initialized data definitions.
|
Revision tags: ad-audiomp2-base
|
#
1.70 |
|
19-Nov-2008 |
ad |
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
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.69 |
|
05-Feb-2008 |
garbled |
branches: 1.69.6; 1.69.10; 1.69.16; 1.69.18; 1.69.28; Ifdef out all the MPC601 code with PPC_OEA601. Now only arches that have the possibility of running on an MPC601, are infected with all the extra code and nops that it added.
Also, fix compilation that I broke with the pmap code, by adding oeacpufeat to the locores of various ppc arches. Noted by mlelstv.
|
#
1.68 |
|
05-Feb-2008 |
garbled |
Rewrite a big chunk of the pmap and locore code for powerpc to better deal with the 64bit bridge mode. pmap changes by Matt Thomas, rest by myself.
Change pmap.c to work similar to exec_elf.c to allow us to compile in multiple pmaps to a single kernel. This allows the pmap for bridge64 to co-exist with the 32bit pmap.
Yank __HAVE_PMAP_PHYSSEG from all the oea code.
Add a new global, "oeacpufeat", which is used early in locore to determine certain cpu features. This allows us to conditionalize code early in the boot for certain CPUs that have special needs.
Yank most of the ifdef PPC_OEA_BRIDGE64 code from almost every file it was found in. Some of it seemed incorrect, and my 7044 booted just fine without it. It would appear that the bridge cpus treat BAT instructions as nops, so they seem to be safe.
In ofppc, check the oeacpufeat, and if we are on a 64bit proc, clear MSR[SF], and ASR[V].
With all of these changes, a kernel with both PPC_OEA and PPC_OEA_BRIDGE64 will boot on the POWERIII-2 cpu. However, it will not yet boot on a 32bit cpu, because of CACHELINESIZE. Work remains to be done there to fix that.
|
#
1.67 |
|
25-Jan-2008 |
joerg |
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.
|
Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-base
|
#
1.66 |
|
07-Jan-2008 |
ad |
Build kobj_machdep.c if MODULAR.
|
Revision tags: vmlocking2-base3 yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.65 |
|
17-Oct-2007 |
garbled |
branches: 1.65.2; 1.65.8; 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.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
|
#
1.64 |
|
07-Jul-2007 |
tsutsui |
branches: 1.64.8; 1.64.10; 1.64.12; 1.64.14; Remove leftover netns stuff.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base ad-audiomp-base post-newlock2-merge
|
#
1.63 |
|
09-Feb-2007 |
ad |
branches: 1.63.6; 1.63.8; 1.63.14; Merge newlock2 to head.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base rpaulo-netinet-merge-pcb-base
|
#
1.62 |
|
05-Aug-2006 |
sanjayl |
branches: 1.62.4; 1st cut of Powermac G5 support (uses bridge mode).
|
Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base
|
#
1.61 |
|
11-Dec-2005 |
christos |
branches: 1.61.4; 1.61.8; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
|
#
1.60 |
|
02-Jun-2005 |
he |
branches: 1.60.2; Remove the hack to compile oea/pmap.c with -Wno-cast-qual, and instead make use of the new __UNVOLATILE() macro in memset() usage.
|
#
1.59 |
|
02-Jun-2005 |
he |
Put a band-aid over the cast qualification warnings for oea/pmap.c. It cannot be compiled with -Wno-cast-qual due to a volatile pointer being passed to memset(), and there's no easy way other than open- coding memset() to fix this. So instead we cheat for now and add -Wno-cast-qual to CFLAGS for this file. To be documented in doc/HACKS.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
|
#
1.58 |
|
03-Jul-2004 |
manu |
Move all the MD bits of commpage to a new file. Map the comm page as RW in kernel (we want to modify it but not to execute it), and RX in userland (no need to modify it but we want to execute it
|
#
1.57 |
|
18-Apr-2004 |
matt |
Add entry for netns/ns_cksum.c
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.56 |
|
17-Mar-2004 |
aymeric |
defparam PMAP_MEMLIMIT
|
#
1.55 |
|
19-Nov-2003 |
scw |
Include arch/powerpc/ibm4xx/intr.c only if a particular board actually uses the generic 4xx interrupt implementation. There are some 4xx boards with entirely different interrupt controllers.
|
#
1.54 |
|
25-Sep-2003 |
matt |
Add siginfo support for PowerPC.
|
#
1.53 |
|
12-Aug-2003 |
matt |
Remove SPILLSTK leftovers.
|
#
1.52 |
|
11-Aug-2003 |
matt |
Add PTEGCOUNT defparam for opt_pmap.h
|
#
1.51 |
|
03-Aug-2003 |
matt |
Add PPC_OEA64 and netbsd32_sigcode.S
|
#
1.50 |
|
18-Jul-2003 |
matt |
Elimindate MD setrunqueue/remrunqueue (which were out-of-date compared to the canonical versions in kern_synch.c). Define __HAVE_BIGENDIAN_BITOPS so the canonical versions will be used but will store priorities in the desired (MSB) order for PowerPC (which allows the use of the cntlzw (count leading zeroes, word) instruction in locore_subr.S to find the proper priority).
|
#
1.49 |
|
08-May-2003 |
christos |
branches: 1.49.2; rename Locore.c -> locore_c.c so that we can compile on case insensitive filesystems. (from John Gordon)
|
#
1.48 |
|
17-Mar-2003 |
matt |
Add CLOCKBASE to opt_ppcparam.h.
|
#
1.47 |
|
11-Mar-2003 |
hannken |
Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
- different set of device control registers. - non-standard access to the time base. - 16 byte cache lines.
Approved by: Eduardo Horvath <eeh@netbsd.org>
|
#
1.46 |
|
26-Feb-2003 |
jklos |
Added L3CR_CONFIG to the parameter list for 745x L3 cache configuration.
|
#
1.45 |
|
03-Feb-2003 |
matt |
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
|
#
1.44 |
|
02-Feb-2003 |
matt |
Remove OLDPMAP support.
|
#
1.43 |
|
02-Feb-2003 |
matt |
Perform a rototill of the powerpc code. Mandate use of SPRG0 to store a pointer to current cpu's cpu_info structure. Use cpu_info for intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK to std.<platform>. Change faultbuf to a struct instead of an array.
On MPC6XX cpus, stop using the vector page for temporary space and use reserved space in cpu_info.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.42 |
|
25-Nov-2002 |
manu |
Added an empty shell for signal delivery. Now we just have to fill the machine dependant bits.
|
#
1.41 |
|
17-Nov-2002 |
manu |
As we use one FreeBSD file for COMPAT_DARWIN, we must include file.freebsd
|
#
1.40 |
|
12-Nov-2002 |
manu |
The kernel now builds with COMPAT_DARWIN.
|
#
1.39 |
|
03-Nov-2002 |
manu |
Added support for Darwin's PowerPC-only system calls: ppccalls, with system call numbers starting at 0x6000 fasttraps, with system call numbers starting at 0x7FF0
Because the Mach system call dispatching code has grown a bit too much, introduce an inline function to handle it (mach_syscall_dispatch).
While we are there, remove the Mach and Linux includes from arch/powerpc/powerpc/syscall.c and push them into arch/powerpc/powerpc/{mach|linux}_syscall.c
|
#
1.38 |
|
30-Oct-2002 |
manu |
Add COMPAT_MACH and EXEC_MACHO support on the PowerPC
|
#
1.37 |
|
30-Oct-2002 |
manu |
Prepare syscall.c for COMPAT_MACH support. linux_syscall_intern is moved to a Linux specific file, child_return is moved to trap.c, and we introduce a EMULNAME macro co that syscall.c can be included to define the system call handler for another emulation.
|
#
1.36 |
|
30-Oct-2002 |
manu |
Moved binary compatibility options from arch directory to cpu directory
|
Revision tags: kqueue-aftermerge kqueue-beforemerge gehenna-devsw-base kqueue-base
|
#
1.35 |
|
18-Aug-2002 |
matt |
defflag PMAPDEBUG, PMAPCHECK, and PMAPCOUNTERS into opt_pmap.h
|
#
1.34 |
|
24-Jul-2002 |
chs |
reimplement copy{in,out}str() similarly to copy{in,out}() (instead of the old way of calling [fs]ubyte() in a loop).
|
#
1.33 |
|
17-Jul-2002 |
matt |
Add a common file to do pmap_zero_page/pmap_copy_page/pmap_pageidlezero and pmap_syncicache. This file uses a ppc feature in a sick and twisted way to avoid mapping the physical pages used by those routines. It performs the operations with the MMU disabled but PPC exception save and retstore the machine state and are invoked with the MMU disabled, this doesn't have an adverse effect on the system.
Currently only enable for MPC6xx and !OLDPMAP.
|
#
1.32 |
|
05-Jul-2002 |
matt |
Peform a rototill over the powerpc-based ports.
Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT initialization code.
Add user Altivec support.
Fix calls to OF_call_method in macppc/macppc/machdep.c.
Use ci_fpuproc in cpu_info instead of separate fpuproc.
Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base
|
#
1.31 |
|
14-Mar-2002 |
eeh |
branches: 1.31.4; Some files have been moved into powerpc/ibm4xx.
|
Revision tags: newlock-base
|
#
1.30 |
|
09-Mar-2002 |
chs |
switch all mpc6xx powerpc ports to NEWPMAP by default. the old pmap is still available with the OLDPMAP option.
|
Revision tags: ifpoll-base
|
#
1.29 |
|
06-Jan-2002 |
dbj |
add support for kgdb over zs
|
#
1.28 |
|
07-Dec-2001 |
bjh21 |
Change L2CR_CONFIG from defflag to defparam, since it takes an argument.
|
#
1.27 |
|
28-Nov-2001 |
lukem |
- convert usage of "defopt" to "defflag" where the relevant option does not support a value (e.g., it's to be used as "options FOO" instead of "options FOO=xxx"). options that take a value were converted to defparam recently. - minor whitespace & formatting cleanups
|
#
1.26 |
|
20-Nov-2001 |
lukem |
- replace "defopt" with "defparam" for options which must take a value, as config(8) will warn for value-less defparam options - minor whitespace/formatting cleanup - consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
|
#
1.25 |
|
20-Nov-2001 |
lukem |
cleanup: options SPACE TAB makeoptions TAB psuedo-device TAB remove trailing whitespace replace multiple spaces -> tabs options "FOO" -> options FOO options "FOO=bar" -> options FOO=bar options "FOO=\"bar\"" -> options FOO="\"bar\""
|
Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.24 |
|
30-Aug-2001 |
briggs |
branches: 1.24.6; Create an opt_openpic.h and add both OPENPIC and OPENPIC_SERIAL_MODE to it.
|
#
1.23 |
|
26-Aug-2001 |
matt |
Make all powerpc ports use a common Makefile.powerpc (except walnut) Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports. Split out macppc cpu support and make common to mpc6xx ports. Make other mpc6xx ports use it. Add evcnts for mpc6xx traps.
|
#
1.22 |
|
20-Jun-2001 |
briggs |
branches: 1.22.2; Build for kgdb as well as for ddb (mutually exclusive).
|
#
1.21 |
|
17-Jun-2001 |
tsubai |
Forgot to commit this -- move file .../bus_dma.c line to files.${machine}.
|
#
1.20 |
|
13-Jun-2001 |
simonb |
Add a port to IBM's PPC405GP Reference Board (the "walnut") by Eduardo Horvath and Simon Burge of Wasabi Systems.
IBM 4xx series CPU features: - New pmap and revised trap handler. - Support on-chip timers, PCI controller, UARTs - Framework for on-chip ethernet and watchdog timer. General PowerPC features: - Add in-kernel PPC floating point emulation - New in{,4}_cksum that is between 1.5 and 5 times faster than the old version depending on CPU type. General changes: - Kernel support for generic dbsym-style symbols.
|
#
1.19 |
|
10-Jun-2001 |
tsubai |
Make the new pmap optional. Use the old (stable!) pmap by default.
|
#
1.18 |
|
06-Jun-2001 |
matt |
Introduce a new & faster pmap for the MPC6xx (60x, 7xx, 7xxx) PPC CPUs. Move MPC6xx dependent header files to powerpc/include/mpc6xx/
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.17 |
|
24-Feb-2001 |
matt |
branches: 1.17.2; Add powerpc/powerpc/powerpc_machdep.c
|
#
1.16 |
|
04-Feb-2001 |
briggs |
defopt openpic
|
#
1.15 |
|
02-Feb-2001 |
briggs |
Split OpenPIC support into powerpc so ports only need minimal custom configuration. openpic_init() now takes a single argument that is the base of the OpenPIC register space.
|
#
1.14 |
|
25-Nov-2000 |
matt |
Add placeholder for AltiVec support file.
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.13 |
|
14-Feb-2000 |
thorpej |
Allow arch-specific code to specify in4_cksum() like it can specify in_cksum().
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
|
#
1.12 |
|
17-Nov-1999 |
kleink |
Move signal management code common to all PowerPC platforms (sendsig(), sigreturn(), sigcode) to a single place in the shared powerpc directory. (The struct sigcontext etc. definitions were already being shared.)
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 comdex-fall-1999-base fvdl-softdep-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.11 |
|
15-Feb-1999 |
hubertf |
branches: 1.11.8; 1.11.14; RCS ID police
|
Revision tags: kenh-if-detach-base chs-ubc-base
|
#
1.10 |
|
18-Sep-1998 |
sakamoto |
powerpc/bcopy.c is unnecessary.
|
#
1.9 |
|
13-Sep-1998 |
thorpej |
Make signal delivery work again.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
28-May-1998 |
sakamoto |
Rename NetBSD/powerpc to NetBSD/ofppc. New sys/arch/powerpc with PowerPC-generic stuff.
|
#
1.7 |
|
24-Feb-1998 |
mycroft |
Catch up with changes in dev/ofw. Add mainbus.
|
#
1.6 |
|
23-Feb-1998 |
mycroft |
Slight rearrangement.
|
#
1.5 |
|
27-Jan-1998 |
sakamoto |
Import DDB from OpenBSD/powerpc.
|
#
1.4 |
|
05-Jan-1998 |
perry |
RCSID Police.
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base thorpej-signal-base marc-pcmcia-bp marc-pcmcia-base
|
#
1.3 |
|
16-Apr-1997 |
thorpej |
- Pull in new ofwmagic.S and soft_spl.c files - firepowerbugs -> firmworksbugs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.2 |
|
16-Oct-1996 |
ws |
Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB
|
#
1.1 |
|
30-Sep-1996 |
ws |
PowerPC port
|
#
1.94 |
|
30-Jun-2020 |
maxv |
Make copystr() a MI C function, part of libkern and shared on all architectures.
Notes:
- On alpha and ia64 the function is kept but gets renamed locally to avoid symbol collision. This is because on these two arches, I am not sure whether the ASM callers do not rely on fixed registers, so I prefer to keep the ASM body for now. - On Vax, only the symbol is removed, because the body is used from other functions. - On RISC-V, this change fixes a bug: copystr() was just a wrapper around strlcpy(), but strlcpy() makes the operation less safe (strlen on the source beyond its size). - The kASan, kCSan and kMSan wrappers are removed, because now that copystr() is in C, the compiler transformations are applied to it, without the need for manual wrappers.
Could test on amd64 only, but should be fine.
|
Revision tags: bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3
|
#
1.93 |
|
20-Feb-2020 |
rin |
Add PPC_IBM440 flag as 440 is significantly different from 40x processors. (It may be more easily supported by booke than by ibm4xx.)
|
Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
#
1.92 |
|
06-Apr-2019 |
thorpej |
branches: 1.92.4; 1.92.6; Overhaul the API used to fetch and store individual memory cells in userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(), subyte(), suword(), etc.) are retired and replaced with new ufetch(9) and ustore(9) APIs that can return proper error codes, etc. and are implemented consistently across all platforms. The interrupt-safe variants are no longer supported (and several of the existing attempts at fuswintr(), etc. were buggy and not actually interrupt-safe).
Also augmement the ucas(9) API, making it consistently available on all plaforms, supporting uniprocessor and multiprocessor systems, even those that do not have CAS or LL/SC primitives.
Welcome to NetBSD 8.99.37.
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
|
#
1.91 |
|
15-Jul-2018 |
maxv |
Retire ipkdb entirely. The option was removed from the config files yesterday.
ok kamil christos
|
Revision tags: phil-wifi-base pgoyette-compat-0625
|
#
1.90 |
|
01-Jun-2018 |
macallan |
branches: 1.90.2; add clock speed control for 970MP CPUs
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.89 |
|
04-Mar-2014 |
matt |
branches: 1.89.28; compat16 -> compat_16
|
#
1.88 |
|
28-Feb-2014 |
matt |
sigcode is dependant on compat_16
|
#
1.87 |
|
17-Nov-2013 |
alnsn |
Enable sljit and bpfjit on powerpc.
|
#
1.86 |
|
19-Sep-2013 |
christos |
remove unused OPENPIC flags.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.85 |
|
20-Oct-2012 |
kiyohara |
branches: 1.85.2; Support Cache Protocol 'MEI' with MULTIPROCESSOR.
|
#
1.84 |
|
02-Oct-2012 |
christos |
move common tlb stuff to uvm
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8
|
#
1.83 |
|
29-Mar-2012 |
matt |
branches: 1.83.2; Add PMAP_MINIMALTLB defflag
|
Revision tags: jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.82 |
|
29-Jun-2011 |
matt |
branches: 1.82.2; 1.82.6; 1.82.8; Add VERBOSE_INITPPC flag
|
#
1.81 |
|
18-Jun-2011 |
matt |
Unconditionally build fixup.c
|
#
1.80 |
|
15-Jun-2011 |
matt |
Move the interrupt stub from booke_stubs.c into its own intr_stubs.c. Move the "null" intrsw (used in startup) to intr_stubs.c as well.
|
#
1.79 |
|
14-Jun-2011 |
matt |
Take the fast softint support in e500_intr.c and make generic so that it can be used to provide fast softint for other interrupt implementations.
|
#
1.78 |
|
12-Jun-2011 |
rmind |
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.
|
Revision tags: rmind-uvmplock-nbase rmind-uvmplock-base
|
#
1.77 |
|
05-Jun-2011 |
matt |
Remove <machine/atomic.h>; use <sys/atomic.h> instead. Add <powerpc/cpuset.h> (for mpc85xx pmap). Add some initial MP code for mpc85xx Rework ipi code to be common across all ppcs Change PPC to keep curlwp in %r13 while in the kernel. Move astpending from cpu_info to mdlwp Improve cpu_need_resched to be more MP friendly.
|
Revision tags: cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.76 |
|
02-May-2011 |
matt |
branches: 1.76.2; Move powerpc to use pcu to manage FPU/AltiVec/SPE.
|
#
1.75 |
|
26-Apr-2011 |
joerg |
Remove Darwin, MACH and Mach-O support.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base
|
#
1.74 |
|
12-Feb-2011 |
matt |
When an OEA kernel is configured for multiple MMU types, use the new powerpc fixup mechanism to bind the kernel to a particular MMU. This avoids an indirect call for every pmap call.
|
#
1.73 |
|
18-Jan-2011 |
matt |
branches: 1.73.2; Add support for BookE Freescale MPC85xx (e500 core) processors. Add fast softint support for PowerPC (though only booke uses it). Redo FPU/VEC support and add e500 SPE support. Rework trap/intrs to use a common trapframe format. Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9
|
#
1.72 |
|
09-Mar-2010 |
matt |
branches: 1.72.2; 1.72.4; Add PPC_BOOKE cputype and booke files.
|
Revision tags: uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 haad-dm-base2 haad-nbase2 nick-hppapmap-base haad-dm-base mjf-devfs2-base
|
#
1.71 |
|
11-Dec-2008 |
pooka |
branches: 1.71.4; Since oea pmap.c is #included many times, put kernel_pmap_ptr into its own source module to avoid multiple initialized data definitions.
|
Revision tags: ad-audiomp2-base
|
#
1.70 |
|
19-Nov-2008 |
ad |
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
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.69 |
|
05-Feb-2008 |
garbled |
branches: 1.69.6; 1.69.10; 1.69.16; 1.69.18; 1.69.28; Ifdef out all the MPC601 code with PPC_OEA601. Now only arches that have the possibility of running on an MPC601, are infected with all the extra code and nops that it added.
Also, fix compilation that I broke with the pmap code, by adding oeacpufeat to the locores of various ppc arches. Noted by mlelstv.
|
#
1.68 |
|
05-Feb-2008 |
garbled |
Rewrite a big chunk of the pmap and locore code for powerpc to better deal with the 64bit bridge mode. pmap changes by Matt Thomas, rest by myself.
Change pmap.c to work similar to exec_elf.c to allow us to compile in multiple pmaps to a single kernel. This allows the pmap for bridge64 to co-exist with the 32bit pmap.
Yank __HAVE_PMAP_PHYSSEG from all the oea code.
Add a new global, "oeacpufeat", which is used early in locore to determine certain cpu features. This allows us to conditionalize code early in the boot for certain CPUs that have special needs.
Yank most of the ifdef PPC_OEA_BRIDGE64 code from almost every file it was found in. Some of it seemed incorrect, and my 7044 booted just fine without it. It would appear that the bridge cpus treat BAT instructions as nops, so they seem to be safe.
In ofppc, check the oeacpufeat, and if we are on a 64bit proc, clear MSR[SF], and ASR[V].
With all of these changes, a kernel with both PPC_OEA and PPC_OEA_BRIDGE64 will boot on the POWERIII-2 cpu. However, it will not yet boot on a 32bit cpu, because of CACHELINESIZE. Work remains to be done there to fix that.
|
#
1.67 |
|
25-Jan-2008 |
joerg |
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.
|
Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-base
|
#
1.66 |
|
07-Jan-2008 |
ad |
Build kobj_machdep.c if MODULAR.
|
Revision tags: vmlocking2-base3 yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.65 |
|
17-Oct-2007 |
garbled |
branches: 1.65.2; 1.65.8; 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.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
|
#
1.64 |
|
07-Jul-2007 |
tsutsui |
branches: 1.64.8; 1.64.10; 1.64.12; 1.64.14; Remove leftover netns stuff.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base ad-audiomp-base post-newlock2-merge
|
#
1.63 |
|
09-Feb-2007 |
ad |
branches: 1.63.6; 1.63.8; 1.63.14; Merge newlock2 to head.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base rpaulo-netinet-merge-pcb-base
|
#
1.62 |
|
05-Aug-2006 |
sanjayl |
branches: 1.62.4; 1st cut of Powermac G5 support (uses bridge mode).
|
Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base
|
#
1.61 |
|
11-Dec-2005 |
christos |
branches: 1.61.4; 1.61.8; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
|
#
1.60 |
|
02-Jun-2005 |
he |
branches: 1.60.2; Remove the hack to compile oea/pmap.c with -Wno-cast-qual, and instead make use of the new __UNVOLATILE() macro in memset() usage.
|
#
1.59 |
|
02-Jun-2005 |
he |
Put a band-aid over the cast qualification warnings for oea/pmap.c. It cannot be compiled with -Wno-cast-qual due to a volatile pointer being passed to memset(), and there's no easy way other than open- coding memset() to fix this. So instead we cheat for now and add -Wno-cast-qual to CFLAGS for this file. To be documented in doc/HACKS.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
|
#
1.58 |
|
03-Jul-2004 |
manu |
Move all the MD bits of commpage to a new file. Map the comm page as RW in kernel (we want to modify it but not to execute it), and RX in userland (no need to modify it but we want to execute it
|
#
1.57 |
|
18-Apr-2004 |
matt |
Add entry for netns/ns_cksum.c
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.56 |
|
17-Mar-2004 |
aymeric |
defparam PMAP_MEMLIMIT
|
#
1.55 |
|
19-Nov-2003 |
scw |
Include arch/powerpc/ibm4xx/intr.c only if a particular board actually uses the generic 4xx interrupt implementation. There are some 4xx boards with entirely different interrupt controllers.
|
#
1.54 |
|
25-Sep-2003 |
matt |
Add siginfo support for PowerPC.
|
#
1.53 |
|
12-Aug-2003 |
matt |
Remove SPILLSTK leftovers.
|
#
1.52 |
|
11-Aug-2003 |
matt |
Add PTEGCOUNT defparam for opt_pmap.h
|
#
1.51 |
|
03-Aug-2003 |
matt |
Add PPC_OEA64 and netbsd32_sigcode.S
|
#
1.50 |
|
18-Jul-2003 |
matt |
Elimindate MD setrunqueue/remrunqueue (which were out-of-date compared to the canonical versions in kern_synch.c). Define __HAVE_BIGENDIAN_BITOPS so the canonical versions will be used but will store priorities in the desired (MSB) order for PowerPC (which allows the use of the cntlzw (count leading zeroes, word) instruction in locore_subr.S to find the proper priority).
|
#
1.49 |
|
08-May-2003 |
christos |
branches: 1.49.2; rename Locore.c -> locore_c.c so that we can compile on case insensitive filesystems. (from John Gordon)
|
#
1.48 |
|
17-Mar-2003 |
matt |
Add CLOCKBASE to opt_ppcparam.h.
|
#
1.47 |
|
11-Mar-2003 |
hannken |
Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
- different set of device control registers. - non-standard access to the time base. - 16 byte cache lines.
Approved by: Eduardo Horvath <eeh@netbsd.org>
|
#
1.46 |
|
26-Feb-2003 |
jklos |
Added L3CR_CONFIG to the parameter list for 745x L3 cache configuration.
|
#
1.45 |
|
03-Feb-2003 |
matt |
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
|
#
1.44 |
|
02-Feb-2003 |
matt |
Remove OLDPMAP support.
|
#
1.43 |
|
02-Feb-2003 |
matt |
Perform a rototill of the powerpc code. Mandate use of SPRG0 to store a pointer to current cpu's cpu_info structure. Use cpu_info for intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK to std.<platform>. Change faultbuf to a struct instead of an array.
On MPC6XX cpus, stop using the vector page for temporary space and use reserved space in cpu_info.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.42 |
|
25-Nov-2002 |
manu |
Added an empty shell for signal delivery. Now we just have to fill the machine dependant bits.
|
#
1.41 |
|
17-Nov-2002 |
manu |
As we use one FreeBSD file for COMPAT_DARWIN, we must include file.freebsd
|
#
1.40 |
|
12-Nov-2002 |
manu |
The kernel now builds with COMPAT_DARWIN.
|
#
1.39 |
|
03-Nov-2002 |
manu |
Added support for Darwin's PowerPC-only system calls: ppccalls, with system call numbers starting at 0x6000 fasttraps, with system call numbers starting at 0x7FF0
Because the Mach system call dispatching code has grown a bit too much, introduce an inline function to handle it (mach_syscall_dispatch).
While we are there, remove the Mach and Linux includes from arch/powerpc/powerpc/syscall.c and push them into arch/powerpc/powerpc/{mach|linux}_syscall.c
|
#
1.38 |
|
30-Oct-2002 |
manu |
Add COMPAT_MACH and EXEC_MACHO support on the PowerPC
|
#
1.37 |
|
30-Oct-2002 |
manu |
Prepare syscall.c for COMPAT_MACH support. linux_syscall_intern is moved to a Linux specific file, child_return is moved to trap.c, and we introduce a EMULNAME macro co that syscall.c can be included to define the system call handler for another emulation.
|
#
1.36 |
|
30-Oct-2002 |
manu |
Moved binary compatibility options from arch directory to cpu directory
|
Revision tags: kqueue-aftermerge kqueue-beforemerge gehenna-devsw-base kqueue-base
|
#
1.35 |
|
18-Aug-2002 |
matt |
defflag PMAPDEBUG, PMAPCHECK, and PMAPCOUNTERS into opt_pmap.h
|
#
1.34 |
|
24-Jul-2002 |
chs |
reimplement copy{in,out}str() similarly to copy{in,out}() (instead of the old way of calling [fs]ubyte() in a loop).
|
#
1.33 |
|
17-Jul-2002 |
matt |
Add a common file to do pmap_zero_page/pmap_copy_page/pmap_pageidlezero and pmap_syncicache. This file uses a ppc feature in a sick and twisted way to avoid mapping the physical pages used by those routines. It performs the operations with the MMU disabled but PPC exception save and retstore the machine state and are invoked with the MMU disabled, this doesn't have an adverse effect on the system.
Currently only enable for MPC6xx and !OLDPMAP.
|
#
1.32 |
|
05-Jul-2002 |
matt |
Peform a rototill over the powerpc-based ports.
Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT initialization code.
Add user Altivec support.
Fix calls to OF_call_method in macppc/macppc/machdep.c.
Use ci_fpuproc in cpu_info instead of separate fpuproc.
Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base
|
#
1.31 |
|
14-Mar-2002 |
eeh |
branches: 1.31.4; Some files have been moved into powerpc/ibm4xx.
|
Revision tags: newlock-base
|
#
1.30 |
|
09-Mar-2002 |
chs |
switch all mpc6xx powerpc ports to NEWPMAP by default. the old pmap is still available with the OLDPMAP option.
|
Revision tags: ifpoll-base
|
#
1.29 |
|
06-Jan-2002 |
dbj |
add support for kgdb over zs
|
#
1.28 |
|
07-Dec-2001 |
bjh21 |
Change L2CR_CONFIG from defflag to defparam, since it takes an argument.
|
#
1.27 |
|
28-Nov-2001 |
lukem |
- convert usage of "defopt" to "defflag" where the relevant option does not support a value (e.g., it's to be used as "options FOO" instead of "options FOO=xxx"). options that take a value were converted to defparam recently. - minor whitespace & formatting cleanups
|
#
1.26 |
|
20-Nov-2001 |
lukem |
- replace "defopt" with "defparam" for options which must take a value, as config(8) will warn for value-less defparam options - minor whitespace/formatting cleanup - consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
|
#
1.25 |
|
20-Nov-2001 |
lukem |
cleanup: options SPACE TAB makeoptions TAB psuedo-device TAB remove trailing whitespace replace multiple spaces -> tabs options "FOO" -> options FOO options "FOO=bar" -> options FOO=bar options "FOO=\"bar\"" -> options FOO="\"bar\""
|
Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.24 |
|
30-Aug-2001 |
briggs |
branches: 1.24.6; Create an opt_openpic.h and add both OPENPIC and OPENPIC_SERIAL_MODE to it.
|
#
1.23 |
|
26-Aug-2001 |
matt |
Make all powerpc ports use a common Makefile.powerpc (except walnut) Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports. Split out macppc cpu support and make common to mpc6xx ports. Make other mpc6xx ports use it. Add evcnts for mpc6xx traps.
|
#
1.22 |
|
20-Jun-2001 |
briggs |
branches: 1.22.2; Build for kgdb as well as for ddb (mutually exclusive).
|
#
1.21 |
|
17-Jun-2001 |
tsubai |
Forgot to commit this -- move file .../bus_dma.c line to files.${machine}.
|
#
1.20 |
|
13-Jun-2001 |
simonb |
Add a port to IBM's PPC405GP Reference Board (the "walnut") by Eduardo Horvath and Simon Burge of Wasabi Systems.
IBM 4xx series CPU features: - New pmap and revised trap handler. - Support on-chip timers, PCI controller, UARTs - Framework for on-chip ethernet and watchdog timer. General PowerPC features: - Add in-kernel PPC floating point emulation - New in{,4}_cksum that is between 1.5 and 5 times faster than the old version depending on CPU type. General changes: - Kernel support for generic dbsym-style symbols.
|
#
1.19 |
|
10-Jun-2001 |
tsubai |
Make the new pmap optional. Use the old (stable!) pmap by default.
|
#
1.18 |
|
06-Jun-2001 |
matt |
Introduce a new & faster pmap for the MPC6xx (60x, 7xx, 7xxx) PPC CPUs. Move MPC6xx dependent header files to powerpc/include/mpc6xx/
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.17 |
|
24-Feb-2001 |
matt |
branches: 1.17.2; Add powerpc/powerpc/powerpc_machdep.c
|
#
1.16 |
|
04-Feb-2001 |
briggs |
defopt openpic
|
#
1.15 |
|
02-Feb-2001 |
briggs |
Split OpenPIC support into powerpc so ports only need minimal custom configuration. openpic_init() now takes a single argument that is the base of the OpenPIC register space.
|
#
1.14 |
|
25-Nov-2000 |
matt |
Add placeholder for AltiVec support file.
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.13 |
|
14-Feb-2000 |
thorpej |
Allow arch-specific code to specify in4_cksum() like it can specify in_cksum().
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
|
#
1.12 |
|
17-Nov-1999 |
kleink |
Move signal management code common to all PowerPC platforms (sendsig(), sigreturn(), sigcode) to a single place in the shared powerpc directory. (The struct sigcontext etc. definitions were already being shared.)
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 comdex-fall-1999-base fvdl-softdep-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.11 |
|
15-Feb-1999 |
hubertf |
branches: 1.11.8; 1.11.14; RCS ID police
|
Revision tags: kenh-if-detach-base chs-ubc-base
|
#
1.10 |
|
18-Sep-1998 |
sakamoto |
powerpc/bcopy.c is unnecessary.
|
#
1.9 |
|
13-Sep-1998 |
thorpej |
Make signal delivery work again.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
28-May-1998 |
sakamoto |
Rename NetBSD/powerpc to NetBSD/ofppc. New sys/arch/powerpc with PowerPC-generic stuff.
|
#
1.7 |
|
24-Feb-1998 |
mycroft |
Catch up with changes in dev/ofw. Add mainbus.
|
#
1.6 |
|
23-Feb-1998 |
mycroft |
Slight rearrangement.
|
#
1.5 |
|
27-Jan-1998 |
sakamoto |
Import DDB from OpenBSD/powerpc.
|
#
1.4 |
|
05-Jan-1998 |
perry |
RCSID Police.
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base thorpej-signal-base marc-pcmcia-bp marc-pcmcia-base
|
#
1.3 |
|
16-Apr-1997 |
thorpej |
- Pull in new ofwmagic.S and soft_spl.c files - firepowerbugs -> firmworksbugs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.2 |
|
16-Oct-1996 |
ws |
Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB
|
#
1.1 |
|
30-Sep-1996 |
ws |
PowerPC port
|
#
1.93 |
|
20-Feb-2020 |
rin |
Add PPC_IBM440 flag as 440 is significantly different from 40x processors. (It may be more easily supported by booke than by ibm4xx.)
|
Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 isaki-audio2-base
|
#
1.92 |
|
06-Apr-2019 |
thorpej |
Overhaul the API used to fetch and store individual memory cells in userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(), subyte(), suword(), etc.) are retired and replaced with new ufetch(9) and ustore(9) APIs that can return proper error codes, etc. and are implemented consistently across all platforms. The interrupt-safe variants are no longer supported (and several of the existing attempts at fuswintr(), etc. were buggy and not actually interrupt-safe).
Also augmement the ucas(9) API, making it consistently available on all plaforms, supporting uniprocessor and multiprocessor systems, even those that do not have CAS or LL/SC primitives.
Welcome to NetBSD 8.99.37.
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
|
#
1.91 |
|
15-Jul-2018 |
maxv |
Retire ipkdb entirely. The option was removed from the config files yesterday.
ok kamil christos
|
Revision tags: phil-wifi-base pgoyette-compat-0625
|
#
1.90 |
|
01-Jun-2018 |
macallan |
branches: 1.90.2; add clock speed control for 970MP CPUs
|
Revision tags: netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.89 |
|
04-Mar-2014 |
matt |
branches: 1.89.28; compat16 -> compat_16
|
#
1.88 |
|
28-Feb-2014 |
matt |
sigcode is dependant on compat_16
|
#
1.87 |
|
17-Nov-2013 |
alnsn |
Enable sljit and bpfjit on powerpc.
|
#
1.86 |
|
19-Sep-2013 |
christos |
remove unused OPENPIC flags.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.85 |
|
20-Oct-2012 |
kiyohara |
branches: 1.85.2; Support Cache Protocol 'MEI' with MULTIPROCESSOR.
|
#
1.84 |
|
02-Oct-2012 |
christos |
move common tlb stuff to uvm
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8
|
#
1.83 |
|
29-Mar-2012 |
matt |
branches: 1.83.2; Add PMAP_MINIMALTLB defflag
|
Revision tags: jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.82 |
|
29-Jun-2011 |
matt |
branches: 1.82.2; 1.82.6; 1.82.8; Add VERBOSE_INITPPC flag
|
#
1.81 |
|
18-Jun-2011 |
matt |
Unconditionally build fixup.c
|
#
1.80 |
|
15-Jun-2011 |
matt |
Move the interrupt stub from booke_stubs.c into its own intr_stubs.c. Move the "null" intrsw (used in startup) to intr_stubs.c as well.
|
#
1.79 |
|
14-Jun-2011 |
matt |
Take the fast softint support in e500_intr.c and make generic so that it can be used to provide fast softint for other interrupt implementations.
|
#
1.78 |
|
12-Jun-2011 |
rmind |
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.
|
Revision tags: rmind-uvmplock-nbase rmind-uvmplock-base
|
#
1.77 |
|
05-Jun-2011 |
matt |
Remove <machine/atomic.h>; use <sys/atomic.h> instead. Add <powerpc/cpuset.h> (for mpc85xx pmap). Add some initial MP code for mpc85xx Rework ipi code to be common across all ppcs Change PPC to keep curlwp in %r13 while in the kernel. Move astpending from cpu_info to mdlwp Improve cpu_need_resched to be more MP friendly.
|
Revision tags: cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.76 |
|
02-May-2011 |
matt |
branches: 1.76.2; Move powerpc to use pcu to manage FPU/AltiVec/SPE.
|
#
1.75 |
|
26-Apr-2011 |
joerg |
Remove Darwin, MACH and Mach-O support.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base
|
#
1.74 |
|
12-Feb-2011 |
matt |
When an OEA kernel is configured for multiple MMU types, use the new powerpc fixup mechanism to bind the kernel to a particular MMU. This avoids an indirect call for every pmap call.
|
#
1.73 |
|
18-Jan-2011 |
matt |
branches: 1.73.2; Add support for BookE Freescale MPC85xx (e500 core) processors. Add fast softint support for PowerPC (though only booke uses it). Redo FPU/VEC support and add e500 SPE support. Rework trap/intrs to use a common trapframe format. Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9
|
#
1.72 |
|
09-Mar-2010 |
matt |
branches: 1.72.2; 1.72.4; Add PPC_BOOKE cputype and booke files.
|
Revision tags: uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 haad-dm-base2 haad-nbase2 nick-hppapmap-base haad-dm-base mjf-devfs2-base
|
#
1.71 |
|
11-Dec-2008 |
pooka |
branches: 1.71.4; Since oea pmap.c is #included many times, put kernel_pmap_ptr into its own source module to avoid multiple initialized data definitions.
|
Revision tags: ad-audiomp2-base
|
#
1.70 |
|
19-Nov-2008 |
ad |
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
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.69 |
|
05-Feb-2008 |
garbled |
branches: 1.69.6; 1.69.10; 1.69.16; 1.69.18; 1.69.28; Ifdef out all the MPC601 code with PPC_OEA601. Now only arches that have the possibility of running on an MPC601, are infected with all the extra code and nops that it added.
Also, fix compilation that I broke with the pmap code, by adding oeacpufeat to the locores of various ppc arches. Noted by mlelstv.
|
#
1.68 |
|
05-Feb-2008 |
garbled |
Rewrite a big chunk of the pmap and locore code for powerpc to better deal with the 64bit bridge mode. pmap changes by Matt Thomas, rest by myself.
Change pmap.c to work similar to exec_elf.c to allow us to compile in multiple pmaps to a single kernel. This allows the pmap for bridge64 to co-exist with the 32bit pmap.
Yank __HAVE_PMAP_PHYSSEG from all the oea code.
Add a new global, "oeacpufeat", which is used early in locore to determine certain cpu features. This allows us to conditionalize code early in the boot for certain CPUs that have special needs.
Yank most of the ifdef PPC_OEA_BRIDGE64 code from almost every file it was found in. Some of it seemed incorrect, and my 7044 booted just fine without it. It would appear that the bridge cpus treat BAT instructions as nops, so they seem to be safe.
In ofppc, check the oeacpufeat, and if we are on a 64bit proc, clear MSR[SF], and ASR[V].
With all of these changes, a kernel with both PPC_OEA and PPC_OEA_BRIDGE64 will boot on the POWERIII-2 cpu. However, it will not yet boot on a 32bit cpu, because of CACHELINESIZE. Work remains to be done there to fix that.
|
#
1.67 |
|
25-Jan-2008 |
joerg |
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.
|
Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-base
|
#
1.66 |
|
07-Jan-2008 |
ad |
Build kobj_machdep.c if MODULAR.
|
Revision tags: vmlocking2-base3 yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.65 |
|
17-Oct-2007 |
garbled |
branches: 1.65.2; 1.65.8; 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.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
|
#
1.64 |
|
07-Jul-2007 |
tsutsui |
branches: 1.64.8; 1.64.10; 1.64.12; 1.64.14; Remove leftover netns stuff.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base ad-audiomp-base post-newlock2-merge
|
#
1.63 |
|
09-Feb-2007 |
ad |
branches: 1.63.6; 1.63.8; 1.63.14; Merge newlock2 to head.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base rpaulo-netinet-merge-pcb-base
|
#
1.62 |
|
05-Aug-2006 |
sanjayl |
branches: 1.62.4; 1st cut of Powermac G5 support (uses bridge mode).
|
Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base
|
#
1.61 |
|
11-Dec-2005 |
christos |
branches: 1.61.4; 1.61.8; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
|
#
1.60 |
|
02-Jun-2005 |
he |
branches: 1.60.2; Remove the hack to compile oea/pmap.c with -Wno-cast-qual, and instead make use of the new __UNVOLATILE() macro in memset() usage.
|
#
1.59 |
|
02-Jun-2005 |
he |
Put a band-aid over the cast qualification warnings for oea/pmap.c. It cannot be compiled with -Wno-cast-qual due to a volatile pointer being passed to memset(), and there's no easy way other than open- coding memset() to fix this. So instead we cheat for now and add -Wno-cast-qual to CFLAGS for this file. To be documented in doc/HACKS.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
|
#
1.58 |
|
03-Jul-2004 |
manu |
Move all the MD bits of commpage to a new file. Map the comm page as RW in kernel (we want to modify it but not to execute it), and RX in userland (no need to modify it but we want to execute it
|
#
1.57 |
|
18-Apr-2004 |
matt |
Add entry for netns/ns_cksum.c
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.56 |
|
17-Mar-2004 |
aymeric |
defparam PMAP_MEMLIMIT
|
#
1.55 |
|
19-Nov-2003 |
scw |
Include arch/powerpc/ibm4xx/intr.c only if a particular board actually uses the generic 4xx interrupt implementation. There are some 4xx boards with entirely different interrupt controllers.
|
#
1.54 |
|
25-Sep-2003 |
matt |
Add siginfo support for PowerPC.
|
#
1.53 |
|
12-Aug-2003 |
matt |
Remove SPILLSTK leftovers.
|
#
1.52 |
|
11-Aug-2003 |
matt |
Add PTEGCOUNT defparam for opt_pmap.h
|
#
1.51 |
|
03-Aug-2003 |
matt |
Add PPC_OEA64 and netbsd32_sigcode.S
|
#
1.50 |
|
18-Jul-2003 |
matt |
Elimindate MD setrunqueue/remrunqueue (which were out-of-date compared to the canonical versions in kern_synch.c). Define __HAVE_BIGENDIAN_BITOPS so the canonical versions will be used but will store priorities in the desired (MSB) order for PowerPC (which allows the use of the cntlzw (count leading zeroes, word) instruction in locore_subr.S to find the proper priority).
|
#
1.49 |
|
08-May-2003 |
christos |
branches: 1.49.2; rename Locore.c -> locore_c.c so that we can compile on case insensitive filesystems. (from John Gordon)
|
#
1.48 |
|
17-Mar-2003 |
matt |
Add CLOCKBASE to opt_ppcparam.h.
|
#
1.47 |
|
11-Mar-2003 |
hannken |
Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
- different set of device control registers. - non-standard access to the time base. - 16 byte cache lines.
Approved by: Eduardo Horvath <eeh@netbsd.org>
|
#
1.46 |
|
26-Feb-2003 |
jklos |
Added L3CR_CONFIG to the parameter list for 745x L3 cache configuration.
|
#
1.45 |
|
03-Feb-2003 |
matt |
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
|
#
1.44 |
|
02-Feb-2003 |
matt |
Remove OLDPMAP support.
|
#
1.43 |
|
02-Feb-2003 |
matt |
Perform a rototill of the powerpc code. Mandate use of SPRG0 to store a pointer to current cpu's cpu_info structure. Use cpu_info for intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK to std.<platform>. Change faultbuf to a struct instead of an array.
On MPC6XX cpus, stop using the vector page for temporary space and use reserved space in cpu_info.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.42 |
|
25-Nov-2002 |
manu |
Added an empty shell for signal delivery. Now we just have to fill the machine dependant bits.
|
#
1.41 |
|
17-Nov-2002 |
manu |
As we use one FreeBSD file for COMPAT_DARWIN, we must include file.freebsd
|
#
1.40 |
|
12-Nov-2002 |
manu |
The kernel now builds with COMPAT_DARWIN.
|
#
1.39 |
|
03-Nov-2002 |
manu |
Added support for Darwin's PowerPC-only system calls: ppccalls, with system call numbers starting at 0x6000 fasttraps, with system call numbers starting at 0x7FF0
Because the Mach system call dispatching code has grown a bit too much, introduce an inline function to handle it (mach_syscall_dispatch).
While we are there, remove the Mach and Linux includes from arch/powerpc/powerpc/syscall.c and push them into arch/powerpc/powerpc/{mach|linux}_syscall.c
|
#
1.38 |
|
30-Oct-2002 |
manu |
Add COMPAT_MACH and EXEC_MACHO support on the PowerPC
|
#
1.37 |
|
30-Oct-2002 |
manu |
Prepare syscall.c for COMPAT_MACH support. linux_syscall_intern is moved to a Linux specific file, child_return is moved to trap.c, and we introduce a EMULNAME macro co that syscall.c can be included to define the system call handler for another emulation.
|
#
1.36 |
|
30-Oct-2002 |
manu |
Moved binary compatibility options from arch directory to cpu directory
|
Revision tags: kqueue-aftermerge kqueue-beforemerge gehenna-devsw-base kqueue-base
|
#
1.35 |
|
18-Aug-2002 |
matt |
defflag PMAPDEBUG, PMAPCHECK, and PMAPCOUNTERS into opt_pmap.h
|
#
1.34 |
|
24-Jul-2002 |
chs |
reimplement copy{in,out}str() similarly to copy{in,out}() (instead of the old way of calling [fs]ubyte() in a loop).
|
#
1.33 |
|
17-Jul-2002 |
matt |
Add a common file to do pmap_zero_page/pmap_copy_page/pmap_pageidlezero and pmap_syncicache. This file uses a ppc feature in a sick and twisted way to avoid mapping the physical pages used by those routines. It performs the operations with the MMU disabled but PPC exception save and retstore the machine state and are invoked with the MMU disabled, this doesn't have an adverse effect on the system.
Currently only enable for MPC6xx and !OLDPMAP.
|
#
1.32 |
|
05-Jul-2002 |
matt |
Peform a rototill over the powerpc-based ports.
Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT initialization code.
Add user Altivec support.
Fix calls to OF_call_method in macppc/macppc/machdep.c.
Use ci_fpuproc in cpu_info instead of separate fpuproc.
Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base
|
#
1.31 |
|
14-Mar-2002 |
eeh |
branches: 1.31.4; Some files have been moved into powerpc/ibm4xx.
|
Revision tags: newlock-base
|
#
1.30 |
|
09-Mar-2002 |
chs |
switch all mpc6xx powerpc ports to NEWPMAP by default. the old pmap is still available with the OLDPMAP option.
|
Revision tags: ifpoll-base
|
#
1.29 |
|
06-Jan-2002 |
dbj |
add support for kgdb over zs
|
#
1.28 |
|
07-Dec-2001 |
bjh21 |
Change L2CR_CONFIG from defflag to defparam, since it takes an argument.
|
#
1.27 |
|
28-Nov-2001 |
lukem |
- convert usage of "defopt" to "defflag" where the relevant option does not support a value (e.g., it's to be used as "options FOO" instead of "options FOO=xxx"). options that take a value were converted to defparam recently. - minor whitespace & formatting cleanups
|
#
1.26 |
|
20-Nov-2001 |
lukem |
- replace "defopt" with "defparam" for options which must take a value, as config(8) will warn for value-less defparam options - minor whitespace/formatting cleanup - consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
|
#
1.25 |
|
20-Nov-2001 |
lukem |
cleanup: options SPACE TAB makeoptions TAB psuedo-device TAB remove trailing whitespace replace multiple spaces -> tabs options "FOO" -> options FOO options "FOO=bar" -> options FOO=bar options "FOO=\"bar\"" -> options FOO="\"bar\""
|
Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.24 |
|
30-Aug-2001 |
briggs |
branches: 1.24.6; Create an opt_openpic.h and add both OPENPIC and OPENPIC_SERIAL_MODE to it.
|
#
1.23 |
|
26-Aug-2001 |
matt |
Make all powerpc ports use a common Makefile.powerpc (except walnut) Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports. Split out macppc cpu support and make common to mpc6xx ports. Make other mpc6xx ports use it. Add evcnts for mpc6xx traps.
|
#
1.22 |
|
20-Jun-2001 |
briggs |
branches: 1.22.2; Build for kgdb as well as for ddb (mutually exclusive).
|
#
1.21 |
|
17-Jun-2001 |
tsubai |
Forgot to commit this -- move file .../bus_dma.c line to files.${machine}.
|
#
1.20 |
|
13-Jun-2001 |
simonb |
Add a port to IBM's PPC405GP Reference Board (the "walnut") by Eduardo Horvath and Simon Burge of Wasabi Systems.
IBM 4xx series CPU features: - New pmap and revised trap handler. - Support on-chip timers, PCI controller, UARTs - Framework for on-chip ethernet and watchdog timer. General PowerPC features: - Add in-kernel PPC floating point emulation - New in{,4}_cksum that is between 1.5 and 5 times faster than the old version depending on CPU type. General changes: - Kernel support for generic dbsym-style symbols.
|
#
1.19 |
|
10-Jun-2001 |
tsubai |
Make the new pmap optional. Use the old (stable!) pmap by default.
|
#
1.18 |
|
06-Jun-2001 |
matt |
Introduce a new & faster pmap for the MPC6xx (60x, 7xx, 7xxx) PPC CPUs. Move MPC6xx dependent header files to powerpc/include/mpc6xx/
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.17 |
|
24-Feb-2001 |
matt |
branches: 1.17.2; Add powerpc/powerpc/powerpc_machdep.c
|
#
1.16 |
|
04-Feb-2001 |
briggs |
defopt openpic
|
#
1.15 |
|
02-Feb-2001 |
briggs |
Split OpenPIC support into powerpc so ports only need minimal custom configuration. openpic_init() now takes a single argument that is the base of the OpenPIC register space.
|
#
1.14 |
|
25-Nov-2000 |
matt |
Add placeholder for AltiVec support file.
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.13 |
|
14-Feb-2000 |
thorpej |
Allow arch-specific code to specify in4_cksum() like it can specify in_cksum().
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
|
#
1.12 |
|
17-Nov-1999 |
kleink |
Move signal management code common to all PowerPC platforms (sendsig(), sigreturn(), sigcode) to a single place in the shared powerpc directory. (The struct sigcontext etc. definitions were already being shared.)
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 comdex-fall-1999-base fvdl-softdep-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.11 |
|
15-Feb-1999 |
hubertf |
branches: 1.11.8; 1.11.14; RCS ID police
|
Revision tags: kenh-if-detach-base chs-ubc-base
|
#
1.10 |
|
18-Sep-1998 |
sakamoto |
powerpc/bcopy.c is unnecessary.
|
#
1.9 |
|
13-Sep-1998 |
thorpej |
Make signal delivery work again.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
28-May-1998 |
sakamoto |
Rename NetBSD/powerpc to NetBSD/ofppc. New sys/arch/powerpc with PowerPC-generic stuff.
|
#
1.7 |
|
24-Feb-1998 |
mycroft |
Catch up with changes in dev/ofw. Add mainbus.
|
#
1.6 |
|
23-Feb-1998 |
mycroft |
Slight rearrangement.
|
#
1.5 |
|
27-Jan-1998 |
sakamoto |
Import DDB from OpenBSD/powerpc.
|
#
1.4 |
|
05-Jan-1998 |
perry |
RCSID Police.
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base thorpej-signal-base marc-pcmcia-bp marc-pcmcia-base
|
#
1.3 |
|
16-Apr-1997 |
thorpej |
- Pull in new ofwmagic.S and soft_spl.c files - firepowerbugs -> firmworksbugs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.2 |
|
16-Oct-1996 |
ws |
Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB
|
#
1.1 |
|
30-Sep-1996 |
ws |
PowerPC port
|
Revision tags: isaki-audio2-base
|
#
1.92 |
|
06-Apr-2019 |
thorpej |
Overhaul the API used to fetch and store individual memory cells in userspace. The old fetch(9) and store(9) APIs (fubyte(), fuword(), subyte(), suword(), etc.) are retired and replaced with new ufetch(9) and ustore(9) APIs that can return proper error codes, etc. and are implemented consistently across all platforms. The interrupt-safe variants are no longer supported (and several of the existing attempts at fuswintr(), etc. were buggy and not actually interrupt-safe).
Also augmement the ucas(9) API, making it consistently available on all plaforms, supporting uniprocessor and multiprocessor systems, even those that do not have CAS or LL/SC primitives.
Welcome to NetBSD 8.99.37.
|
Revision tags: pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728
|
#
1.91 |
|
15-Jul-2018 |
maxv |
Retire ipkdb entirely. The option was removed from the config files yesterday.
ok kamil christos
|
Revision tags: phil-wifi-base pgoyette-compat-0625
|
#
1.90 |
|
01-Jun-2018 |
macallan |
add clock speed control for 970MP CPUs
|
Revision tags: netbsd-7-2-RELEASE netbsd-8-0-RELEASE netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 nick-nhusb-base-20170204 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 nick-nhusb-base-20161204 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE nick-nhusb-base-20161004 localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907 nick-nhusb-base-20160529 netbsd-7-0-1-RELEASE nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 netbsd-7-0-RELEASE nick-nhusb-base-20150921 netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150606 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.89 |
|
04-Mar-2014 |
matt |
branches: 1.89.28; compat16 -> compat_16
|
#
1.88 |
|
28-Feb-2014 |
matt |
sigcode is dependant on compat_16
|
#
1.87 |
|
17-Nov-2013 |
alnsn |
Enable sljit and bpfjit on powerpc.
|
#
1.86 |
|
19-Sep-2013 |
christos |
remove unused OPENPIC flags.
|
Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.85 |
|
20-Oct-2012 |
kiyohara |
branches: 1.85.2; Support Cache Protocol 'MEI' with MULTIPROCESSOR.
|
#
1.84 |
|
02-Oct-2012 |
christos |
move common tlb stuff to uvm
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8
|
#
1.83 |
|
29-Mar-2012 |
matt |
branches: 1.83.2; Add PMAP_MINIMALTLB defflag
|
Revision tags: jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-pre-base2 jmcneill-usbmp-base2 netbsd-6-base jmcneill-usbmp-base jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.82 |
|
29-Jun-2011 |
matt |
branches: 1.82.2; 1.82.6; 1.82.8; Add VERBOSE_INITPPC flag
|
#
1.81 |
|
18-Jun-2011 |
matt |
Unconditionally build fixup.c
|
#
1.80 |
|
15-Jun-2011 |
matt |
Move the interrupt stub from booke_stubs.c into its own intr_stubs.c. Move the "null" intrsw (used in startup) to intr_stubs.c as well.
|
#
1.79 |
|
14-Jun-2011 |
matt |
Take the fast softint support in e500_intr.c and make generic so that it can be used to provide fast softint for other interrupt implementations.
|
#
1.78 |
|
12-Jun-2011 |
rmind |
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.
|
Revision tags: rmind-uvmplock-nbase rmind-uvmplock-base
|
#
1.77 |
|
05-Jun-2011 |
matt |
Remove <machine/atomic.h>; use <sys/atomic.h> instead. Add <powerpc/cpuset.h> (for mpc85xx pmap). Add some initial MP code for mpc85xx Rework ipi code to be common across all ppcs Change PPC to keep curlwp in %r13 while in the kernel. Move astpending from cpu_info to mdlwp Improve cpu_need_resched to be more MP friendly.
|
Revision tags: cherry-xenmp-base jym-xensuspend-nbase jym-xensuspend-base
|
#
1.76 |
|
02-May-2011 |
matt |
branches: 1.76.2; Move powerpc to use pcu to manage FPU/AltiVec/SPE.
|
#
1.75 |
|
26-Apr-2011 |
joerg |
Remove Darwin, MACH and Mach-O support.
|
Revision tags: uebayasi-xip-base7 bouyer-quota2-nbase bouyer-quota2-base
|
#
1.74 |
|
12-Feb-2011 |
matt |
When an OEA kernel is configured for multiple MMU types, use the new powerpc fixup mechanism to bind the kernel to a particular MMU. This avoids an indirect call for every pmap call.
|
#
1.73 |
|
18-Jan-2011 |
matt |
branches: 1.73.2; Add support for BookE Freescale MPC85xx (e500 core) processors. Add fast softint support for PowerPC (though only booke uses it). Redo FPU/VEC support and add e500 SPE support. Rework trap/intrs to use a common trapframe format. Support SOFTFLOAT (no hardfloat or fpu emulation) for BookE.
|
Revision tags: jruoho-x86intr-base matt-mips64-premerge-20101231 uebayasi-xip-base6 uebayasi-xip-base5 uebayasi-xip-base4 uebayasi-xip-base3 yamt-nfs-mp-base11 uebayasi-xip-base2 yamt-nfs-mp-base10 uebayasi-xip-base1 yamt-nfs-mp-base9
|
#
1.72 |
|
09-Mar-2010 |
matt |
branches: 1.72.2; 1.72.4; Add PPC_BOOKE cputype and booke files.
|
Revision tags: uebayasi-xip-base matt-premerge-20091211 yamt-nfs-mp-base8 yamt-nfs-mp-base7 jymxensuspend-base yamt-nfs-mp-base6 yamt-nfs-mp-base5 yamt-nfs-mp-base4 yamt-nfs-mp-base3 nick-hppapmap-base4 nick-hppapmap-base3 nick-hppapmap-base2 haad-dm-base2 haad-nbase2 nick-hppapmap-base haad-dm-base mjf-devfs2-base
|
#
1.71 |
|
11-Dec-2008 |
pooka |
branches: 1.71.4; Since oea pmap.c is #included many times, put kernel_pmap_ptr into its own source module to avoid multiple initialized data definitions.
|
Revision tags: ad-audiomp2-base
|
#
1.70 |
|
19-Nov-2008 |
ad |
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
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 haad-dm-base1 wrstuden-revivesa-base-4 wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 simonb-wapbl-nbase yamt-pf42-base4 simonb-wapbl-base yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 yamt-nfs-mp-base2 wrstuden-revivesa-base yamt-nfs-mp-base yamt-pf42-base ad-socklock-base1 yamt-lazymbuf-base15 yamt-lazymbuf-base14 keiichi-mipv6-nbase nick-net80211-sync-base keiichi-mipv6-base matt-armv6-nbase mjf-devfs-base hpcarm-cleanup-base
|
#
1.69 |
|
05-Feb-2008 |
garbled |
branches: 1.69.6; 1.69.10; 1.69.16; 1.69.18; 1.69.28; Ifdef out all the MPC601 code with PPC_OEA601. Now only arches that have the possibility of running on an MPC601, are infected with all the extra code and nops that it added.
Also, fix compilation that I broke with the pmap code, by adding oeacpufeat to the locores of various ppc arches. Noted by mlelstv.
|
#
1.68 |
|
05-Feb-2008 |
garbled |
Rewrite a big chunk of the pmap and locore code for powerpc to better deal with the 64bit bridge mode. pmap changes by Matt Thomas, rest by myself.
Change pmap.c to work similar to exec_elf.c to allow us to compile in multiple pmaps to a single kernel. This allows the pmap for bridge64 to co-exist with the 32bit pmap.
Yank __HAVE_PMAP_PHYSSEG from all the oea code.
Add a new global, "oeacpufeat", which is used early in locore to determine certain cpu features. This allows us to conditionalize code early in the boot for certain CPUs that have special needs.
Yank most of the ifdef PPC_OEA_BRIDGE64 code from almost every file it was found in. Some of it seemed incorrect, and my 7044 booted just fine without it. It would appear that the bridge cpus treat BAT instructions as nops, so they seem to be safe.
In ofppc, check the oeacpufeat, and if we are on a 64bit proc, clear MSR[SF], and ASR[V].
With all of these changes, a kernel with both PPC_OEA and PPC_OEA_BRIDGE64 will boot on the POWERIII-2 cpu. However, it will not yet boot on a 32bit cpu, because of CACHELINESIZE. Work remains to be done there to fix that.
|
#
1.67 |
|
25-Jan-2008 |
joerg |
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.
|
Revision tags: bouyer-xeni386-nbase bouyer-xeni386-base matt-armv6-base
|
#
1.66 |
|
07-Jan-2008 |
ad |
Build kobj_machdep.c if MODULAR.
|
Revision tags: vmlocking2-base3 yamt-kmem-base3 cube-autoconf-base yamt-kmem-base2 yamt-kmem-base vmlocking2-base2 reinoud-bufcleanup-nbase vmlocking2-base1 jmcneill-base bouyer-xenamd64-base2 vmlocking-nbase yamt-x86pmap-base4 bouyer-xenamd64-base jmcneill-pm-base reinoud-bufcleanup-base
|
#
1.65 |
|
17-Oct-2007 |
garbled |
branches: 1.65.2; 1.65.8; 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.
|
Revision tags: nick-csl-alignment-base5 yamt-x86pmap-base3 yamt-x86pmap-base2 yamt-x86pmap-base nick-csl-alignment-base matt-mips64-base ppcoea-renovation-base mjf-ufs-trans-base vmlocking-base
|
#
1.64 |
|
07-Jul-2007 |
tsutsui |
branches: 1.64.8; 1.64.10; 1.64.12; 1.64.14; Remove leftover netns stuff.
|
Revision tags: yamt-idlelwp-base8 thorpej-atomic-base ad-audiomp-base post-newlock2-merge
|
#
1.63 |
|
09-Feb-2007 |
ad |
branches: 1.63.6; 1.63.8; 1.63.14; Merge newlock2 to head.
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 matt-nb4-arm-base netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base newlock2-nbase yamt-splraiseipl-base5 yamt-splraiseipl-base4 yamt-splraiseipl-base3 abandoned-netbsd-4-base yamt-splraiseipl-base2 yamt-splraiseipl-base yamt-pdpolicy-base9 newlock2-base yamt-pdpolicy-base8 yamt-pdpolicy-base7 netbsd-4-base rpaulo-netinet-merge-pcb-base
|
#
1.62 |
|
05-Aug-2006 |
sanjayl |
branches: 1.62.4; 1st cut of Powermac G5 support (uses bridge mode).
|
Revision tags: yamt-pdpolicy-base6 chap-midi-nbase gdamore-uart-base simonb-timcounters-final yamt-pdpolicy-base5 chap-midi-base yamt-pdpolicy-base4 yamt-pdpolicy-base3 peter-altq-base yamt-pdpolicy-base2 elad-kernelauth-base yamt-pdpolicy-base yamt-uio_vmspace-base5 simonb-timecounters-base
|
#
1.61 |
|
11-Dec-2005 |
christos |
branches: 1.61.4; 1.61.8; merge ktrace-lwp.
|
Revision tags: yamt-readahead-base3 yamt-readahead-base2 yamt-readahead-pervnode yamt-readahead-perfile yamt-readahead-base yamt-vop-base3 yamt-vop-base2 thorpej-vnode-attr-base yamt-vop-base ktrace-lwp-base
|
#
1.60 |
|
02-Jun-2005 |
he |
branches: 1.60.2; Remove the hack to compile oea/pmap.c with -Wno-cast-qual, and instead make use of the new __UNVOLATILE() macro in memset() usage.
|
#
1.59 |
|
02-Jun-2005 |
he |
Put a band-aid over the cast qualification warnings for oea/pmap.c. It cannot be compiled with -Wno-cast-qual due to a volatile pointer being passed to memset(), and there's no easy way other than open- coding memset() to fix this. So instead we cheat for now and add -Wno-cast-qual to CFLAGS for this file. To be documented in doc/HACKS.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE netbsd-3-0-RELEASE netbsd-3-0-RC6 netbsd-3-0-RC5 netbsd-3-0-RC4 netbsd-3-0-RC3 netbsd-3-0-RC2 netbsd-3-0-RC1 yamt-km-base4 yamt-km-base3 netbsd-3-base yamt-km-base2 yamt-km-base kent-audio2-base kent-audio1-beforemerge kent-audio1-base
|
#
1.58 |
|
03-Jul-2004 |
manu |
Move all the MD bits of commpage to a new file. Map the comm page as RW in kernel (we want to modify it but not to execute it), and RX in userland (no need to modify it but we want to execute it
|
#
1.57 |
|
18-Apr-2004 |
matt |
Add entry for netns/ns_cksum.c
|
Revision tags: netbsd-2-0-3-RELEASE netbsd-2-1-RELEASE netbsd-2-1-RC6 netbsd-2-1-RC5 netbsd-2-1-RC4 netbsd-2-1-RC3 netbsd-2-1-RC2 netbsd-2-1-RC1 netbsd-2-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-base netbsd-2-0-RELEASE netbsd-2-0-RC5 netbsd-2-0-RC4 netbsd-2-0-RC3 netbsd-2-0-RC2 netbsd-2-0-RC1 netbsd-2-0-base
|
#
1.56 |
|
17-Mar-2004 |
aymeric |
defparam PMAP_MEMLIMIT
|
#
1.55 |
|
19-Nov-2003 |
scw |
Include arch/powerpc/ibm4xx/intr.c only if a particular board actually uses the generic 4xx interrupt implementation. There are some 4xx boards with entirely different interrupt controllers.
|
#
1.54 |
|
25-Sep-2003 |
matt |
Add siginfo support for PowerPC.
|
#
1.53 |
|
12-Aug-2003 |
matt |
Remove SPILLSTK leftovers.
|
#
1.52 |
|
11-Aug-2003 |
matt |
Add PTEGCOUNT defparam for opt_pmap.h
|
#
1.51 |
|
03-Aug-2003 |
matt |
Add PPC_OEA64 and netbsd32_sigcode.S
|
#
1.50 |
|
18-Jul-2003 |
matt |
Elimindate MD setrunqueue/remrunqueue (which were out-of-date compared to the canonical versions in kern_synch.c). Define __HAVE_BIGENDIAN_BITOPS so the canonical versions will be used but will store priorities in the desired (MSB) order for PowerPC (which allows the use of the cntlzw (count leading zeroes, word) instruction in locore_subr.S to find the proper priority).
|
#
1.49 |
|
08-May-2003 |
christos |
branches: 1.49.2; rename Locore.c -> locore_c.c so that we can compile on case insensitive filesystems. (from John Gordon)
|
#
1.48 |
|
17-Mar-2003 |
matt |
Add CLOCKBASE to opt_ppcparam.h.
|
#
1.47 |
|
11-Mar-2003 |
hannken |
Add support for the IBM 403GCX cpu. Enabled with "options PPC_IBM403".
- different set of device control registers. - non-standard access to the time base. - 16 byte cache lines.
Approved by: Eduardo Horvath <eeh@netbsd.org>
|
#
1.46 |
|
26-Feb-2003 |
jklos |
Added L3CR_CONFIG to the parameter list for 745x L3 cache configuration.
|
#
1.45 |
|
03-Feb-2003 |
matt |
Rename PPC_MPC6XX to PPC_OEA (and any mpc6xx reference to oea).
|
#
1.44 |
|
02-Feb-2003 |
matt |
Remove OLDPMAP support.
|
#
1.43 |
|
02-Feb-2003 |
matt |
Perform a rototill of the powerpc code. Mandate use of SPRG0 to store a pointer to current cpu's cpu_info structure. Use cpu_info for intstk,intr_depth,still_stk,idle_pcb,curpcb,curlwp,etal even on non-MULTIPROCESSOR machines. Add common macros GET_CPUINFO and INIT_CPUINFO to get and initialize the cpu_info struct on startup. Make ibm4xx use the standard <powerpc/frame.h>. Use IFRAME_xx in ibm4xx trap_subr.S instead of explicit magic offsets. Move INTSTK and SPILLSTK to std.<platform>. Change faultbuf to a struct instead of an array.
On MPC6XX cpus, stop using the vector page for temporary space and use reserved space in cpu_info.
|
Revision tags: nathanw_sa_before_merge fvdl_fs64_base gmcgarry_ctxsw_base gmcgarry_ucred_base nathanw_sa_base
|
#
1.42 |
|
25-Nov-2002 |
manu |
Added an empty shell for signal delivery. Now we just have to fill the machine dependant bits.
|
#
1.41 |
|
17-Nov-2002 |
manu |
As we use one FreeBSD file for COMPAT_DARWIN, we must include file.freebsd
|
#
1.40 |
|
12-Nov-2002 |
manu |
The kernel now builds with COMPAT_DARWIN.
|
#
1.39 |
|
03-Nov-2002 |
manu |
Added support for Darwin's PowerPC-only system calls: ppccalls, with system call numbers starting at 0x6000 fasttraps, with system call numbers starting at 0x7FF0
Because the Mach system call dispatching code has grown a bit too much, introduce an inline function to handle it (mach_syscall_dispatch).
While we are there, remove the Mach and Linux includes from arch/powerpc/powerpc/syscall.c and push them into arch/powerpc/powerpc/{mach|linux}_syscall.c
|
#
1.38 |
|
30-Oct-2002 |
manu |
Add COMPAT_MACH and EXEC_MACHO support on the PowerPC
|
#
1.37 |
|
30-Oct-2002 |
manu |
Prepare syscall.c for COMPAT_MACH support. linux_syscall_intern is moved to a Linux specific file, child_return is moved to trap.c, and we introduce a EMULNAME macro co that syscall.c can be included to define the system call handler for another emulation.
|
#
1.36 |
|
30-Oct-2002 |
manu |
Moved binary compatibility options from arch directory to cpu directory
|
Revision tags: kqueue-aftermerge kqueue-beforemerge gehenna-devsw-base kqueue-base
|
#
1.35 |
|
18-Aug-2002 |
matt |
defflag PMAPDEBUG, PMAPCHECK, and PMAPCOUNTERS into opt_pmap.h
|
#
1.34 |
|
24-Jul-2002 |
chs |
reimplement copy{in,out}str() similarly to copy{in,out}() (instead of the old way of calling [fs]ubyte() in a loop).
|
#
1.33 |
|
17-Jul-2002 |
matt |
Add a common file to do pmap_zero_page/pmap_copy_page/pmap_pageidlezero and pmap_syncicache. This file uses a ppc feature in a sick and twisted way to avoid mapping the physical pages used by those routines. It performs the operations with the MMU disabled but PPC exception save and retstore the machine state and are invoked with the MMU disabled, this doesn't have an adverse effect on the system.
Currently only enable for MPC6xx and !OLDPMAP.
|
#
1.32 |
|
05-Jul-2002 |
matt |
Peform a rototill over the powerpc-based ports.
Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT initialization code.
Add user Altivec support.
Fix calls to OF_call_method in macppc/macppc/machdep.c.
Use ci_fpuproc in cpu_info instead of separate fpuproc.
Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base eeh-devprop-base
|
#
1.31 |
|
14-Mar-2002 |
eeh |
branches: 1.31.4; Some files have been moved into powerpc/ibm4xx.
|
Revision tags: newlock-base
|
#
1.30 |
|
09-Mar-2002 |
chs |
switch all mpc6xx powerpc ports to NEWPMAP by default. the old pmap is still available with the OLDPMAP option.
|
Revision tags: ifpoll-base
|
#
1.29 |
|
06-Jan-2002 |
dbj |
add support for kgdb over zs
|
#
1.28 |
|
07-Dec-2001 |
bjh21 |
Change L2CR_CONFIG from defflag to defparam, since it takes an argument.
|
#
1.27 |
|
28-Nov-2001 |
lukem |
- convert usage of "defopt" to "defflag" where the relevant option does not support a value (e.g., it's to be used as "options FOO" instead of "options FOO=xxx"). options that take a value were converted to defparam recently. - minor whitespace & formatting cleanups
|
#
1.26 |
|
20-Nov-2001 |
lukem |
- replace "defopt" with "defparam" for options which must take a value, as config(8) will warn for value-less defparam options - minor whitespace/formatting cleanup - consolidate opt_tcp_recvspace.h and opt_tcp_sendspace.h into opt_tcp_space.h
|
#
1.25 |
|
20-Nov-2001 |
lukem |
cleanup: options SPACE TAB makeoptions TAB psuedo-device TAB remove trailing whitespace replace multiple spaces -> tabs options "FOO" -> options FOO options "FOO=bar" -> options FOO=bar options "FOO=\"bar\"" -> options FOO="\"bar\""
|
Revision tags: thorpej-mips-cache-base thorpej-devvp-base3 thorpej-devvp-base2 post-chs-ubcperf pre-chs-ubcperf thorpej-devvp-base
|
#
1.24 |
|
30-Aug-2001 |
briggs |
branches: 1.24.6; Create an opt_openpic.h and add both OPENPIC and OPENPIC_SERIAL_MODE to it.
|
#
1.23 |
|
26-Aug-2001 |
matt |
Make all powerpc ports use a common Makefile.powerpc (except walnut) Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports. Split out macppc cpu support and make common to mpc6xx ports. Make other mpc6xx ports use it. Add evcnts for mpc6xx traps.
|
#
1.22 |
|
20-Jun-2001 |
briggs |
branches: 1.22.2; Build for kgdb as well as for ddb (mutually exclusive).
|
#
1.21 |
|
17-Jun-2001 |
tsubai |
Forgot to commit this -- move file .../bus_dma.c line to files.${machine}.
|
#
1.20 |
|
13-Jun-2001 |
simonb |
Add a port to IBM's PPC405GP Reference Board (the "walnut") by Eduardo Horvath and Simon Burge of Wasabi Systems.
IBM 4xx series CPU features: - New pmap and revised trap handler. - Support on-chip timers, PCI controller, UARTs - Framework for on-chip ethernet and watchdog timer. General PowerPC features: - Add in-kernel PPC floating point emulation - New in{,4}_cksum that is between 1.5 and 5 times faster than the old version depending on CPU type. General changes: - Kernel support for generic dbsym-style symbols.
|
#
1.19 |
|
10-Jun-2001 |
tsubai |
Make the new pmap optional. Use the old (stable!) pmap by default.
|
#
1.18 |
|
06-Jun-2001 |
matt |
Introduce a new & faster pmap for the MPC6xx (60x, 7xx, 7xxx) PPC CPUs. Move MPC6xx dependent header files to powerpc/include/mpc6xx/
|
Revision tags: thorpej_scsipi_beforemerge thorpej_scsipi_nbase thorpej_scsipi_base
|
#
1.17 |
|
24-Feb-2001 |
matt |
branches: 1.17.2; Add powerpc/powerpc/powerpc_machdep.c
|
#
1.16 |
|
04-Feb-2001 |
briggs |
defopt openpic
|
#
1.15 |
|
02-Feb-2001 |
briggs |
Split OpenPIC support into powerpc so ports only need minimal custom configuration. openpic_init() now takes a single argument that is the base of the OpenPIC register space.
|
#
1.14 |
|
25-Nov-2000 |
matt |
Add placeholder for AltiVec support file.
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base
|
#
1.13 |
|
14-Feb-2000 |
thorpej |
Allow arch-specific code to specify in4_cksum() like it can specify in_cksum().
|
Revision tags: chs-ubc2-newbase wrstuden-devbsize-19991221 wrstuden-devbsize-base
|
#
1.12 |
|
17-Nov-1999 |
kleink |
Move signal management code common to all PowerPC platforms (sendsig(), sigreturn(), sigcode) to a single place in the shared powerpc directory. (The struct sigcontext etc. definitions were already being shared.)
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 kame_141_19991130 comdex-fall-1999-base fvdl-softdep-base netbsd-1-4-PATCH001 kame_14_19990705 kame_14_19990628 chs-ubc2-base netbsd-1-4-RELEASE netbsd-1-4-base
|
#
1.11 |
|
15-Feb-1999 |
hubertf |
branches: 1.11.8; 1.11.14; RCS ID police
|
Revision tags: kenh-if-detach-base chs-ubc-base
|
#
1.10 |
|
18-Sep-1998 |
sakamoto |
powerpc/bcopy.c is unnecessary.
|
#
1.9 |
|
13-Sep-1998 |
thorpej |
Make signal delivery work again.
|
Revision tags: eeh-paddr_t-base
|
#
1.8 |
|
28-May-1998 |
sakamoto |
Rename NetBSD/powerpc to NetBSD/ofppc. New sys/arch/powerpc with PowerPC-generic stuff.
|
#
1.7 |
|
24-Feb-1998 |
mycroft |
Catch up with changes in dev/ofw. Add mainbus.
|
#
1.6 |
|
23-Feb-1998 |
mycroft |
Slight rearrangement.
|
#
1.5 |
|
27-Jan-1998 |
sakamoto |
Import DDB from OpenBSD/powerpc.
|
#
1.4 |
|
05-Jan-1998 |
perry |
RCSID Police.
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base thorpej-signal-base marc-pcmcia-bp marc-pcmcia-base
|
#
1.3 |
|
16-Apr-1997 |
thorpej |
- Pull in new ofwmagic.S and soft_spl.c files - firepowerbugs -> firmworksbugs
|
Revision tags: is-newarp-before-merge is-newarp-base
|
#
1.2 |
|
16-Oct-1996 |
ws |
Rename recently checked in KGDB to IPKDB to resolve conflicts with older KGDB
|
#
1.1 |
|
30-Sep-1996 |
ws |
PowerPC port
|