The NetBSD Project

CVS log for src/sys/arch/arm/conf/files.arm

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / conf

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.139 / (download) - annotate - [select for diffs], Sun Apr 1 04:35:04 2018 UTC (2 months, 3 weeks ago) by ryo
Branch: MAIN
CVS Tags: pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, HEAD
Changes since 1.138: +2 -1 lines
Diff to previous 1.138 (colored)

Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)

Revision 1.138 / (download) - annotate - [select for diffs], Wed Jan 24 09:04:44 2018 UTC (4 months, 4 weeks ago) by skrll
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.137: +1 -3 lines
Diff to previous 1.137 (colored)

Remove port-acorn26

OK core@

Revision 1.137 / (download) - annotate - [select for diffs], Wed Jan 17 20:30:16 2018 UTC (5 months ago) by skrll
Branch: MAIN
Changes since 1.136: +2 -2 lines
Diff to previous 1.136 (colored)

G/C ARM32_NEW_VM_LAYOUT

Revision 1.136 / (download) - annotate - [select for diffs], Fri Nov 10 22:07:30 2017 UTC (7 months, 1 week ago) by matt
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.135: +2 -1 lines
Diff to previous 1.135 (colored)

Add CPU_CORTEXA35

Revision 1.135 / (download) - annotate - [select for diffs], Sun Oct 8 15:29:33 2017 UTC (8 months, 2 weeks ago) by jmcneill
Branch: MAIN
Changes since 1.134: +3 -2 lines
Diff to previous 1.134 (colored)

defflag CPU_CORTEXA53

