The NetBSD Project

CVS log for src/sys/arch/evbarm/integrator/integrator_machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / evbarm / integrator

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.71.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:54 2014 UTC (3 years, 3 months ago) by tls
Branch: tls-maxphys
Changes since 1.71.2.2: +6 -6 lines
Diff to previous 1.71.2.2 (colored) next main 1.72 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.68.2.2 / (download) - annotate - [select for diffs], Thu May 22 11:39:41 2014 UTC (3 years, 6 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.68.2.1: +45 -434 lines
Diff to previous 1.68.2.1 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.73.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:14 2013 UTC (4 years, 2 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.73: +6 -6 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

sync with head

Revision 1.74 / (download) - annotate - [select for diffs], Sun Aug 18 15:58:20 2013 UTC (4 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-nhusb, netbsd-8-base, netbsd-8, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, HEAD
Changes since 1.73: +6 -6 lines
Diff to previous 1.73 (colored)

<arm/locore.h> fallout (fixes some include ordering errors)

Revision 1.71.2.2 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:37 2013 UTC (4 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.71.2.1: +41 -430 lines
Diff to previous 1.71.2.1 (colored)

resync with head

Revision 1.73 / (download) - annotate - [select for diffs], Tue Feb 19 10:57:10 2013 UTC (4 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.72: +41 -430 lines
Diff to previous 1.72 (colored)

Add support for the ARM Integrator/CP from Sergio Lez.

The code hasn't been tested on real hardware, but INTEGRATOR_CP config
is useful for QEMU which supports it.

Revision 1.71.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:15 2012 UTC (5 years ago) by tls
Branch: tls-maxphys
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Tue Oct 30 17:19:23 2012 UTC (5 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.68: +47 -40 lines
Diff to previous 1.68 (colored)

sync with head

Revision 1.72 / (download) - annotate - [select for diffs], Sat Sep 22 00:33:39 2012 UTC (5 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Don't use an asm in pmap_activate to update the TTBR, use cpu_setttb instead
but add a second argument to it to indicate whether the TLB/caches need to be
flushed.  Default cortex to pmap_needs_fixup = 1.  But check the MMFR3 field
to see if the fixed can be skipped.
Use a cf_flag bit 0 to indicate whether the A9 L2 cache should disable (bit 0 = 1)
or enabeld (bit = 0).

With these changes, the A9 MMU can use traverse caches to do MMU tablewalks
Also, make sure all memory has the shareable bit for the A9.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Aug 16 18:22:43 2012 UTC (5 years, 3 months ago) by matt
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.70: +4 -15 lines
Diff to previous 1.70 (colored)

Move the standard definitions of the {UND,IRQ,FIQ,ABT}_STACK_SIZE to
<arm32/machdep.h>
Move the extern for cpu_reset_address to the same file.
Add cpu_reset_address_paddr.
Kill cpu_reset_v4_MMU_disable.
if cpu_reset_address is NULL, then the MMU will be disabled.

Revision 1.68.8.1 / (download) - annotate - [select for diffs], Thu Aug 9 06:36:48 2012 UTC (5 years, 3 months ago) by jdc
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.68: +44 -16 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

Pull up revisions:
  src/sys/arch/evbarm/dev/plcomreg.h revisions 1.2,1.3,1.4
  src/sys/arch/evbarm/conf/INTEGRATOR revision 1.65
  src/sys/arch/evbarm/dev/plcom.c revisions 1.34,1.35,1.36,1.37,1.38,1.39,1.40
  src/sys/arch/evbarm/ifpga/plcom_ifpga.c revisions 1.12,1.13,1.14
  src/sys/arch/evbarm/dev/plcomvar.h revisions 1.9,1.10,1.11
  src/sys/arch/evbarm/ifpga/plcom_ifpgavar.h revision 1.2
  src/sys/arch/arm/arm/cpufunc.c revisions 1.105,1.108
  src/sys/arch/arm/arm32/cpu.c revision 1.79
  src/sys/arch/arm/include/armreg.h revisions 1.49,1.54
  src/sys/arch/arm/arm32/pmap.c revision 1.229
  src/sys/arch/arm/arm32/arm32_machdep.c revision 1.77
  src/sys/arch/arm/include/cpu.h revision 1.64
  src/sys/arch/arm/arm/cpufunc_asm_arm1136.S revision 1.3
  src/sys/arch/arm/arm/cpufunc_asm_arm11x6.S revision 1.1
  src/sys/arch/arm/conf/files.arm revision 1.106
  src/sys/arch/arm/include/cpufunc.h revision 1.57
  src/sys/dev/sdmmc/sdhc.c revisions 1.14,1.24
  src/sys/dev/sdmmc/sdhcvar.h revisions 1.7,1.8
  src/sys/arch/evbarm/ifpga/ifpgareg.h revision 1.4
  src/sys/arch/evbarm/integrator/integrator_machdep.c revision 1.69
  src/sys/arch/arm/broadcom/bcm2835_dma.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_emmc.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_intr.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_intr.h revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_obio.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_plcom.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_pm.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_pmvar.h revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_space.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835_tmr.c revision 1.1
  src/sys/arch/arm/broadcom/bcm2835reg.h revision 1.1
  src/sys/arch/arm/broadcom/bcm2835var.h revision 1.1
  src/sys/arch/arm/broadcom/bcm_amba.h revision 1.1
  src/sys/arch/arm/broadcom/files.bcm2835 revision 1.1
  src/sys/arch/evbarm/Makefile revision 1.9
  src/sys/arch/evbarm/conf/RPI revision 1.1
  src/sys/arch/evbarm/conf/files.rpi revision 1.1
  src/sys/arch/evbarm/conf/mk.rpi revision 1.1
  src/sys/arch/evbarm/conf/std.rpi revision 1.1
  src/sys/arch/evbarm/rpi/genassym.cf revision 1.1
  src/sys/arch/evbarm/rpi/rpi.h revision 1.1
  src/sys/arch/evbarm/rpi/rpi_machdep.c revision 1.1
  src/sys/arch/evbarm/rpi/rpi_start.S revision 1.1,1.2
  src/etc/etc.evbarm/Makefile.inc revision 1.28
(requested by skrll in ticket #454).

don't mix #define<TAB> and #define<SPACE> in a file.

avoid warning with options PLCOM_DEBUG for INTEGRATOR.

Rename register values. No functional change - same code before and after.

Existing names are prefixed with PL01X_ where they're common between the
PL010 and the PL011. The PL010_/PL011_ prefixes are added where they're
found only on the respective chips.

Replace the simple_lock with a kmutex_t.  Update the locking to match
com(4) in the few places it didn't already.

DOH.  Replace a line that got accidently deleted in the last commit.

device_t/softc split
struct device * -> device_t
struct cfdata * -> cfdata_t

Add the 'Z' to the 1176 cpu product name.

ok matt@

Fix locking botch introduced in 1.36.

Fix a KASSERT. From/OK'ed by matt@

Fix racy softint dispatch that lead to KASSERT(si->si_active) in
softint_execute

Discussed with matt@. "Looks good to me"

Add the documented ARM11[37]6 Auxiliary control register defines.

Add support for the ARM1176JZS

Add a flag for the lack of LED_ON in HOST_CTL (ti omap3 doesn't do that).

Provide a method for attachments to specify capabilites.

Add support for the PL011 to plcom. Pull across a bunch of fixes from
com(4) while I'm here and do some other tidyup.

Tested on a RaspberryPi.

PL010 not tested.

Initial commit of support for the RaspberryPI (www.raspberrypi.org)

This is enough for serial console via the gpio header pins and to get to
multiuser.

A huge thank you to Matt Thomas for all his help.

Add RPI to KERNEL_SETS

Remove #if 0 code.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Jul 29 00:07:08 2012 UTC (5 years, 3 months ago) by matt
Branch: MAIN
Changes since 1.69: +2 -12 lines
Diff to previous 1.69 (colored)

Fix more -fno-common fallout.
Move more variables to common locations.

Revision 1.69 / (download) - annotate - [select for diffs], Wed Jul 25 07:26:18 2012 UTC (5 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.68: +44 -16 lines
Diff to previous 1.68 (colored)

Add support for the PL011 to plcom. Pull across a bunch of fixes from
com(4) while I'm here and do some other tidyup.

Tested on a RaspberryPi.

PL010 not tested.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Jul 1 20:39:34 2011 UTC (6 years, 4 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, jmcneill-usbmp-pre-base2, 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, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, netbsd-6
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

#include <sys/bus.h> instead of <machine/bus.h>.

Revision 1.67 / (download) - annotate - [select for diffs], Thu Jun 30 20:09:24 2011 UTC (6 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (colored)

dependant -> dependent

Revision 1.57.10.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:15 2010 UTC (7 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57.10.3: +4 -8 lines
Diff to previous 1.57.10.3 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

sync with head

Revision 1.66 / (download) - annotate - [select for diffs], Sat Dec 26 16:01:24 2009 UTC (7 years, 10 months ago) by uebayasi
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.65: +1 -1 lines
Diff to previous 1.65 (colored)

Use cpu_* prefix to call cpu_* functions (setttb() -> cpu_setttb()); no
functional changes.

Revision 1.65 / (download) - annotate - [select for diffs], Sat Dec 26 15:47:15 2009 UTC (7 years, 10 months ago) by uebayasi
Branch: MAIN
Changes since 1.64: +2 -3 lines
Diff to previous 1.64 (colored)

Garbage collect an unused global, vm_offset_t pagetables_start.

Revision 1.64 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:07 2009 UTC (7 years, 11 months ago) by rmind
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.63: +3 -3 lines
Diff to previous 1.63 (colored)

- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places.  Reduce sys/user.h inclusions.

Revision 1.63 / (download) - annotate - [select for diffs], Thu Nov 26 00:19:14 2009 UTC (7 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.62: +3 -6 lines
Diff to previous 1.62 (colored)

Kill proc0paddr.  Use lwp0.l_addr instead.

Revision 1.57.10.3 / (download) - annotate - [select for diffs], Wed Aug 19 18:46:07 2009 UTC (8 years, 3 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57.10.2: +2 -3 lines
Diff to previous 1.57.10.2 (colored) to branchpoint 1.57 (colored)

sync with head.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Aug 11 17:04:16 2009 UTC (8 years, 3 months ago) by matt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7
Changes since 1.61: +2 -3 lines
Diff to previous 1.61 (colored)

Remove all declarations of physmem from sys/arch.  Add an include of
<sys/systm.h> to the one file that did not already contain it.
This now means that physmem can be changed by updating systm.h and uvm_page.c
(excluding fixing printfs)

Revision 1.57.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:58 2009 UTC (8 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57.10.1: +5 -7 lines
Diff to previous 1.57.10.1 (colored) to branchpoint 1.57 (colored)

sync with head.

Revision 1.58.8.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:04 2009 UTC (8 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.58: +5 -7 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Sync with HEAD.

Revision 1.57.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:27:58 2009 UTC (8 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.57.6.1: +3 -5 lines
Diff to previous 1.57.6.1 (colored) to branchpoint 1.57 (colored) next main 1.58 (colored)

Sync with HEAD.

Revision 1.58.6.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:08 2008 UTC (8 years, 11 months ago) by haad
Branch: haad-dm
Changes since 1.58: +5 -7 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Nov 30 18:21:33 2008 UTC (8 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: 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, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.60: +2 -7 lines
Diff to previous 1.60 (colored)

As discussed on tech-kern: mutex_init is too heavyweight for early bootstrap
phases, so move the initialization of the ksyms mutex back into main via
a function called ksyms_init. Rename the existing (but quite different)
ksyms_init* variations into ksyms_addsyms_elf() and ksyms_addsyms_explicit()
and adapt machdep code accordingly.

Revision 1.60 / (download) - annotate - [select for diffs], Wed Nov 12 12:35:59 2008 UTC (9 years ago) by ad
Branch: MAIN
Changes since 1.59: +3 -3 lines
Diff to previous 1.59 (colored)

Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.

Revision 1.59 / (download) - annotate - [select for diffs], Tue Nov 11 06:46:41 2008 UTC (9 years ago) by dyoung
Branch: MAIN
Changes since 1.58: +5 -2 lines
Diff to previous 1.58 (colored)

It is not appropriate to call pmf_system_shutdown(9) from
doshutdownhooks(9): shutdown hooks registered by shutdownhook_establish(9)
expect to be called with interrupts disabled, but shutdown hooks
registered with pmf_device_register1(9) expect to be called with
interrupts enabled.  So I have made two changes:

1 Do not call pmf_system_shutdown() from doshutdownhooks().  Instead,
change every call to doshutdownhooks() to a call to doshutdownhooks()
followed by a call to pmf_system_shutdown().  No functional change
is intended by this change.

2 Make i386 re-enable interrupts briefly while it calls
pmf_system_shutdown().  I leave it to others either to fix the
other ports, or to factor out some MI shutdown code, as joerg@
suggests, and fix that.  Note that a functional change *is* intended
by this change.

I hope that this patch will stop us from flip-flopping between
calling doshutdownhooks() and pmf_system_shutdown() sometimes with
and sometimes without interrupts enabled.

Revision 1.57.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:02 2008 UTC (9 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.57: +3 -8 lines
Diff to previous 1.57 (colored)

Sync with HEAD.

Revision 1.57.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:49 2008 UTC (9 years, 6 months ago) by yamt
Branch: yamt-pf42
Changes since 1.57: +3 -8 lines
Diff to previous 1.57 (colored) next main 1.58 (colored)

sync with head.

Revision 1.57.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:14 2008 UTC (9 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.57: +3 -8 lines
Diff to previous 1.57 (colored)

sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Apr 27 18:58:46 2008 UTC (9 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, 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-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: nick-hppapmap, haad-dm
Changes since 1.57: +3 -8 lines
Diff to previous 1.57 (colored)

Merge kernel changes in matt-armv6 to HEAD.

Revision 1.56.38.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:59 2008 UTC (9 years, 8 months ago) by matt
Branch: matt-armv6
Changes since 1.56.38.1: +2 -14 lines
Diff to previous 1.56.38.1 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

sync with HEAD

Revision 1.56.34.1 / (download) - annotate - [select for diffs], Thu Feb 28 21:47:50 2008 UTC (9 years, 8 months ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.56: +2 -14 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with HEAD.

Revision 1.56.44.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:27 2008 UTC (9 years, 9 months ago) by mjf
Branch: mjf-devfs
Changes since 1.56: +2 -14 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with HEAD.

Revision 1.53.10.2 / (download) - annotate - [select for diffs], Mon Jan 21 09:36:12 2008 UTC (9 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53.10.1: +2 -14 lines
Diff to previous 1.53.10.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

sync with head

Revision 1.56.52.1 / (download) - annotate - [select for diffs], Sun Jan 20 17:51:13 2008 UTC (9 years, 10 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.56: +2 -14 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with HEAD

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jan 19 13:11:15 2008 UTC (9 years, 10 months ago) by chris
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.56: +2 -14 lines
Diff to previous 1.56 (colored)

Remove arm support for IPKDB.

It hasn't worked since arm was broken out from arm32 in Jan 2001, and
no-one has noticed or cared to fix it.

Revision 1.56.38.1 / (download) - annotate - [select for diffs], Fri Nov 9 05:37:57 2007 UTC (10 years ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.56: +3 -8 lines
Diff to previous 1.56 (colored)

Make all the evbarm kernels build again.  Fix lossage from rebase.

Revision 1.55.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:38:46 2006 UTC (11 years, 2 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.55: +3 -2 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

sync with head

Revision 1.53.10.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:50:47 2006 UTC (11 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53: +5 -4 lines
Diff to previous 1.53 (colored)

sync with head.

Revision 1.55.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:34:19 2006 UTC (11 years, 5 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.55: +3 -2 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Sync with head.

Revision 1.55.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:47:54 2006 UTC (11 years, 6 months ago) by tron
Branch: peter-altq
Changes since 1.55: +3 -2 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.55.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:56:46 2006 UTC (11 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.55: +3 -2 lines
Diff to previous 1.55 (colored) next main 1.56 (colored)

sync with head.

Revision 1.56 / (download) - annotate - [select for diffs], Wed May 17 04:22:46 2006 UTC (11 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, 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-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-base, jmcneill-pm-base, jmcneill-pm, jmcneill-base, gdamore-uart-base, gdamore-uart, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, chap-midi, bouyer-xeni386-merge1, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: mjf-devfs, matt-armv6, hpcarm-cleanup, bouyer-xeni386
Changes since 1.55: +3 -2 lines
Diff to previous 1.55 (colored)

in initarm(), initialise kernel_l1pt.pv_va as well as kernel_l1pt.pv_pa.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Dec 24 22:45:34 2005 UTC (11 years, 11 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq
Changes since 1.54: +4 -4 lines
Diff to previous 1.54 (colored)

bare asm -> __asm

Revision 1.54 / (download) - annotate - [select for diffs], Sun Dec 11 12:17:09 2005 UTC (11 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

merge ktrace-lwp.

Revision 1.42.2.5 / (download) - annotate - [select for diffs], Sat Dec 18 09:31:02 2004 UTC (12 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.42.2.4: +4 -4 lines
Diff to previous 1.42.2.4 (colored) next main 1.43 (colored)

Sync with HEAD.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Dec 12 21:03:06 2004 UTC (12 years, 11 months ago) by abs
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, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge
Branch point for: yamt-lazymbuf
Changes since 1.52: +3 -3 lines
Diff to previous 1.52 (colored)

Fix comments regarding configration bounaries

Revision 1.52 / (download) - annotate - [select for diffs], Sun Dec 12 20:42:53 2004 UTC (12 years, 11 months ago) by abs
Branch: MAIN
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

Fix comments slighly

Revision 1.42.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:14:47 2004 UTC (13 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.42.2.3: +2 -2 lines
Diff to previous 1.42.2.3 (colored)

Fix the sync with head I botched.

Revision 1.42.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:33:45 2004 UTC (13 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.42.2.2: +2 -2 lines
Diff to previous 1.42.2.2 (colored)

Sync with HEAD.

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Thu Aug 12 11:41:03 2004 UTC (13 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.42.2.1: +4 -4 lines
Diff to previous 1.42.2.1 (colored)

Sync with HEAD.

Revision 1.51 / (download) - annotate - [select for diffs], Sat Aug 7 11:20:53 2004 UTC (13 years, 3 months ago) by rearnsha
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored)

Don't use vector_page before it's been initialized.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:34:01 2004 UTC (13 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.42: +75 -79 lines
Diff to previous 1.42 (colored)

Sync with HEAD

Revision 1.50 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:12 2004 UTC (13 years, 9 months ago) by wiz
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.49: +3 -3 lines
Diff to previous 1.49 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.49 / (download) - annotate - [select for diffs], Sat Sep 6 12:58:48 2003 UTC (14 years, 2 months ago) by rearnsha
Branch: MAIN
Changes since 1.48: +2 -3 lines
Diff to previous 1.48 (colored)

Remove include of ifpga/irqhandler.h.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Sep 6 11:33:23 2003 UTC (14 years, 2 months ago) by rearnsha
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Switch to using generic soft interrupts.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Sep 6 10:57:12 2003 UTC (14 years, 2 months ago) by rearnsha
Branch: MAIN
Changes since 1.46: +61 -70 lines
Diff to previous 1.46 (colored)

General cleanups of the bootstrap code

Revision 1.46 / (download) - annotate - [select for diffs], Sat Sep 6 10:28:26 2003 UTC (14 years, 2 months ago) by rearnsha
Branch: MAIN
Changes since 1.45: +11 -4 lines
Diff to previous 1.45 (colored)

When an Integrator board has less than 256M of SDRAM fitted, the
memory that is "obscured" by the SSRAM is visible at a wrapped address.
So we can use the full amount of SDRAM in almost all cases.

Revision 1.45 / (download) - annotate - [select for diffs], Sat Sep 6 10:21:19 2003 UTC (14 years, 2 months ago) by rearnsha
Branch: MAIN
Changes since 1.44: +2 -6 lines
Diff to previous 1.44 (colored)

Remove a verbose-boot message that kills the bootstrap (since the
console port mapping has just been moved).

Revision 1.44 / (download) - annotate - [select for diffs], Sat Sep 6 10:18:07 2003 UTC (14 years, 2 months ago) by rearnsha
Branch: MAIN
Changes since 1.43: +3 -3 lines
Diff to previous 1.43 (colored)

The third argument to pmap_map_chunk is the pa not the va.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Jul 15 00:25:00 2003 UTC (14 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.42: +4 -1 lines
Diff to previous 1.42 (colored)

__KERNEL_RCSID()

Revision 1.42 / (download) - annotate - [select for diffs], Sun Jun 15 17:45:24 2003 UTC (14 years, 5 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.41: +7 -30 lines
Diff to previous 1.41 (colored)

Replace the ad-hoc "section mapping table" for static device mappings
with a more generic "devmap" structure that can also handle mappings
made with large and small pages.  Add new pmap routines to enter these
mappings during bootstrap (and "remember" the devmap), and routines to
look up the static mappings once the kernel is running.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Jun 14 17:01:10 2003 UTC (14 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Also pass a type argument to comcnattach() and com_kgdb_attach().
comspeed() (and thus cominit()) may need this information.

Revision 1.40 / (download) - annotate - [select for diffs], Thu May 22 05:47:08 2003 UTC (14 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.39: +7 -1 lines
Diff to previous 1.39 (colored)

Move KERNEL_VM_SIZE into the C files where its used.

Revision 1.39 / (download) - annotate - [select for diffs], Wed May 21 22:48:22 2003 UTC (14 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

Move KERNEL_VM_BASE inside where it is used (it won't be there for long).

Revision 1.38 / (download) - annotate - [select for diffs], Sat May 17 23:47:00 2003 UTC (14 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.37: +21 -5 lines
Diff to previous 1.37 (colored)

Decrease the verbosity level unless VERBOSE_INIT_ARM is defiend.

Revision 1.37 / (download) - annotate - [select for diffs], Mon May 5 13:29:44 2003 UTC (14 years, 6 months ago) by he
Branch: MAIN
Changes since 1.36: +1 -2 lines
Diff to previous 1.36 (colored)

Remove declaration of unused local variable: kernel_ptpt.

Revision 1.36 / (download) - annotate - [select for diffs], Sat May 3 18:25:31 2003 UTC (14 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.35: +5 -1 lines
Diff to previous 1.35 (colored)

Don't expose KERNEL_TEXT_BASE outside of board-specific code.  This gives
individual board start-up code more flexibility about where the kernel
starts in the kernel address space.

Revision 1.35 / (download) - annotate - [select for diffs], Sat May 3 03:49:05 2003 UTC (14 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.34: +3 -2 lines
Diff to previous 1.34 (colored)

Reduce differences between ARM32_NEW_VM_LAYOUT and not; always pass
the start and end of the kernel managed virtual address space to
pmap_bootstrap() in the new pmap.

Revision 1.34 / (download) - annotate - [select for diffs], Sat May 3 03:29:08 2003 UTC (14 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +1 -63 lines
Diff to previous 1.33 (colored)

Remove old pmap support for platforms which have fully switched over.

Revision 1.33 / (download) - annotate - [select for diffs], Sat May 3 00:39:22 2003 UTC (14 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +42 -1 lines
Diff to previous 1.32 (colored)

Switch Integrator, IXM1200, and SMDK2800 to ARM32_PMAP_NEW.  These
are the last of the ARM platforms to be converted.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Apr 26 11:05:10 2003 UTC (14 years, 7 months ago) by ragge
Branch: MAIN
Changes since 1.31: +8 -5 lines
Diff to previous 1.31 (colored)

Call ksyms_init() instead of ddb_init() in case of
	NKSYMS || defined(DDB) || defined(LKM)

Revision 1.31 / (download) - annotate - [select for diffs], Wed Apr 2 03:49:25 2003 UTC (14 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +25 -19 lines
Diff to previous 1.30 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Apr 1 21:27:24 2003 UTC (14 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.29: +2 -3 lines
Diff to previous 1.29 (colored)

There are two #defines of CONSPEED in here; didn't make sense to me.

Revision 1.22.4.2 / (download) - annotate - [select for diffs], Fri Feb 14 22:22:40 2003 UTC (14 years, 9 months ago) by he
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001
Changes since 1.22.4.1: +2 -2 lines
Diff to previous 1.22.4.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Revert pull-up of revision 1.26 (requested by rearnsha in ticket #1170):
  Revert cached memory access to L1 tables, this causes instability
  on the release branch.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jan 17 22:45:40 2003 UTC (14 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Merge the nathanw_sa branch.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Thu Nov 21 20:16:22 2002 UTC (15 years ago) by he
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH001-RC1
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Pull up revision 1.26 (requested by thorpej in ticket #712):
  Do cached memory access to L1 tables, making sure to
  write-back the cache after any L1 table modifications.

Revision 1.4.2.9 / (download) - annotate - [select for diffs], Fri Oct 18 02:36:29 2002 UTC (15 years, 1 month ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.4.2.8: +2 -2 lines
Diff to previous 1.4.2.8 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Catch up to -current.

Revision 1.6.2.7 / (download) - annotate - [select for diffs], Thu Oct 10 18:32:25 2002 UTC (15 years, 1 month ago) by jdolecek
Branch: kqueue
Changes since 1.6.2.6: +2 -2 lines
Diff to previous 1.6.2.6 (colored) next main 1.7 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.28 / (download) - annotate - [select for diffs], Fri Sep 27 15:35:59 2002 UTC (15 years, 1 month ago) by provos
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

remove trailing \n in panic().  approved perry.

Revision 1.6.2.6 / (download) - annotate - [select for diffs], Fri Sep 6 08:34:06 2002 UTC (15 years, 2 months ago) by jdolecek
Branch: kqueue
Changes since 1.6.2.5: +229 -253 lines
Diff to previous 1.6.2.5 (colored)

sync kqueue branch with HEAD

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Fri Aug 30 00:19:34 2002 UTC (15 years, 2 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.22.2.1: +12 -5 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

catch up with -current.

Revision 1.4.2.8 / (download) - annotate - [select for diffs], Tue Aug 27 06:03:18 2002 UTC (15 years, 3 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.4.2.7: +5 -5 lines
Diff to previous 1.4.2.7 (colored) to branchpoint 1.4 (colored)

Sync with -current.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Aug 24 02:16:32 2002 UTC (15 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.26: +4 -4 lines
Diff to previous 1.26 (colored)

Enable caching on kernel and user page tables.  This saves having
to do uncached memory access during VM operations (which can be
quite expensive on some CPUs).

We currently write-back PTEs as soon as they're modified; there is
some room for optimization (to write them back in larger chunks).
For PTEs in the APTE space (i.e. PTEs for pmaps that describe another
process's address space), PTEs must also be evicted from the cache
complete (PTEs in PTE space will be evicted durint a context switch).

Revision 1.26 / (download) - annotate - [select for diffs], Wed Aug 21 18:34:32 2002 UTC (15 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

Do cached memory access to L1 tables, making sure to write-back the
cache after any L1 table modifications.

Revision 1.4.2.7 / (download) - annotate - [select for diffs], Thu Aug 1 02:41:35 2002 UTC (15 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.2.6: +226 -247 lines
Diff to previous 1.4.2.6 (colored) to branchpoint 1.4 (colored)

Catch up to -current.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jul 31 00:20:53 2002 UTC (15 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +8 -2 lines
Diff to previous 1.24 (colored)

Move the calls to uvm_page_physload() out of pmap_bootstrap() and
into platform-specific initialization code, giving platform-specific
code control over which free list a given chunk of memory gets put
onto.

Changes are essentially mechanical.  Test compiled for all ARM
platforms, test booted on Intel IQ80321 and Shark.

Discussed some time ago on port-arm.

Revision 1.24 / (download) - annotate - [select for diffs], Tue Jul 30 16:16:41 2002 UTC (15 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

Move the uvm_setpagesize() call to platform-dependent code in preparation
for other changes to pmap_bootstrap().

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Tue Jul 16 01:38:08 2002 UTC (15 years, 4 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.22: +219 -247 lines
Diff to previous 1.22 (colored)

catch up with -current.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jul 8 16:20:07 2002 UTC (15 years, 4 months ago) by rearnsha
Branch: MAIN
Changes since 1.22: +219 -247 lines
Diff to previous 1.22 (colored)

Changes to allow for the fact that the kernel is now mapped at
0xc0200000.  Tidy up to remove dead comments and code.
Allow more than one L1 entry for the kernel space and use the 'spare'
memory below the kernel code for the initial page tables in the same
way that the iq80310 does.

Revision 1.4.2.6 / (download) - annotate - [select for diffs], Mon Jun 24 22:04:26 2002 UTC (15 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.2.5: +2 -2 lines
Diff to previous 1.4.2.5 (colored) to branchpoint 1.4 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.6.2.5 / (download) - annotate - [select for diffs], Sun Jun 23 17:35:41 2002 UTC (15 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.6.2.4: +20 -80 lines
Diff to previous 1.6.2.4 (colored)

catch up with -current on kqueue branch

Revision 1.4.2.5 / (download) - annotate - [select for diffs], Wed Apr 17 00:02:57 2002 UTC (15 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.2.4: +13 -77 lines
Diff to previous 1.4.2.4 (colored) to branchpoint 1.4 (colored)

Catch up to -current.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Apr 12 06:13:42 2002 UTC (15 years, 7 months ago) by thorpej
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.21: +1 -57 lines
Diff to previous 1.21 (colored)

Remove footbridge-specific stuff that will never apply on the Integrator.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Apr 5 16:58:08 2002 UTC (15 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +8 -8 lines
Diff to previous 1.20 (colored)

* Rewrite the 32-bit ARM pte.h based on the ARM architecture manual.
  Significant cleanup, here, including better PTE bit names.
* Add XScale PTE extensions (ECC enable, write-allocate cache mode).
* Mechanical changes everywhere else to update for new pte.h.  While
  doing this, two bugs (as a result of typos) were fixed in

	arm/arm32/bus_dma.c
	evbarm/integrator/int_bus_dma.c

Revision 1.20 / (download) - annotate - [select for diffs], Wed Apr 3 23:33:32 2002 UTC (15 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +6 -14 lines
Diff to previous 1.19 (colored)

Clean up handling of the vector page on 32-bit ARM systems:
* Don't refer to VA 0, instead refer to a new variable: vector_page
* Delete the old zero_page_*() functions, replacing them with a new
  one: vector_page_setprot().
* When manipulating vector page mappings in user pmaps, only do so if
  the vector page is below KERNEL_BASE (if it's above KERNEL_BASE, the
  vector page is mapped by the kernel pmap).
* Add a new function, arm32_vector_init(), which takes the virtual
  address of the vector page (which MUST be valid when the function
  is called) and a bitmask of vectors the kernel is going to take
  over, and performs all vector page initialization, including setting
  the V bit in the CPU Control register ("relocate vectors to high
  address"), if necessary.

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:39:47 2002 UTC (15 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.2.3: +11 -7 lines
Diff to previous 1.4.2.3 (colored) to branchpoint 1.4 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.19 / (download) - annotate - [select for diffs], Mon Mar 25 04:51:20 2002 UTC (15 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored)

* Fix use of pmap_curmaxkvaddr.
* Use the PTP hint in the pmap.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Mar 23 02:22:58 2002 UTC (15 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +6 -6 lines
Diff to previous 1.17 (colored)

* Rename PROCESS_PAGE_TBLS_BASE -> PTE_BASE
* Rename ALT_PAGE_TBLS_BASE -> APTE_BASE
* Garbage-collect PAGE_TABLE_SPACE_START

Revision 1.6.2.4 / (download) - annotate - [select for diffs], Sat Mar 16 15:57:27 2002 UTC (15 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.6.2.3: +79 -65 lines
Diff to previous 1.6.2.3 (colored)

Catch up with -current.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Mar 3 11:23:00 2002 UTC (15 years, 8 months ago) by chris
Branch: MAIN
CVS Tags: newlock-base, newlock, eeh-devprop-base, eeh-devprop
Changes since 1.16: +5 -2 lines
Diff to previous 1.16 (colored)

Implement pmap_growkernel for arm32 based ports.
Note that this has been compiled on some systems, cats, IQ80310, IPAQ, netwinder and shark (note that shark's build is currently broken due to other reasons), but only actually run on cats.
Shark doesn't make use of the functionality as I believe there has to be a correlation between OFW and the kernel tables so that calls into OFW work.

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Thu Feb 28 04:09:13 2002 UTC (15 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.2.2: +77 -65 lines
Diff to previous 1.4.2.2 (colored) to branchpoint 1.4 (colored)

Catch up to -current.

Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 22 17:26:36 2002 UTC (15 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: ifpoll-base
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Fix the "va" argument to pmap_map_entry() when mapping kernel_ptpt.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 22 04:49:20 2002 UTC (15 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.14: +13 -13 lines
Diff to previous 1.14 (colored)

Change pmap_map_entry() to work like pmap_map_chunk(): take a pointer
to the L1 table and a virtual address, and no pointer to the L2 table.
The L2 table will be looked up by pmap_map_entry(), which will panic
if the there is no L2 table for the requested VA.

NOTE: IT IS EXTREMELY IMPORTANT THAT THE CORRECT VIRTUAL ADDRESS
BE PROVIDED TO pmap_map_entry()!  Notably, the code that mapped
the kernel L2 tables into the kernel PT mapping L2 table were not
passing actual virtual addresses, but rather offsets into the range
mapped by the L2 table.  I have fixed up all of these call sites,
and tested the resulting kernel on both an IQ80310 and a Shark.
Other portmasters should examine their pmap_map_entry() calls if
their new kernels fail.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Feb 21 21:58:02 2002 UTC (15 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.13: +29 -31 lines
Diff to previous 1.13 (colored)

Keep track of which kernel PTs are available during bootstrap,
and let pmap_map_chunk() lookup the correct one to use for the
current VA.  Eliminate the "l2table" argument to pmap_map_chunk().

Add a second L2 table for mapping kernel text/data/bss on the
IQ80310 (fixes booting kernels with ramdisks).

Revision 1.13 / (download) - annotate - [select for diffs], Thu Feb 21 05:25:24 2002 UTC (15 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +19 -13 lines
Diff to previous 1.12 (colored)

Always pass the L1 table to pmap_map_chunk().  This allows pmap_map_chunk()
to perform some error checking.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Feb 21 02:52:21 2002 UTC (15 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.11: +23 -25 lines
Diff to previous 1.11 (colored)

map_chunk() -> pmap_map_chunk(), and move it to pmap.c

Revision 1.11 / (download) - annotate - [select for diffs], Wed Feb 20 20:41:17 2002 UTC (15 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.10: +5 -6 lines
Diff to previous 1.10 (colored)

map_pagetable() -> pmap_link_l2pt(), and move it to pmap.c

Revision 1.10 / (download) - annotate - [select for diffs], Wed Feb 20 02:32:58 2002 UTC (15 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.9: +21 -16 lines
Diff to previous 1.9 (colored)

Collapse map_entry{,ro,nc}() into a single pmap_map_entry() that
takes a prot and a "cacheable" indicator.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Feb 20 00:10:18 2002 UTC (15 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +16 -11 lines
Diff to previous 1.8 (colored)

Rename map_section() to pmap_map_section(), move it to pmap.c, and give it
an extra argument (prot - specifies protection of the mapping).

Revision 1.6.2.3 / (download) - annotate - [select for diffs], Mon Feb 11 20:07:44 2002 UTC (15 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.6.2.2: +3 -2 lines
Diff to previous 1.6.2.2 (colored)

Sync w/ -current.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jan 30 04:00:47 2002 UTC (15 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Pull in <evbarm/ifpga/irqhandler.h> for now.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Jan 25 19:19:29 2002 UTC (15 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Overhaul of the ARM cache code.  This is mostly a simplification
pass.  Rather than providing a whole slew of cache operations that
aren't ever used, distill them down to some useful primitives:

	icache_sync_all         Synchronize I-cache
	icache_sync_range       Synchronize I-cache range

	dcache_wbinv_all        Write-back and Invalidate D-cache
	dcache_wbinv_range      Write-back and Invalidate D-cache range
	dcache_inv_range        Invalidate D-cache range
	dcache_wb_range         Write-back D-cache range

	idcache_wbinv_all       Write-back and Invalidate D-cache,
				Invalidate I-cache
	idcache_wbinv_range     Write-back and Invalidate D-cache,
				Invalidate I-cache range

Note: This does not yet include an overhaul of the actual asm files
that implement the primitives.  Instead, we've provided a safe default
for each CPU type, and the individual CPU types can now be optimized
one at a time.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:42:33 2002 UTC (15 years, 10 months ago) by thorpej
Branch: kqueue
Changes since 1.6.2.1: +971 -0 lines
Diff to previous 1.6.2.1 (colored)

Sync kqueue branch with -current.

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:24:26 2002 UTC (15 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.4.2.1: +971 -0 lines
Diff to previous 1.4.2.1 (colored) to branchpoint 1.4 (colored)

Catch up to -current.

Revision 1.6.2.1, Fri Nov 23 21:18:34 2001 UTC (16 years ago) by thorpej
Branch: kqueue
Changes since 1.6: +0 -971 lines
FILE REMOVED

file integrator_machdep.c was added on branch kqueue on 2002-01-10 19:42:33 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 23 21:18:34 2001 UTC (16 years ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Use <arm/undefined.h> instead of <machine/undefined.h>.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 23 17:23:43 2001 UTC (16 years ago) by thorpej
Branch: MAIN
Changes since 1.4: +1 -2 lines
Diff to previous 1.4 (colored)

No need to pull in <machine/pte.h> directly.

Revision 1.4.2.1, Fri Nov 9 07:21:39 2001 UTC (16 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.4: +0 -972 lines
FILE REMOVED

file integrator_machdep.c was added on branch nathanw_sa on 2002-01-08 00:24:26 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 9 07:21:39 2001 UTC (16 years ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Branch point for: nathanw_sa
Changes since 1.3: +4 -5 lines
Diff to previous 1.3 (colored)

Add some rudimentary support for ELF symbols in DDB on the ARM ports.
On platforms which load the kernel sans symbols directly from firmware
(possibly in e.g. S-Record format), call ddb_init() with empty arguments,
so that it will search any compiled in SYMTAB_SPACE.  On all other platforms,
if __ELF__, also call ddb_init() with empty arguments until ELF bootloaders
which pass symbol information are ready.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Nov 9 06:52:27 2001 UTC (16 years ago) by thorpej
Branch: MAIN
Changes since 1.2: +1 -2 lines
Diff to previous 1.2 (colored)

Remove unneeded declarations of the db_machine_init() function.  The
ARM ports are the only ones that actually have one, and it is about
to change.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Nov 9 00:34:36 2001 UTC (16 years ago) by thorpej
Branch: MAIN
Changes since 1.1: +1 -3 lines
Diff to previous 1.1 (colored)

Remove unnecessary prototypes for zero_page_read{only,write}().

Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 27 16:17:52 2001 UTC (16 years ago) by rearnsha
Branch: MAIN

Basic support for the Integrator/AP board.

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>