The NetBSD Project

CVS log for src/sys/arch/hp700/hp700/mainbus.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.83 / (download) - annotate - [select for diffs], Wed May 23 16:11:37 2012 UTC (12 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, tls-maxphys-nbase, tls-maxphys-base, tls-maxphys, khorben-n900, jmcneill-usbmp-base10, agc-symver-base, agc-symver, HEAD
Changes since 1.82: +2 -6 lines
Diff to previous 1.82 (colored)

Rework the hp700 interrupt code to

	- note chip restictions on interrupt in the kernel config
	- allocate interrupts at attach time
	- track per CPU interrupts
	- remove a funciton written in assembly

Revision 1.82 / (download) - annotate - [select for diffs], Tue Apr 3 12:07:26 2012 UTC (13 months, 3 weeks ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8
Changes since 1.81: +2 -19 lines
Diff to previous 1.81 (colored)

Kill cpu_gethpa by using the HPA stored in the cpu_info structure.

Revision 1.81 / (download) - annotate - [select for diffs], Thu Feb 23 21:38:53 2012 UTC (15 months ago) by skrll
Branch: MAIN
CVS Tags: jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3
Changes since 1.80: +114 -114 lines
Diff to previous 1.80 (colored)

u_intXX_t -> uintXX_t

Same code before and after.

Revision 1.80 / (download) - annotate - [select for diffs], Mon Jan 9 15:15:40 2012 UTC (16 months, 2 weeks ago) by martin
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.79: +4 -2 lines
Diff to previous 1.79 (colored)

Avoid a warning in kernels w/o LCD support

Revision 1.79 / (download) - annotate - [select for diffs], Wed Feb 23 08:27:17 2011 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

Fix call to pmap_update.

Revision 1.78 / (download) - annotate - [select for diffs], Thu Feb 3 20:37:09 2011 UTC (2 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: uebayasi-xip-base7, bouyer-quota2-base
Changes since 1.77: +4 -4 lines
Diff to previous 1.77 (colored)

Replace -1 with HP700CF_IRQ_UNDEF

Revision 1.77 / (download) - annotate - [select for diffs], Sun Jan 23 21:53:40 2011 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.76: +8 -14 lines
Diff to previous 1.76 (colored)

Detect and spin up non-boot CPUs.

Mostly from OpenBSD.

Revision 1.76 / (download) - annotate - [select for diffs], Thu Jan 13 21:15:15 2011 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.75: +17 -49 lines
Diff to previous 1.75 (colored)

Redo the way devices are found.

Probe "Snake" machines with PDC_MEMMAP and others with PDC_SYSTEM_MAP.

Some PDCs don't tell us about all devices and/or the whole device tree.
Walk each bus to find these unreported devices.

Revision 1.75 / (download) - annotate - [select for diffs], Tue Jan 4 10:42:34 2011 UTC (2 years, 4 months ago) by skrll
Branch: MAIN
Changes since 1.74: +23 -21 lines
Diff to previous 1.74 (colored)

Centralise the PDC procedure calls into one file and use a minimal set of
kernel data for PDC results.

Remove the filler components from the PDC structures as a result.

Other tidyups while here.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Dec 12 08:23:14 2010 UTC (2 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

Update struct pdc_model with hwmodel and hv fields for hvers.

Rename cpu_hvers to cpu_modelno.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Nov 15 06:24:53 2010 UTC (2 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.72: +3 -2 lines
Diff to previous 1.72 (colored)

struct proc * deref needs sys/proc.h.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Nov 12 06:54:56 2010 UTC (2 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: uebayasi-xip-base6
Changes since 1.71: +7 -2 lines
Diff to previous 1.71 (colored)

Add some more machines that need help with autoconf.

Slight variation on patch from Sergey Svishchev

Revision 1.71 / (download) - annotate - [select for diffs], Wed Jun 30 06:33:52 2010 UTC (2 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.70: +2 -6 lines
Diff to previous 1.70 (colored)

Remove some code that snuck in.

Revision 1.70 / (download) - annotate - [select for diffs], Tue Jun 1 10:20:29 2010 UTC (2 years, 11 months ago) by skrll
Branch: MAIN
Changes since 1.69: +33 -7 lines
Diff to previous 1.69 (colored)

Add the lcd(4) driver from OpenBSD.  Thanks to Adam Hoka for doing most of
the work.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Apr 30 15:49:40 2010 UTC (3 years ago) by skrll
Branch: MAIN
Changes since 1.68: +24 -20 lines
Diff to previous 1.68 (colored)

Note the PA of pages when allocated.

Simplify mapping of pages by traversing segs rather than the pageq and
calling VM_PAGE_TO_PHYS.

Only use PMAP_NOCACHE when hppa_cpu_hastlbu_p.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Apr 30 15:39:02 2010 UTC (3 years ago) by skrll
Branch: MAIN
Changes since 1.67: +8 -2 lines
Diff to previous 1.67 (colored)

Add two DPRINTFs

Revision 1.67 / (download) - annotate - [select for diffs], Fri Apr 23 15:04:09 2010 UTC (3 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.66: +33 -145 lines
Diff to previous 1.66 (colored)

Don't round the bus space map/unmap requests to page size, but keep track
of the exact regions requested.

Only ever map the whole FLEX area in when mapped and don't unmap.

G/C the BTLB stuff - it doesn't work. Maybe one day it will come back.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Apr 15 14:34:25 2010 UTC (3 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.65: +6 -6 lines
Diff to previous 1.65 (colored)

KNF

Revision 1.65 / (download) - annotate - [select for diffs], Thu Apr 15 14:33:22 2010 UTC (3 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.64: +3 -3 lines
Diff to previous 1.64 (colored)

printf -> aprint_normal

Revision 1.64 / (download) - annotate - [select for diffs], Fri Apr 2 15:24:18 2010 UTC (3 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.63: +7 -15 lines
Diff to previous 1.63 (colored)

Change #ifdef DIAGNOSITC tests+panic to KASSERTs.

Revision 1.63 / (download) - annotate - [select for diffs], Thu Apr 1 12:21:41 2010 UTC (3 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Whitespace.

Revision 1.62 / (download) - annotate - [select for diffs], Tue Feb 16 16:56:29 2010 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.61: +18 -66 lines
Diff to previous 1.61 (colored)

Remove the dma24_ex method of dealing with BUS_DMA_24BIT and replace
with a uvm managed freelist of pages in the right range.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Feb 12 22:34:39 2010 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.60: +4 -4 lines
Diff to previous 1.60 (colored)

More comment fixes.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Feb 12 22:31:05 2010 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.59: +45 -45 lines
Diff to previous 1.59 (colored)

Comment reformating and correction.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Feb 12 22:23:40 2010 UTC (3 years, 3 months ago) by skrll
Branch: MAIN
Changes since 1.58: +5 -4 lines
Diff to previous 1.58 (colored)

Just return if length of zero is passed to bus_dmamap_sync.

Revision 1.58 / (download) - annotate - [select for diffs], Wed Dec 2 13:49:32 2009 UTC (3 years, 5 months ago) by skrll
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.57: +23 -8 lines
Diff to previous 1.57 (colored)

Define DPRINTF and use it.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Dec 2 13:45:13 2009 UTC (3 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

Whitespace.

Revision 1.56 / (download) - annotate - [select for diffs], Wed Nov 11 16:08:31 2009 UTC (3 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

Use the new flags argument to pmap_kenter_pa for PMAP_NOCACHE.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:43 2009 UTC (3 years, 6 months ago) by cegger
Branch: MAIN
Changes since 1.54: +4 -4 lines
Diff to previous 1.54 (colored)

Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Nov 3 05:07:25 2009 UTC (3 years, 6 months ago) by snj
Branch: MAIN
Changes since 1.53: +3 -8 lines
Diff to previous 1.53 (colored)

Follow upstream license changes for files with Michael Shalayeff's
copyright.  In most cases, this means dropping the 3rd and 4th clauses.

Revision 1.53 / (download) - annotate - [select for diffs], Thu Jul 23 13:34:26 2009 UTC (3 years, 10 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, jymxensuspend-base
Changes since 1.52: +11 -3 lines
Diff to previous 1.52 (colored)

Provide bus_space_mmap. Still needs implementing.

Revision 1.52 / (download) - annotate - [select for diffs], Wed May 27 09:30:14 2009 UTC (3 years, 11 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-nfs-mp-base6, yamt-nfs-mp-base5
Changes since 1.51: +5 -5 lines
Diff to previous 1.51 (colored)

s/FLEX_MASK/HPPA_&/ for consistency.

No functional change.

Revision 1.51 / (download) - annotate - [select for diffs], Sun May 24 15:27:08 2009 UTC (4 years ago) by skrll
Branch: MAIN
Changes since 1.50: +3 -29 lines
Diff to previous 1.50 (colored)

Remove a bunch of garbage from previous.

Revision 1.50 / (download) - annotate - [select for diffs], Thu May 21 20:59:11 2009 UTC (4 years ago) by skrll
Branch: MAIN
Changes since 1.49: +30 -3 lines
Diff to previous 1.49 (colored)

Add mjf's d390 to the list of machines that need help finding devices.

hmm.

Revision 1.49 / (download) - annotate - [select for diffs], Fri May 8 09:33:58 2009 UTC (4 years ago) by skrll
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4
Changes since 1.48: +14 -14 lines
Diff to previous 1.48 (colored)

Whitespace.

Revision 1.48 / (download) - annotate - [select for diffs], Thu May 7 15:34:49 2009 UTC (4 years ago) by skrll
Branch: MAIN
Changes since 1.47: +15 -14 lines
Diff to previous 1.47 (colored)

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

There are a couple of MI drivers with MD attachments left.

Revision 1.47 / (download) - annotate - [select for diffs], Thu Apr 30 07:01:26 2009 UTC (4 years ago) by skrll
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3
Changes since 1.46: +53 -93 lines
Diff to previous 1.46 (colored)

Merge nick-hppapmap.

This is a port of the OpenBSD pmap and trap handling code to get us

        - Performance boost on some/all machines.
        - Well on the way to PA2.0 (in 32bit mode) support. Several
          machines probe hardware, but fail sometime after interrupts
          are enabled.

Other things changed / fixed on the branch are

        - update autoconf to use the OpenBSD code.
        - com @ dino is very close to being supported.
        - HPPA_REDZONE has been replaced with a working redzone which
          is enabled with DIAGNOSTIC.
        - UPAGES has been halved in size.
        - power(4) from OpenBSD to fix a few bugs.
        - updated list of modules from OpenBSD.
	- initial ports of uturn(4), astro(4) and elroy(4).
	- update some copyrights (remove advertising clause, etc.)

Thanks to mjf for some of the above, testing and listening.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:06 2009 UTC (4 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.45: +3 -6 lines
Diff to previous 1.45 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.45 / (download) - annotate - [select for diffs], Fri Jun 13 09:41:44 2008 UTC (4 years, 11 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, nick-hppapmap-base2, netbsd-5-base, 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, mjf-devfs2-base, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64, jym-xensuspend
Changes since 1.44: +3 -3 lines
Diff to previous 1.44 (colored)

use device_lookup_private to get softc

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jun 4 12:41:41 2008 UTC (4 years, 11 months ago) by ad
Branch: MAIN
Branch point for: simonb-wapbl
Changes since 1.43: +6 -6 lines
Diff to previous 1.43 (colored)

vm_page: put TAILQ_ENTRY into a union with LIST_ENTRY, so we can use both.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:19 2008 UTC (5 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.42: +2 -9 lines
Diff to previous 1.42 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.42 / (download) - annotate - [select for diffs], Sat Mar 29 15:59:26 2008 UTC (5 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored)

Tidyup the attachment of various devices in the same way as OpenBSD and
use the same name.

Must have been funny to someone.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Mar 24 08:34:06 2008 UTC (5 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, ad-socklock-base1
Changes since 1.40: +3 -3 lines
Diff to previous 1.40 (colored)

Typo in commit.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Mar 4 05:59:51 2007 UTC (6 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs2
Changes since 1.39: +11 -11 lines
Diff to previous 1.39 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Mar 3 14:37:54 2007 UTC (6 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.38: +5 -5 lines
Diff to previous 1.38 (colored)

Remove hppa_{round,trunc}_page.

Revision 1.38 / (download) - annotate - [select for diffs], Thu Feb 22 05:33:44 2007 UTC (6 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

TRUE -> true, FALSE -> false

Revision 1.37 / (download) - annotate - [select for diffs], Wed Feb 21 22:59:42 2007 UTC (6 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.36 / (download) - annotate - [select for diffs], Mon Oct 30 16:22:42 2006 UTC (6 years, 6 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, post-newlock2-merge, newlock2-nbase, newlock2-base, 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, matt-nb4-arm-base, matt-nb4-arm
Branch point for: yamt-idlelwp
Changes since 1.35: +5 -3 lines
Diff to previous 1.35 (colored)

KASSERT that the pmap_extract works in _bus_dmamap_load_buffer

Revision 1.35 / (download) - annotate - [select for diffs], Wed Oct 25 07:07:48 2006 UTC (6 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.34: +6 -5 lines
Diff to previous 1.34 (colored)

Whitespace fixes.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Oct 23 21:58:52 2006 UTC (6 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.33: +21 -21 lines
Diff to previous 1.33 (colored)

- mbus_dmamap_create: remove a redundant local.
- mbus_dmamap_sync: restructure/simplify code and add our our version of
  sync_caches that does sync; syncdma; sync. This is now smaller as a
  result.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Aug 26 06:07:28 2006 UTC (6 years, 9 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.32: +2 -12 lines
Diff to previous 1.32 (colored)

G/C dma_cachectl.

Revision 1.32 / (download) - annotate - [select for diffs], Wed Mar 1 12:38:11 2006 UTC (7 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, peter-altq-base, peter-altq, 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: yamt-pdpolicy
Changes since 1.31: +15 -20 lines
Diff to previous 1.31 (colored)

merge yamt-uio_vmspace branch.

- use vmspace rather than proc or lwp where appropriate.
  the latter is more natural to specify an address space.
  (and less likely to be abused for random purposes.)
- fix a swdmover race.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Dec 11 12:17:24 2005 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

merge ktrace-lwp.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Nov 24 13:08:33 2005 UTC (7 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3, ktrace-lwp-base
Changes since 1.29: +5 -3 lines
Diff to previous 1.29 (colored)

bus_dmamem_map: honour BUS_DMA_NOWAIT.  noted by Manuel Bouyer.
bus_space_map: always do NOWAIT allocation as it used to be before yamt-km.

we have too many copies!

Revision 1.29 / (download) - annotate - [select for diffs], Fri Aug 26 13:19:35 2005 UTC (7 years, 9 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

s/locdesc_t/int/g

Revision 1.28 / (download) - annotate - [select for diffs], Mon Jul 4 15:18:17 2005 UTC (7 years, 10 months ago) by drochner
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

some autoconf cleanup fallout, leftover of last week, mostly from
Havard Eidnes

Revision 1.27 / (download) - annotate - [select for diffs], Tue Jun 28 18:29:59 2005 UTC (7 years, 10 months ago) by drochner
Branch: MAIN
Changes since 1.26: +7 -5 lines
Diff to previous 1.26 (colored)

convert remaining autoconf bus "submatch" functions to use the new
signature (passing locators), and remove some which obviously don't
serve any purpose
(untested, sorry)

Revision 1.26 / (download) - annotate - [select for diffs], Fri May 20 15:09:45 2005 UTC (8 years ago) by chs
Branch: MAIN
Changes since 1.25: +70 -22 lines
Diff to previous 1.25 (colored)

only lvalues can be incremented.  found by gcc4.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:27 2005 UTC (8 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.24: +6 -4 lines
Diff to previous 1.24 (colored)

merge yamt-km branch.
- don't use managed mappings/backing objects for wired memory allocations.
  save some resources like pv_entry.  also fix (most of) PR/27030.
- simplify kernel memory management API.
- simplify pmap bootstrap of some ports.
- some related cleanups.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Jan 31 18:22:24 2005 UTC (8 years, 3 months ago) by jkunz
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, 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, matt-timespec
Changes since 1.23: +11 -5 lines
Diff to previous 1.23 (colored)

Disable use of BTLB mappings as BTLB handling is broken.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 28 17:38:51 2005 UTC (8 years, 3 months ago) by jkunz
Branch: MAIN
Changes since 1.22: +17 -3 lines
Diff to previous 1.22 (colored)

Implement powerd(8) interface via sysmon(9) for power switch, controllable by sysctl(8).

Revision 1.22 / (download) - annotate - [select for diffs], Tue Dec 14 02:32:02 2004 UTC (8 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.21: +4 -2 lines
Diff to previous 1.21 (colored)

use the generated macros in locators.h rather than hard-coded numbers
to index the cf_loc[] array.  reviewed by allen briggs.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Dec 13 02:14:13 2004 UTC (8 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.20: +7 -5 lines
Diff to previous 1.20 (colored)

for drivers that support only one instance, use a global variable to ensure
that only one instance is configured rather than requiring that its
unit number be zero.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Nov 28 17:34:45 2004 UTC (8 years, 5 months ago) by thorpej
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored)

bus_dmamap_load_mbuf(): Skip zero-length mbufs.
kern/24811

Revision 1.19 / (download) - annotate - [select for diffs], Mon Aug 2 11:53:02 2004 UTC (8 years, 9 months ago) by jkunz
Branch: MAIN
Changes since 1.18: +59 -22 lines
Diff to previous 1.18 (colored)

Rework code to scan for monarch CPU. (cpu0 at mainbus0)
CPU detection now works on E-class machines. (tested on E55)

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jul 27 22:16:40 2004 UTC (8 years, 9 months ago) by jkunz
Branch: MAIN
Changes since 1.17: +15 -4 lines
Diff to previous 1.17 (colored)

Implement bus_space_vaddr(9) and add flags for bus space map functions.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Feb 20 20:22:10 2004 UTC (9 years, 3 months ago) by jkunz
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.16: +261 -57 lines
Diff to previous 1.16 (colored)

Import ipmlementations for _bus_dmamap_load_buffer(), mbus_dmamap_load(), mbus_dmamap_load_mbuf(), mbus_dmamap_load_uio() and mbus_dmamem_mmap(), from sys/arc/vax/vax/bus_dma.c and rework mbus_dmamap_sync() based on sys/arc/arm/arm32/bus_dma.c.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jan 5 02:25:32 2004 UTC (9 years, 4 months ago) by chs
Branch: MAIN
Changes since 1.15: +11 -32 lines
Diff to previous 1.15 (colored)

add a PMAP_NC flag for pmap_kenter_pa() to specific a non-cached mapping.
use this in mbus_dmamem_map() to fix corruption of DMA memory.
note that this TLB bit is ignored on some CPUs (PA7100 and probably
others of that era), so this doesn't fix the problem in general,
but it does work on newer models and will make things easier later.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Nov 24 02:51:35 2003 UTC (9 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.14: +91 -113 lines
Diff to previous 1.14 (colored)

de-__P, remove register, ansify.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Nov 18 04:04:42 2003 UTC (9 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.13: +84 -14 lines
Diff to previous 1.13 (colored)

restructure autoconf for [ABCDJK]-class machines.  add phantomas bus.
adapted from OpenBSD by Jochen Kunz.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Aug 31 01:26:32 2003 UTC (9 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.12: +6 -6 lines
Diff to previous 1.12 (colored)

update for LWPs, and some lite cleanup.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jul 15 02:29:26 2003 UTC (9 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.11: +4 -1 lines
Diff to previous 1.11 (colored)

__KERNEL_RCSID()

Revision 1.11 / (download) - annotate - [select for diffs], Sat May 3 18:10:48 2003 UTC (10 years ago) by wiz
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

DMA, not dma nor Dma.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Apr 1 20:48:27 2003 UTC (10 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 1 01:35:43 2003 UTC (10 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, fvdl_fs64_base
Changes since 1.8: +6 -5 lines
Diff to previous 1.8 (colored)

Use aprint_normal() for cfprint routines.

Revision 1.8 / (download) - annotate - [select for diffs], Wed Oct 2 05:17:51 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.7: +3 -4 lines
Diff to previous 1.7 (colored)

Use CFATTACH_DECL().

Revision 1.7 / (download) - annotate - [select for diffs], Fri Sep 27 20:32:03 2002 UTC (10 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Declare all cfattach structures const.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Sep 27 03:17:52 2002 UTC (10 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller.  Use it
rather than invoking cfattach->ca_match directly.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Aug 25 20:20:01 2002 UTC (10 years, 9 months ago) by fredette
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.4: +191 -171 lines
Diff to previous 1.4 (colored)

No longer use BTLB entries to map the entire address spaces of I/O subsystems,
since BTLB entries can be scarce and very little of an I/O subsystem normally
needs to be mapped.

Instead, the pmap now allows mappings of I/O space to be entered with
pmap_kenter_pa.  bus_space mappings for small amounts of I/O space (as for
virtually all devices) are made this way, with BTLB entries still used for
large mappings for things like framebuffers.

This has led to more and cleaned-up uses of bus_space(9) and has caused
some autoconf cleanup.  Also, kgdb is now attached and connected before
autoconfiguration, which is much earlier than before.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 19 18:58:30 2002 UTC (10 years, 9 months ago) by fredette
Branch: MAIN
Changes since 1.3: +3 -2 lines
Diff to previous 1.3 (colored)

Cleaned up BTLB support.  There are no longer BTLB function pointers
in struct hppa_cpu_info or anywhere else, now there are just hppa_btlb_*
functions.  Added support for machines with split I/D and variable-range
BTLBs.  Added support for purging BTLB entries.

Revision 1.3 / (download) - annotate - [select for diffs], Fri Aug 16 15:02:40 2002 UTC (10 years, 9 months ago) by fredette
Branch: MAIN
Changes since 1.2: +24 -16 lines
Diff to previous 1.2 (colored)

This cleans up interrupts with respect to GSC bus chips and the devices
they contain.  IRQ information for these has been removed from the
kernel configuration file.  GSC bus chips now choose an available CPU
IRQ for themselves, and know IRQ information for all of the devices
they may contain.  Minor autoconfiguration changes support this.

Renamed the old-style vmstat interrupt counters to say "ipl" and not
"irq", since they've been disconnected from irq numbers.  Also provide
a function to allocate an irq bit from an interrupt register, and a
function to report the next ipl bit that will be allocated.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 11 19:39:38 2002 UTC (10 years, 9 months ago) by fredette
Branch: MAIN
Changes since 1.1: +12 -21 lines
Diff to previous 1.1 (colored)

Made changes to how bus_dmamap_sync() and the if_ie_gsc driver work
when it comes to flushing the cache.  These changes should eliminate
the "ie0: receive descriptors out of sync" and "ie0: reset" messages.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jun 6 19:48:06 2002 UTC (10 years, 11 months ago) by fredette
Branch: MAIN
Branch point for: kqueue, gehenna-devsw

Added hp700-specific files.  Still a work in progress.

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>