Revision 1.134 / (download) - annotate - [select for diffs], Thu Aug 24 13:06:23 2017 UTC (10 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20170825
Changes since 1.133: +4 -1 lines
Diff to previous 1.133 (colored)

Add __HAVE_GENERIC_CPU_INITCLOCKS option. If set, don't export
cpu_initclocks from device drivers as common code (in this case FDT) will
provide its own copy.

Revision 1.133 / (download) - annotate - [select for diffs], Wed Jun 28 23:48:23 2017 UTC (11 months, 3 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Changes since 1.132: +6 -1 lines
Diff to previous 1.132 (colored)

Add support for ARM Power State Coordination Interface (PSCI).

Revision 1.132 / (download) - annotate - [select for diffs], Fri May 26 21:17:46 2017 UTC (12 months, 4 weeks ago) by jmcneill
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Changes since 1.131: +2 -1 lines
Diff to previous 1.131 (colored)

Recognize Cortex-A57 FPU, GIC, and Generic Timer.

Revision 1.131 / (download) - annotate - [select for diffs], Wed Nov 11 17:54:17 2015 UTC (2 years, 7 months ago) by skrll
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.130: +4 -1 lines
Diff to previous 1.130 (colored)

Support pmap_pv_track and friends

Revision 1.130 / (download) - annotate - [select for diffs], Sat Feb 7 17:14:32 2015 UTC (3 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.129: +3 -1 lines
Diff to previous 1.129 (colored)

According to the Cortex-A5 TRM, the CBAR register is not implemented and
always reads as 0x00000000. Add ARM_CBAR option to set this in kernel
config.

Revision 1.129 / (download) - annotate - [select for diffs], Mon Dec 1 08:39:43 2014 UTC (3 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.128: +2 -1 lines
Diff to previous 1.128 (colored)

Add CPU_CORTEXA17

Revision 1.128 / (download) - annotate - [select for diffs], Wed Nov 26 04:20:30 2014 UTC (3 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.127: +2 -1 lines
Diff to previous 1.127 (colored)

Add option ARM_HAS_LPAE

Revision 1.127 / (download) - annotate - [select for diffs], Mon Apr 14 20:50:47 2014 UTC (4 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.126: +3 -2 lines
Diff to previous 1.126 (colored)

Support (untested) SHEEVA_L2_CACHE and SHEEVA_L2_CACHE_WT options.
Move prototypes out to <arm/cpufunc.h> to their own file.
Add sdcache routines to cpufunc_asm_sheeva.S
Add code sheeve_setup to init the sdcache and sdcache info.

Revision 1.126 / (download) - annotate - [select for diffs], Sun Mar 30 15:50:51 2014 UTC (4 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.125: +36 -35 lines
Diff to previous 1.125 (colored)

Make the ARM pmap use ASIDs, split TTBRs, and MP safe.  This only happens for
ARMv6 or later CPUs.  This means that on context switch that the TLBs and
caches no longer to cleaned/flushed.  Also, eXecute Never (XN) protection has
been added so non-exec pages can not be run.  Change the page size for ARMv6+
to be 8KB while allows a L1PT to be a normal page.  This means that the L1PT
is not special.  Use the XN support to only sync pages that are executed from.

Revision 1.125 / (download) - annotate - [select for diffs], Tue Mar 18 07:05:46 2014 UTC (4 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.124: +2 -1 lines
Diff to previous 1.124 (colored)

defflag VERBOSE_INIT_ARM

Revision 1.124 / (download) - annotate - [select for diffs], Thu Feb 20 17:39:59 2014 UTC (4 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored)

cpu_cortex doesn't need the arm11 cpufuncs any more

Revision 1.123 / (download) - annotate - [select for diffs], Tue Nov 12 17:05:09 2013 UTC (4 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.122: +7 -3 lines
Diff to previous 1.122 (colored)

CPU_ARMV[67] imply ARM32_DISABLE_ALIGNMENT_FAULTS
Make it explicit.

Revision 1.122 / (download) - annotate - [select for diffs], Sat Aug 17 22:21:02 2013 UTC (4 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.121: +1 -2 lines
Diff to previous 1.121 (colored)

Nuke atomic.S since we have MI defined atomic ops

Revision 1.121 / (download) - annotate - [select for diffs], Tue Jul 2 06:07:11 2013 UTC (4 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.120: +26 -11 lines
Diff to previous 1.120 (colored)

Rework to have CPU_PREARMV6, CPU_ARMV6, as well as CPU_ARMV7

Revision 1.120 / (download) - annotate - [select for diffs], Sat Jun 22 00:35:31 2013 UTC (5 years ago) by matt
Branch: MAIN
Branch point for: rmind-smpnet
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (colored)

File VBAR option

Revision 1.119 / (download) - annotate - [select for diffs], Wed Jun 12 21:34:12 2013 UTC (5 years ago) by matt
Branch: MAIN
Changes since 1.118: +2 -1 lines
Diff to previous 1.118 (colored)

Add a ARM_HAS_VBAR option which forces the use of the VBAR register.  This
allows much code to deal with vector_page mappings to be eliminated.  On a
BEAGLEBONE kernel, this saves 8KB of text and instructions that never have
to be executed.  (The PJ4B has VBAR but doesn't implement the security
extensions it is part of so a method was needed to allow it use VBAR with
relying on the default test for the security extensions.)

Revision 1.118 / (download) - annotate - [select for diffs], Wed Jun 12 07:12:10 2013 UTC (5 years ago) by matt
Branch: MAIN
Changes since 1.117: +5 -4 lines
Diff to previous 1.117 (colored)

Add CPU_ARMV7 and make CPU_PJ4B and CPU_CORTEX instantiate it.

Revision 1.117 / (download) - annotate - [select for diffs], Sun May 19 15:51:10 2013 UTC (5 years, 1 month ago) by rkujawa
Branch: MAIN
Changes since 1.116: +4 -3 lines
Diff to previous 1.116 (colored)

Make PJ4B support code compilable.

Obtained from Marvell, Semihalf.

Revision 1.116 / (download) - annotate - [select for diffs], Thu Feb 14 07:26:23 2013 UTC (5 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: khorben-n900, agc-symver-base, agc-symver
Changes since 1.115: +4 -2 lines
Diff to previous 1.115 (colored)

Add BUSDMA_COUNTERS option

Revision 1.115 / (download) - annotate - [select for diffs], Mon Jan 28 06:14:45 2013 UTC (5 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.114: +2 -2 lines
Diff to previous 1.114 (colored)

Disable bzero_page_vfp and bcopy_page_vfp since it really isn't any faster
than memcpy.

Revision 1.114 / (download) - annotate - [select for diffs], Mon Dec 10 04:58:54 2012 UTC (5 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7
Changes since 1.113: +2 -1 lines
Diff to previous 1.113 (colored)

Add code to use VFP(or Neon) instructions to zero or copy a page via
pmap_zero_page and pmap_copy_page.  (Not hooked into vfp_init yet).
Requires FPU_VFP

Revision 1.113 / (download) - annotate - [select for diffs], Wed Dec 5 19:05:47 2012 UTC (5 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.112: +2 -5 lines
Diff to previous 1.112 (colored)

ARMFPE hasn't compiled since NetBSD 4.  Remove it.
Complete support for FPU_VFP.
fpregs now contains vfpreg.
XXX vfpreg only has space for 16 64-bit FP registers though VFPv3 and later
have 32 64-bit FP registers.

Revision 1.112 / (download) - annotate - [select for diffs], Wed Oct 17 18:52:16 2012 UTC (5 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Changes since 1.111: +2 -2 lines
Diff to previous 1.111 (colored)

Add a PMAP_NEEDS_ALLOC_POOLPAGE / PMAP_ALLOC_POOLPAGE hook so systems can
allocate pool pages from a specific VM freelist.

Revision 1.111 / (download) - annotate - [select for diffs], Tue Sep 18 05:09:47 2012 UTC (5 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.110: +3 -3 lines
Diff to previous 1.110 (colored)

add _ARM32_NEED_BUS_DMA_BOUNCE to opt_arm_bus_space.h (It's not really a
bus_space option but it's close enough).

Revision 1.110 / (download) - annotate - [select for diffs], Wed Aug 29 23:16:35 2012 UTC (5 years, 9 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored)

Add core locator to mainbus.  Add support for attaching multiple CPUs

Revision 1.109 / (download) - annotate - [select for diffs], Wed Aug 29 07:14:04 2012 UTC (5 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.108: +3 -3 lines
Diff to previous 1.108 (colored)

Rename ARM options PROCESS_ID_IS_CUR{CPU,LWP} to TPIDRPRW_IS_CUR{CPU,LWP}
since TPIDRPRW is the cp15 register name.
Initialize it early in start along with CI_ARM_CPUID.
Remove other initializations.
We alays have ci_curlwp.
Enable TIPRPRW_IS_CURCPU in std.beagle.
[tested on a beaglboard (cortex-a8)]

Revision 1.108 / (download) - annotate - [select for diffs], Sun Aug 12 05:05:47 2012 UTC (5 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.107: +2 -2 lines
Diff to previous 1.107 (colored)

Rework VFP support to use PCU.
Add emulation of instruction which save/restore the VFP FPSCR.
Add a sysarch hook to VFP FPSCR manipulation.

[The emulation will be used by libc to store/fetch exception modes and
rounding mode on a per-thread basis.]

Revision 1.107 / (download) - annotate - [select for diffs], Fri Aug 3 07:59:22 2012 UTC (5 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.106: +6 -1 lines
Diff to previous 1.106 (colored)

COMPAT_NETBSD32 support for ARM.  Which is strange since ARM is already
32-bits.  But the newer ARM ABI AAPCS changes the alignment of 64-bit
fields so structures need to copied in and out to deal with the alignment
change.  This is a kludge but makes debugging of AAPCS support much easier.

Revision 1.106 / (download) - annotate - [select for diffs], Sat Jul 21 12:19:15 2012 UTC (5 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.105: +2 -1 lines
Diff to previous 1.105 (colored)

Add support for the ARM1176JZS

Revision 1.105 / (download) - annotate - [select for diffs], Sat Jul 14 07:57:26 2012 UTC (5 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored)

Add intrbase locator to mainbus.

Revision 1.104 / (download) - annotate - [select for diffs], Fri Jul 13 05:23:29 2012 UTC (5 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.103: +4 -1 lines
Diff to previous 1.103 (colored)

Begin support for Cortex A5, A7, A15 and expand A8 and A9 definitions.
Instead of testing all possible CPUids for a cortex, we know what range
a cortex will be so mask out the insignificant parts and do a single test.

Revision 1.103 / (download) - annotate - [select for diffs], Sun Dec 11 03:30:23 2011 UTC (6 years, 6 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Branch point for: netbsd-6
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored)

Require arm3_cache_flush for ARM2/ARM250.

Revision 1.102 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:39 2011 UTC (7 years ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.101: +1 -2 lines
Diff to previous 1.101 (colored)

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 1.101 / (download) - annotate - [select for diffs], Thu Mar 10 07:47:14 2011 UTC (7 years, 3 months ago) by bsh
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.100: +6 -2 lines
Diff to previous 1.100 (colored)

Preliminary ARM11 MPCore support.

I have confirmed this commit doesn't affect existing evbarm kernels by
comparing binaries.

Revision 1.100 / (download) - annotate - [select for diffs], Sat Oct 2 05:37:58 2010 UTC (7 years, 8 months ago) by kiyohara
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.99: +9 -4 lines
Diff to previous 1.99 (colored)

Add support Marvell Sheeva Core and SoC. (Orion/Kirkwood)
  Discovery Innovation not yet.

Revision 1.99 / (download) - annotate - [select for diffs], Sat Jun 19 19:44:57 2010 UTC (8 years ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.98: +11 -13 lines
Diff to previous 1.98 (colored)

Cleanup the armv7 changes.  Add ARM_ARCH_7.   Use CPU_CORTEX instead of
CPU_CORTEXA8 everywhere since there more types of Cortex than just the A8.
CPU_CORTEXA8 still exists but causes CPU_CORTEX to be defined.
Add CPU_CORTEXA9 as well.  Use .arch armv7a to get us the isb/dsb
instructions.

Test booted to root device prompt on a Beagleboard.
All ARM kernels successfully test built.

Revision 1.98 / (download) - annotate - [select for diffs], Wed Jun 16 22:06:53 2010 UTC (8 years ago) by jmcneill
Branch: MAIN
Changes since 1.97: +13 -7 lines
Diff to previous 1.97 (colored)

PR port-arm/43299: Support added for igepv2/cortexa8/omap3530

Apply patch from PR, with build fixes. ok skrll, matt

Revision 1.97 / (download) - annotate - [select for diffs], Sun Dec 27 05:14:56 2009 UTC (8 years, 5 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.96: +2 -1 lines
Diff to previous 1.96 (colored)

Add write-through cache work-around for ARM11 as well as ARM9/ARM10.  Analyzed
& tested on i.MX35 with help from Tsubai Masanari.

Revision 1.96 / (download) - annotate - [select for diffs], Sun Jan 18 16:42:09 2009 UTC (9 years, 5 months ago) by bjh21
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, 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, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (colored)

Adapt the arm32 fusu implementation for use on PROG26 configurations
and use it on acorn26.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Jan 18 15:43:20 2009 UTC (9 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored)

Move arch/arm/arm32/fusu.S to arch/arm/arm/fusu.S in preparation for making
it usable on acorn26 as well.

Revision 1.94 / (download) - annotate - [select for diffs], Wed Nov 19 18:35:58 2008 UTC (9 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored)

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 1.93 / (download) - annotate - [select for diffs], Tue Oct 14 16:01:22 2008 UTC (9 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, matt-nb5-mips64
Changes since 1.92: +4 -1 lines
Diff to previous 1.92 (colored)

Add FA526 support (compile tested only)

Revision 1.92 / (download) - annotate - [select for diffs], Wed Aug 27 11:18:40 2008 UTC (9 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.91: +2 -1 lines
Diff to previous 1.91 (colored)

Add CPU_CORTEXA8

Revision 1.91 / (download) - annotate - [select for diffs], Sun Apr 27 18:58:44 2008 UTC (10 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, haad-dm
Changes since 1.90: +17 -4 lines
Diff to previous 1.90 (colored)

Merge kernel changes in matt-armv6 to HEAD.

Revision 1.90 / (download) - annotate - [select for diffs], Sat Mar 15 10:23:01 2008 UTC (10 years, 3 months ago) by rearnsha
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, chris-arm-intr-rework-base7, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.89: +5 -1 lines
Diff to previous 1.89 (colored)

VFP support.

Revision 1.89 / (download) - annotate - [select for diffs], Sat Jan 26 02:06:04 2008 UTC (10 years, 5 months ago) by chris
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, hpcarm-cleanup-base, chris-arm-intr-rework-base6, chris-arm-intr-rework-base5
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.88: +2 -1 lines
Diff to previous 1.88 (colored)

Add arm version of cpu_in_cksum.  Based on previous in_cksum4 code.

In fact it's mostly the same code, with a different stub on it.

On a cats the regress/sys/net/in_cksum tests show that it takes around
50-60% of the time the C version takes.  In some cases it takes as low as
20%.

Revision 1.88 / (download) - annotate - [select for diffs], Fri Jan 25 21:12:11 2008 UTC (10 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.87: +1 -4 lines
Diff to previous 1.87 (colored)

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 1.87 / (download) - annotate - [select for diffs], Sun Jan 6 18:04:01 2008 UTC (10 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base, chris-arm-intr-rework-base4, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.86: +2 -1 lines
Diff to previous 1.86 (colored)

Add MODULAR option. Include kernel linker stuff if MODULAR.

Revision 1.86 / (download) - annotate - [select for diffs], Wed Oct 17 19:53:40 2007 UTC (10 years, 8 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, chris-arm-intr-rework-base3, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs, bouyer-xeni386
Changes since 1.85: +1 -1 lines
Diff to previous 1.85 (colored)

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 1.85 / (download) - annotate - [select for diffs], Sat Jul 7 05:13:14 2007 UTC (10 years, 11 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-pm, chris-arm-intr-rework-base2, chris-arm-intr-rework-base, bouyer-xenamd64
Branch point for: matt-armv6, hpcarm-cleanup, chris-arm-intr-rework
Changes since 1.84: +1 -2 lines
Diff to previous 1.84 (colored)

Remove leftover netns stuff.

Revision 1.84 / (download) - annotate - [select for diffs], Thu May 17 14:51:16 2007 UTC (11 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.83: +2 -1 lines
Diff to previous 1.83 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.83 / (download) - annotate - [select for diffs], Fri Mar 9 19:21:58 2007 UTC (11 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, reinoud-bufcleanup
Branch point for: vmlocking, thorpej-atomic, ppcoea-renovation, mjf-ufs-trans
Changes since 1.82: +5 -1 lines
Diff to previous 1.82 (colored)

Rewrite the ARM mutex implementation to be of the simple-mutex variety.
Because pre-v6 ARM lacks support for an atomic compare-and-swap, we
implement _lock_cas() as a restartable atomic squence that is checked
in the IRQ handler right before AST processing.  (This is safe because,
for all practical purposes, there are no SMP pre-v6 ARM systems.)

This can serve as a model for other non-MP platforms that lack the
necessary atomic operations for mutexes (SuperH, for example).

Upshots of this change:
- kmutex_t is now down to 8 bytes on ARM; about as good as we can get.
- ARM2 systems don't have to trap and emulate SWP or SWPB for mutexes.

The acorn26 port is not updated by this commit to do the LOCK_CAS_CHECK.
That is left as an exercise for the port maintainer.

Reviewed and tested by Matt Thomas.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Jan 6 00:50:54 2007 UTC (11 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.81: +7 -5 lines
Diff to previous 1.81 (colored)

Scott Allan in http://mail-index.netbsd.org/port-arm/2006/07/31/0000.html
Patch to add support for ARM9E

Revision 1.81 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:45 2005 UTC (12 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, netbsd-4-base, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2, netbsd-4
Changes since 1.80: +1 -1 lines
Diff to previous 1.80 (colored)

merge ktrace-lwp.

Revision 1.80 / (download) - annotate - [select for diffs], Tue Sep 13 22:07:47 2005 UTC (12 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.79: +2 -1 lines
Diff to previous 1.79 (colored)

split compat_16 functions to their own file and make this compile again.

Revision 1.79 / (download) - annotate - [select for diffs], Mon Jul 4 00:42:37 2005 UTC (12 years, 11 months ago) by bsh
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.78: +7 -4 lines
Diff to previous 1.78 (colored)

The first step to support Intel PXA270.

kernel config option CPU_XSCALE_PXA2X0 is now obsoleted by
CPU_XSCALE_PXA250 and CPU_XSCALE_PXA270.  If both of them are defined,
CPU is determined run-time.

Revision 1.78 / (download) - annotate - [select for diffs], Fri Jun 3 15:55:56 2005 UTC (13 years ago) by rearnsha
Branch: MAIN
Changes since 1.77: +7 -5 lines
Diff to previous 1.77 (colored)

Very basic support for the ARM1136.

This code takes no advantage of any 'new' features provided by
architecture 6 devices (such as physically tagged caches or new
MMU features), and basically runs the chip in a 'legacy v5' mode.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Apr 3 04:34:40 2004 UTC (14 years, 2 months ago) by bsh
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, 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, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.76: +2 -1 lines
Diff to previous 1.76 (colored)

add an option to force ARM9 dcache to write-through mode.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Nov 5 12:53:15 2003 UTC (14 years, 7 months ago) by scw
Branch: MAIN
CVS Tags: netbsd-2-base, 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-1, netbsd-2-0-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-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.75: +2 -1 lines
Diff to previous 1.75 (colored)

Add "options ARM32_DISABLE_ALIGNMENT_FAULTS" to forcibly disable
alignment fault checking if necessary.

This option gets the acorn32 port working again.

XXX: Richard Earnshaw suggested enabling alignment faults for
XXX: userland only on acorn32. Need to investigate this.

Revision 1.75 / (download) - annotate - [select for diffs], Thu Oct 23 15:03:24 2003 UTC (14 years, 8 months ago) by scw
Branch: MAIN
Changes since 1.74: +4 -1 lines
Diff to previous 1.74 (colored)

Add a defflag for __BUS_SPACE_HAS_STREAM_METHODS, and add the
appropriate glue in bus.h, contingent on the option being defined.

This allows stream methods to be available on a port-by-port basis.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Sep 11 18:54:31 2003 UTC (14 years, 9 months ago) by scw
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored)

Hand-optimised in_cksum/in4_cksum for ARM and XSCALE.
Contributed by Wasabi Systems, with input from Chris Gilbert,
Richard Earnshaw and David Laight.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Sep 6 09:48:47 2003 UTC (14 years, 9 months ago) by rearnsha
Branch: MAIN
Changes since 1.72: +10 -6 lines
Diff to previous 1.72 (colored)

Add build-system support for ARM10.

Revision 1.72 / (download) - annotate - [select for diffs], Fri May 23 00:57:24 2003 UTC (15 years, 1 month ago) by ichiro
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.71: +4 -2 lines
Diff to previous 1.71 (colored)

support IXP425 Intel Network Processor
 running on BigEndian

Revision 1.71 / (download) - annotate - [select for diffs], Wed May 21 18:07:10 2003 UTC (15 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.70: +2 -4 lines
Diff to previous 1.70 (colored)

Move the new pmap from arm32/pmap_new.c to arm32/pmap.c, fully replacing
the old.

Revision 1.70 / (download) - annotate - [select for diffs], Sat May 3 00:47:42 2003 UTC (15 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.69: +1 -2 lines
Diff to previous 1.69 (colored)

ARM32_PMAP_NEEDS_PTE_SYNC no longer exists.

Revision 1.69 / (download) - annotate - [select for diffs], Mon Apr 28 01:54:50 2003 UTC (15 years, 2 months ago) by briggs
Branch: MAIN
Changes since 1.68: +3 -2 lines
Diff to previous 1.68 (colored)

Add arm32 machine-specific remote kgdb support.  Largely
from PR port-arm/15530 by bsh@, but with some updates from
me, including a fresh arm32/kgdb_machdep.c--ported from pc532.

Revision 1.68 / (download) - annotate - [select for diffs], Mon Apr 21 05:36:14 2003 UTC (15 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.67: +3 -1 lines
Diff to previous 1.67 (colored)

Defflag XSCALE_CACHE_READ_WRITE_ALLOCATE and XSCALE_NO_COALESCE_WRITES.

Revision 1.67 / (download) - annotate - [select for diffs], Fri Apr 18 11:08:27 2003 UTC (15 years, 2 months ago) by scw
Branch: MAIN
Changes since 1.66: +8 -2 lines
Diff to previous 1.66 (colored)

Add the generic arm32 bits of the new pmap, contributed by Wasabi Systems.

Some features of the new pmap are:

 - It allows L1 descriptor tables to be shared efficiently between
   multiple processes. A typical "maxusers 32" kernel, where NPROC is set
   to 532, requires 35 L1s. A "maxusers 2" kernel runs quite happily
   with just 4 L1s. This completely solves the problem of running out
   of contiguous physical memory for allocating new L1s at runtime on a
   busy system.

 - Much improved cache/TLB management "smarts". This change ripples
   out to encompass the low-level context switch code, which is also
   much smarter about when to flush the cache/TLB, and when not to.

 - Faster allocation of L2 page tables and associated metadata thanks,
   in part, to the pool_cache enhancements recently contributed to
   NetBSD by Wasabi Systems.

 - Faster VM space teardown due to accurate referenced tracking of L2
   page tables.

 - Better/faster cache-alias tracking.

The new pmap is enabled by adding options ARM32_PMAP_NEW to the kernel
config file, and making the necessary changes to the port-specific
initarm() function. Several ports have already been converted and will
be committed shortly.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Mar 29 07:59:41 2003 UTC (15 years, 3 months ago) by bsh
Branch: MAIN
Changes since 1.65: +3 -1 lines
Diff to previous 1.65 (colored)

put options XSCALE_CACHE_WRITE_THROUGH into opt_cpuoptions.h.
add XSCALE_CACHE_WRITE_BACK.

Revision 1.65 / (download) - annotate - [select for diffs], Thu Jan 2 23:38:00 2003 UTC (15 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.64: +3 -1 lines
Diff to previous 1.64 (colored)

Clean up evbarm interrupt support a little:
* Define an ARM_INTR_IMPL option, which specifies a header file
  describing the interrupt implementation for the platform.  Use
  this instead of the list of EVBARM_BOARDTYPE checks.
* Make the s3c2xx0 interrupt dispatch code a bit more generic, and move
  it to a generic location so that other platforms can use it.

This eliminates all uses of the EVBARM_BOARDTYPE stuff, so delete it.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Oct 19 12:22:34 2002 UTC (15 years, 8 months ago) by bsh
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base, bjh21-hydra-base
Changes since 1.63: +2 -1 lines
Diff to previous 1.63 (colored)

make atomic_{set,clear}_bit() inline for arm32 ports, and
add <machine/atomic.h> for them.

Revision 1.63 / (download) - annotate - [select for diffs], Sun Aug 11 23:17:25 2002 UTC (15 years, 10 months ago) by bjh21
Branch: MAIN
CVS Tags: kqueue-base, gehenna-devsw-base
Branch point for: bjh21-hydra
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

Move the arm32 copystr.S from arch/arm/arm32 to arch/arm/arm and add support
for 26-bit modes (basically saving R14 when we might get a page fault).
Use it on all ARM architectures now.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Aug 11 21:19:14 2002 UTC (15 years, 10 months ago) by bjh21
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored)

New, improved version of copyin(), copyout(), and kcopy() by Allen Briggs.
This version works on both 26-bit and 32-bit machines.  For large copies,
it's up to three times as fast as the old arm32 version and five times as
fast as the old arm26 version.  For small copies it seems to be even faster
(getrusage() is apparently over ten times faster on an ARM610).

Hooray for Allen!

Revision 1.61 / (download) - annotate - [select for diffs], Mon Jul 15 16:27:16 2002 UTC (15 years, 11 months ago) by ichiro
Branch: MAIN
Changes since 1.60: +6 -3 lines
Diff to previous 1.60 (colored)

add support for ixp12x0

Revision 1.60 / (download) - annotate - [select for diffs], Fri May 3 16:46:52 2002 UTC (16 years, 1 month ago) by rjs
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.59: +5 -3 lines
Diff to previous 1.59 (colored)

Add correct use of cpu types for SA1100 and SA1110.

Revision 1.59 / (download) - annotate - [select for diffs], Fri May 3 02:43:19 2002 UTC (16 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.58: +6 -3 lines
Diff to previous 1.58 (colored)

Add the CPU_XSCALE_PXA2X0 option.  From Hiroyuki Bessho, PR 16617.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Apr 12 18:56:58 2002 UTC (16 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.57: +6 -2 lines
Diff to previous 1.57 (colored)

Add some generic bus_space ops, which are pulled in by the
"bus_space_generic" configuration attribute.

Revision 1.57 / (download) - annotate - [select for diffs], Fri Apr 12 18:50:31 2002 UTC (16 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

Centralize ARM CPU configuration information by adding a new header
file, <arm/cpuconf.h>, which pulls in "opt_cputypes.h" and then defines
the following:
* CPU_NTYPES -- now many CPU types are configured into the kernel.  What
  you really want to know is "== 1" or "> 1".
* Defines ARM_ARCH_2, ARM_ARCH_3, ARM_ARCH_4, ARM_ARCH_5, depending
  on which ARM architecture versions are configured (based on CPU_*
  options).  Also defines ARM_NARCH to determins how many architecture
  versions are configured.
* Defines ARM_MMU_MEMC, ARM_MMU_GENERIC, ARM_MMU_XSCALE depending on
  which classes of ARM MMUs are configured into the kernel, and ARM_NMMUS
  to determine how many MMU classes are configured.

Remove the needless inclusion of "opt_cputypes.h" in several places.
Convert remaining users to <arm/cpuconf.h>.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Mar 26 19:29:45 2002 UTC (16 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.55: +7 -4 lines
Diff to previous 1.55 (colored)

Restructure a few things in order to support other XScale core
I/O processors:
* The i80200 and the i80321 have the same CPU ID, so split the
  CPU_XSCALE option into CPU_XSCALE_80200 and CPU_XSCALE_80321
  options, and don't let them both be defined at the same time.
  XXX May want to revisit this in the future.
* Split some registers common between the i80200 and i80321 into
  <arm/xscale/xscalereg.h>.
* Rename a few existing functions.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Mar 24 15:49:40 2002 UTC (16 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored)

arm26->acorn26 transition.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Jan 30 00:25:07 2002 UTC (16 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Changes since 1.53: +2 -1 lines
Diff to previous 1.53 (colored)

Add a sleep routine for the SA-11x0.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jan 24 04:23:19 2002 UTC (16 years, 5 months ago) by briggs
Branch: MAIN
Changes since 1.52: +3 -1 lines
Diff to previous 1.52 (colored)

Two changes for XScale:
	1) Add defparam XSCALE_CCLKCFG to define a parameter for the
	   CCLKCFG register.  Default it to '9' on the IQ80310.
	2) Add a sleep call to the xscale CPU function vector (replacing
	   the nullop) which should drop the CPU into "idle" mode when
	   cpu_switch finds nothing on the run queues.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Jan 17 17:26:04 2002 UTC (16 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.51: +2 -1 lines
Diff to previous 1.51 (colored)

Separate out syscall() out into three parts:
  swi_handler() does stuff that all SWIs will need, then calls
   curproc->p_emul->e_syscall.
  syscall() handles native NetBSD system calls.
  linux_syscall() handles Linux system calls.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jan 14 23:14:33 2002 UTC (16 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.50: +8 -1 lines
Diff to previous 1.50 (colored)

Crude first cut at ARMLinux binary compatibility.  Successfully runs
"/emul/linux/bin/echo hello, world", dynamically linked.

Revision 1.50 / (download) - annotate - [select for diffs], Sat Jan 12 20:02:14 2002 UTC (16 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

Combined syscall handler for all ARM ports.  This is basically the arm32
version, made readable and compatible with arm26.  In addition, this adds
support for NetBSD/arm's newly allocated SWI range.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Jan 7 21:15:50 2002 UTC (16 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.48: +4 -2 lines
Diff to previous 1.48 (colored)

On arm26, vectors.S needs to be at the start of the kernel text, so that it's
on a page boundary and can be mapped straight into zero page.  This means it
has to be in MD_SFILES on arm26, and not in SFILES.

This probably leaves kernel_text in the wrong place, but it at least leaves the system bootable.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Dec 21 22:56:17 2001 UTC (16 years, 6 months ago) by bjh21
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

Merge ast() and userret() between arm32 and arm26.  The implementation used
is the arm32 one.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Dec 20 01:20:23 2001 UTC (16 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.46: +5 -1 lines
Diff to previous 1.46 (colored)

* Share a common vector page between arm26 and arm32.
* Use a common set of exception handlers for all arm32 platforms.
* New FIQ framework based on discussions with Ben Harris, shared
  between arm26 and arm32.

Revision 1.46 / (download) - annotate - [select for diffs], Wed Nov 28 10:21:12 2001 UTC (16 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.45: +8 -8 lines
Diff to previous 1.45 (colored)

- 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

Revision 1.45 / (download) - annotate - [select for diffs], Mon Nov 26 20:33:43 2001 UTC (16 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.44: +1 -3 lines
Diff to previous 1.44 (colored)

Move the interrupt-related file declarations into port-specific
config descriptions so that each port choose whether or not to
use it.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Nov 24 03:39:17 2001 UTC (16 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

Make the ARM, Ltd. floating point emulator work w/ ELF.

Revision 1.43 / (download) - annotate - [select for diffs], Sat Nov 24 01:26:24 2001 UTC (16 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.42: +6 -3 lines
Diff to previous 1.42 (colored)

Move the ARM, Ltd. floating point emulator to arch/arm.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Nov 22 17:59:59 2001 UTC (16 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.41: +1 -3 lines
Diff to previous 1.41 (colored)

Add 26-bit and 32-bit types.h files, which indicate the programming
model in use for a given platform (__PROG26 vs __PROG32), then pulls
in <arm/types.h>.  Change each ARM port to pull in <arm/arm26/types.h>
or <arm/arm32/types.h> as appropriate.  Change all references to PROG26
and PROG32 to __PROG26 and __PROG32.  Eliminate the opt_progmode.h
header file.

Revision 1.41 / (download) - annotate - [select for diffs], Tue Nov 20 12:56:22 2001 UTC (16 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

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 1.40 / (download) - annotate - [select for diffs], Sat Nov 10 23:14:08 2001 UTC (16 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Branch point for: nathanw_sa
Changes since 1.39: +10 -1 lines
Diff to previous 1.39 (colored)

Split all the model/version-specific cpufuncs into separate files
corresponding to the model/version.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Oct 18 14:03:43 2001 UTC (16 years, 8 months ago) by rearnsha
Branch: MAIN
Branch point for: thorpej-mips-cache
Changes since 1.38: +3 -2 lines
Diff to previous 1.38 (colored)

Add CPU_ARM9 to opt_cputypes.h

Revision 1.38 / (download) - annotate - [select for diffs], Wed Sep 5 17:08:41 2001 UTC (16 years, 9 months ago) by matt
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Don't compile SPL/INTR stuff if NEWINTR is defined.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Aug 5 13:09:47 2001 UTC (16 years, 10 months ago) by chris
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

Share procfs_machdep.c across arm.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jul 31 17:00:24 2001 UTC (16 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Add a CPU_XSCALE defopt (for eventual support).

Revision 1.35 / (download) - annotate - [select for diffs], Sat Jul 28 13:28:08 2001 UTC (16 years, 11 months ago) by chris
Branch: MAIN
Changes since 1.34: +15 -1 lines
Diff to previous 1.34 (colored)

Move the generic arm32 files into arm/arm32 from arm32/arm32, tested kernel builds on cats and riscpc.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jul 10 20:43:57 2001 UTC (16 years, 11 months ago) by bjh21
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

Purge CPU_ARM7500.  Thanks to Reinoud's work, it's no longer needed.

Revision 1.33 / (download) - annotate - [select for diffs], Sun Jul 8 23:20:04 2001 UTC (16 years, 11 months ago) by rjs
Branch: MAIN
Branch point for: kqueue
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Initial copy of SA11x0 support from hpcarm.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jun 18 22:26:15 2001 UTC (17 years ago) by bjh21
Branch: MAIN
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)

Merge arm32/dev/bus_space_notimpl.S and hpcarm/hpcarm/bus_space_notimpl.S
into arm/arm/bus_space_notimpl.S.  They were identical anyway.

This file has no excuse for being in assembler, but I'll leave that for another
day.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Jun 5 09:25:06 2001 UTC (17 years ago) by bjh21
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

Replace arm/arm32/db_trace.c and arm26/arm26/db_trace.c with a unified version
in arm/arm.  This version is based on the arm26 version, and includes dumping
the contents of stack frames, with automatic determination of the save code
pointer offset.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jun 3 18:32:33 2001 UTC (17 years ago) by chris
Branch: MAIN
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

Add support for ARM7TDMI, as provided in a patch from John Fremlin to port-arm32.

Shouldn't effect any currently in tree ports.

Revision 1.29 / (download) - annotate - [select for diffs], Tue May 29 23:03:20 2001 UTC (17 years ago) by bjh21
Branch: MAIN
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

Move blockio.S from sys/arch/arm32/arm32 to sys/arch/arm/arm, since I want to
start using it on arm26.

hpcarm gets to keep its own version, since it's not identical and I haven't
got an hpcarm box to test.

Revision 1.28 / (download) - annotate - [select for diffs], Wed May 23 19:33:49 2001 UTC (17 years, 1 month ago) by chris
Branch: MAIN
Changes since 1.27: +1 -2 lines
Diff to previous 1.27 (colored)

Create an asm based version of in4_cksum based on the sparc version.

Also don't compute psuedo header for nxt == 0

Revision 1.27 / (download) - annotate - [select for diffs], Sun May 13 14:17:36 2001 UTC (17 years, 1 month ago) by bjh21
Branch: MAIN
Changes since 1.26: +1 -2 lines
Diff to previous 1.26 (colored)

strstr() is no longer used in the kernel.  G/C it.

Revision 1.26 / (download) - annotate - [select for diffs], Sun May 13 13:44:34 2001 UTC (17 years, 1 month ago) by bjh21
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

Move get_bootconf_option() into a new file, sys/arch/arm/arm/bootconfig.c,
since it's in no way machine-dependent.  It's not really ARM-specific either,
but I don't think it's useful enough to be made part of the MI kernel.

Revision 1.25 / (download) - annotate - [select for diffs], Sun May 6 18:31:14 2001 UTC (17 years, 1 month ago) by bjh21
Branch: MAIN
Changes since 1.24: +4 -1 lines
Diff to previous 1.24 (colored)

Move "defopt PMAP_DEBUG" into files.arm, since it's used by code in arch/arm.

Revision 1.24 / (download) - annotate - [select for diffs], Sun May 6 18:01:42 2001 UTC (17 years, 1 month ago) by bjh21
Branch: MAIN
Changes since 1.23: +3 -1 lines
Diff to previous 1.23 (colored)

Move cpufunc stuff from arm32/arm32 to arm/arm.  The only change involved is
to add recognition of the SA-1100 and SA-1110 for compatibility with hpcarm
(which is now using this code as well).

Revision 1.23 / (download) - annotate - [select for diffs], Fri Apr 20 18:08:49 2001 UTC (17 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored)

Split cpu from mainbus so that cpu can attached to other buses (like ofbus).

Revision 1.22 / (download) - annotate - [select for diffs], Wed Mar 14 14:39:45 2001 UTC (17 years, 3 months ago) by toshii
Branch: MAIN
Changes since 1.21: +1 -5 lines
Diff to previous 1.21 (colored)

Move references to arm/arm/disksubr*.c from files.arm to
files.{arm26,arm32,dnard}.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Mar 11 00:11:05 2001 UTC (17 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

"needs-flag" for cpu is no longer needed.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Mar 8 21:30:35 2001 UTC (17 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Use the same undefined-instuction handler on both arm26 and arm32.  The handler
is derived mostly from the arm32 version, but with a check for an obscure ARM2
bug thrown in.

arm26 fpu and cpu drivers use the new interface for catching undefined
instructions.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Mar 6 07:52:36 2001 UTC (17 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Move arm32/arm32/ast.c to arm/arm32/ast.c

Revision 1.18 / (download) - annotate - [select for diffs], Mon Mar 5 23:06:16 2001 UTC (17 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored)

Move undefined.c from sys/arch/{arm32/arm32,hpcarm/hpcarm} to sys/arch/arm/arm
in preparation for making it usable on arm26 as well.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 4 23:25:01 2001 UTC (17 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Merge setregs() from sys/arch/arm32/arm32/machdep.c,
sys/arch/hpcarm/hpcarm/machdep.c and sys/arch/arm26/arm26/vm_machdep.c
into sys/arch/arm/arm/arm_machdep.c.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Mar 4 15:27:03 2001 UTC (17 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Make compat_13_sys_sigreturn() work on arm26, and move it from
arch/arm/arm32/compat_13_machdep.c to arch/arm/arm/compat_13_machdep.c.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Mar 4 08:25:38 2001 UTC (17 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.14: +9 -2 lines
Diff to previous 1.14 (colored)

Move compat_13_machdep.c, strstr.c, copystr.S, bcopyinout.S, and
bcopy_page.S to arm/arm32 and remove port-local copies.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Mar 4 05:17:41 2001 UTC (17 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.13: +17 -1 lines
Diff to previous 1.13 (colored)

disksubr*.c are now shared.  Start moving files from ../../arm32/arm32

Revision 1.13 / (download) - annotate - [select for diffs], Tue Feb 27 17:56:31 2001 UTC (17 years, 3 months ago) by bjh21
Branch: MAIN
Changes since 1.12: +4 -1 lines
Diff to previous 1.12 (colored)

Move "options ARMFPE" to files.arm, so generic ARM files can use it.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Feb 25 17:23:11 2001 UTC (17 years, 4 months ago) by bjh21
Branch: MAIN
Changes since 1.11: +8 -1 lines
Diff to previous 1.11 (colored)

Add PROG32 and PROG26 options.

These are intended to indicate what size of program space is in use, and hence
how to get at the PSR bits.  They're currently set automatically by the CPU
type options.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 25 15:31:39 2001 UTC (17 years, 4 months ago) by bjh21
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Allow "cpu" to have children.  In the long term, this may be the best way to
handle co-processors.  In the short term, it's a necessary hack to get arm26
kernels to configure.

Revision 1.10 / (download) - annotate - [select for diffs], Sat Feb 24 21:43:01 2001 UTC (17 years, 4 months ago) by reinoud
Branch: MAIN
Changes since 1.9: +12 -1 lines
Diff to previous 1.9 (colored)

Moved the mainbus files to the arm/conf/file.arm from the arm32 and the
hpcarm/conf/files.hpcarm

Revision 1.9 / (download) - annotate - [select for diffs], Fri Feb 23 21:23:46 2001 UTC (17 years, 4 months ago) by reinoud
Branch: MAIN
Changes since 1.8: +5 -1 lines
Diff to previous 1.8 (colored)

Big patch for merging common include files of the new hpcarm tree and the old arm32
tree into the new arm substree. All moved files are relinked with a stub that included
the file from the new location; this might be done better later.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Feb 13 22:54:25 2001 UTC (17 years, 4 months ago) by bjh21
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Move cpu_coredump() from arm32/arm32/vm_machdep.c to arm/arm/vm_machdep_arm.c.
Also ANSIfy it and use it on arm26.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Feb 13 13:19:52 2001 UTC (17 years, 4 months ago) by bjh21
Branch: MAIN
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)

Move sendsig() and sys___sigreturn14() from arm26/arm26/vm_machdep.c and
arm32/arm32/machdep.c into arm/arm/sig_machdep.c, merging and ANSIfying in
the process.

The code is based on the arm32 version, so I don't think anything should break
there.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Feb 11 17:03:05 2001 UTC (17 years, 4 months ago) by bjh21
Branch: MAIN
Branch point for: thorpej_scsipi
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Shared ARM ptrace(2) implementation.  Mostly the same as the arm32
version, but with some #ifdefs for arm26.

Also, don't define PT_STEP, since we don't implement it.  This should
reduce code size a little.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jan 13 00:06:50 2001 UTC (17 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

Separate out sigcode into its own file, since it's shared by arm26 and arm32.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jan 12 21:31:52 2001 UTC (17 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.3: +4 -1 lines
Diff to previous 1.3 (colored)

Move db_disasm.c into sys/arch/arm/arm.  Use arm26 version, since it should
generate smaller compiled code.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jan 12 13:43:12 2001 UTC (17 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.2: +4 -1 lines
Diff to previous 1.2 (colored)

Move the generic ARM disassembler from arm32/arm32 to arm/arm.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jan 11 23:27:26 2001 UTC (17 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.1: +5 -1 lines
Diff to previous 1.1 (colored)

Start merging actual code in arm32 and arm26:
arm32/arm32/in_cksum_arm32.c -> arm/arm/in_cksum_arm.c

Also move specification of other checksum stuff to files.arm, even though we
use the MI code for that.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jan 10 18:33:47 2001 UTC (17 years, 5 months ago) by bjh21
Branch: MAIN

Empty file to keep config happy.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>