The NetBSD Project

CVS log for src/sys/arch/sparc/sparc/intr.c

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

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.117 / (download) - annotate - [select for diffs], Sun Apr 7 16:32:41 2013 UTC (6 weeks, 3 days ago) by jdc
Branch: MAIN
CVS Tags: khorben-n900, HEAD
Changes since 1.116: +5 -4 lines
Diff to previous 1.116 (colored)

When we receive a PCI PIO error, print the PCIC status register too.

Revision 1.116 / (download) - annotate - [select for diffs], Fri Apr 13 06:26:04 2012 UTC (13 months, 1 week ago) by mrg
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-nbase, tls-maxphys-base, tls-maxphys, jmcneill-usbmp-base9, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Changes since 1.115: +10 -2 lines
Diff to previous 1.115 (colored)

don't bother whining about bogusintr on zs.

Revision 1.115 / (download) - annotate - [select for diffs], Mon May 23 18:40:30 2011 UTC (2 years ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Changes since 1.114: +6 -11 lines
Diff to previous 1.114 (colored)

nmi_hard: convert nmi_hard_wait to use atomics.

OK mrg@

Revision 1.114 / (download) - annotate - [select for diffs], Tue Feb 15 10:59:25 2011 UTC (2 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: uebayasi-xip-base7, jym-xensuspend-nbase, jym-xensuspend-base, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.113: +4 -2 lines
Diff to previous 1.113 (colored)

- move nmi_sun4m intr counting into nmi_soft/nmi_hard.
- request the appropriate stack space for nmi_sun4m, in particular,
  make sure we have space for %g2...%g5.  now entering ddb via eg,
  serial break no longer causes cpu1 to fault.

Revision 1.113 / (download) - annotate - [select for diffs], Tue Feb 15 09:56:32 2011 UTC (2 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.112: +12 -3 lines
Diff to previous 1.112 (colored)

sprinkle some kpreempt_{dis,en}able() in various strategic points
we will need when we get to actually enabling kernel preemption.

Revision 1.112 / (download) - annotate - [select for diffs], Tue Feb 15 09:05:14 2011 UTC (2 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.111: +2 -3 lines
Diff to previous 1.111 (colored)

remove unused CPUFLG_READY and CPU_NOTREADY() macro.

Revision 1.111 / (download) - annotate - [select for diffs], Thu Jan 27 06:24:59 2011 UTC (2 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.110: +14 -44 lines
Diff to previous 1.110 (colored)

consolidate the interrupt evcnt(9) into a full set of per-IPL per-CPU
soft/hard counters.  beyond the extra info, it seems to help avoid some
of these counters getting corrupted due to unlocked multiple accesses.

adjust the xcallintr() from xcall() hack so that we don't count these
events as interrupts.  align the existing evcnt name to count this.

Revision 1.110 / (download) - annotate - [select for diffs], Thu Jan 27 05:31:14 2011 UTC (2 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.109: +6 -3 lines
Diff to previous 1.109 (colored)

to quote a new comment:

 * There's a deadlock potential between multiple CPUs trying
 * to xcall() at the same time, and the thread that loses the
 * race to get xpmsg_lock is at an IPL above the incoming IPI
 * IPL level, so it sits around waiting to take the lock while
 * the other CPU is waiting for this CPU to handle the IPI and
 * mark it as completed.
 *
 * If we fail to get the mutex, and we're at high enough IPL,
 * call xcallintr() if there is a valid msg.tag.

this seems to fix the xcall() failed to ping cpus problem.
idea from martin, tested by macallan and myself.

Revision 1.109 / (download) - annotate - [select for diffs], Sat Jan 22 10:37:22 2011 UTC (2 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.108: +15 -2 lines
Diff to previous 1.108 (colored)

XXX:

in strayintr() don't print about stray zs inters in MP case.

Revision 1.108 / (download) - annotate - [select for diffs], Tue Jan 5 21:38:50 2010 UTC (3 years, 4 months ago) by macallan
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Changes since 1.107: +9 -6 lines
Diff to previous 1.107 (colored)

fix a typo - we need to check classipl vs. IPL_VM, not the SBus interrupt
level

Revision 1.107 / (download) - annotate - [select for diffs], Sun Jan 3 23:03:21 2010 UTC (3 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.106: +5 -4 lines
Diff to previous 1.106 (colored)

add an explicit "bool mpsafe" to intr_establish().  only set it to true
for the sun4m timer/counter interrupts.  this gets lev10/14 working again
on SMP systems, where those interrupts started taking the kernel lock and
hanging...

Revision 1.106 / (download) - annotate - [select for diffs], Sun Jan 3 12:39:22 2010 UTC (3 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.105: +42 -12 lines
Diff to previous 1.105 (colored)

add two new members to struct intrhand: ih_realfun and ih_realarg, and
use them to take the kernel lock around non-IPL_VM interrupts, using
a intr_biglock_wrapper() function ike x86 does.

Revision 1.105 / (download) - annotate - [select for diffs], Fri Jun 5 01:36:07 2009 UTC (3 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, matt-premerge-20091211, jymxensuspend-base
Changes since 1.104: +35 -2 lines
Diff to previous 1.104 (colored)

convert sparc "intrcnt" counters to evcnt(9) style.  XXX some of the names
could be better, but i just copied them from the old intrnames in locore.

i benchmarked this with a simple test of ircii ./configure && make, to see
if the additional load/store & arith would cause any noticeable degradation
as the change also converts 32 bit counters to 64 bits.  amusingly, the
only trend i saw in this was that for both portions, i see a consistent
(across at least 8 runs) benefit of about 0.8% improvement.  ie, the newer
larger code size / counter size code actually runs faster for some reason..
maybe there's a cacheline effect in the size of the code?


XXX the current implementation depends on a couple of things:
XXX   - ev_count member of evcnt{} is first and has offset 0
XXX   - that sizeof(struct evcnt) equals 32
XXX if these are not true, locore.s has #error's to catch it

Revision 1.104 / (download) - annotate - [select for diffs], Wed May 27 02:19:50 2009 UTC (3 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.103: +3 -3 lines
Diff to previous 1.103 (colored)

- use _MAXNCPU instead of 4
- convert xpmsg_lock from a simplelock to a kmutex
- don't wait for sparc_noop IPI calls
- remove xmpsg_func's "retval" parameter and usage
- remove the IPI at high IPL message
- rework cpu_attach() a bunch, refactoring calls to getcpuinfo() and setting
  of cpi, and split most of the non-boot CPU handling into a new function
- make CPU_INFO_FOREACH() work whether modular or not
- move the MP cpu_info pages earlier
- move a few things in cpu.c around to colsolidate the MP code together
- remove useless if (cpus == NULL) tests -- cpus is an array now


with these changes, and an additional change to crazyintr() to not printf(),
i can get to single user shell on my SS20 again.  i can run a fwe commands
but some of them cause hangs.  "ps auxw" works, but "top -b" does not.


tested in UP LOCKDEBUG/DEBUG/DIAGNOSTIC kernel as well.
MP kernel with only cpu0 configured panics starting /sbin/init.
have not yet tested on a real UP machine.

Revision 1.103 / (download) - annotate - [select for diffs], Mon May 18 00:25:15 2009 UTC (4 years ago) by mrg
Branch: MAIN
Changes since 1.102: +4 -4 lines
Diff to previous 1.102 (colored)

also print the cpu_number() when we get a strayintr().

Revision 1.102 / (download) - annotate - [select for diffs], Tue Mar 10 23:58:20 2009 UTC (4 years, 2 months ago) by martin
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.101: +4 -2 lines
Diff to previous 1.101 (colored)

Work in progress from a colaborative effort of mrg and me (all bugs are
mine) - not quite working, but improves the situation for non-MULTIPROCESSOR
kernels (makes LOCKDEBUG kernels work) and does not make SMP kernels worse:

Rearange cpu_info access and hide the actual implementation of the mapping
from all parts of the code that do not directly deal with it. Do the
mapping early in pmap_bootstrap, so that post-vmlocking2 kernels have
a chance to work.

The actual mapping of the cpus array for SMP kernels has to be fixed still,
but both mrg and me ran out of time and this lay around in our trees far
too long.

Revision 1.101 / (download) - annotate - [select for diffs], Tue Dec 16 22:35:26 2008 UTC (4 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.100: +23 -24 lines
Diff to previous 1.100 (colored)

replace bitmask_snprintf(9) with snprintb(3)

Revision 1.100 / (download) - annotate - [select for diffs], Wed Jan 9 13:52:33 2008 UTC (5 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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, nick-net80211-sync-base, nick-net80211-sync, 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-devfs-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, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap, netbsd-5, mjf-devfs2, matt-nb5-mips64
Changes since 1.99: +4 -3 lines
Diff to previous 1.99 (colored)

Fix headers.

Revision 1.99 / (download) - annotate - [select for diffs], Tue Jan 8 21:32:11 2008 UTC (5 years, 4 months ago) by martin
Branch: MAIN
Changes since 1.98: +10 -5 lines
Diff to previous 1.98 (colored)

cpu_intr_p() for sparc, from Andrew Doran.

Revision 1.98 / (download) - annotate - [select for diffs], Mon Dec 3 15:34:21 2007 UTC (5 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: 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, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.97: +7 -36 lines
Diff to previous 1.97 (colored)

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.

Revision 1.97 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:12 2007 UTC (6 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-idlelwp-base8, yamt-idlelwp, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.96: +4 -4 lines
Diff to previous 1.96 (colored)

Merge newlock2 to head.

Revision 1.96 / (download) - annotate - [select for diffs], Sun Jan 14 11:13:41 2007 UTC (6 years, 4 months ago) by jdc
Branch: MAIN
CVS Tags: newlock2-nbase, newlock2-base
Changes since 1.95: +8 -4 lines
Diff to previous 1.95 (colored)

Don't check for reserved softintr slots on SUN4, as 4/300's have hardware
that uses the same levels.

Revision 1.95 / (download) - annotate - [select for diffs], Wed Jun 7 22:38:49 2006 UTC (6 years, 11 months ago) by kardel
Branch: MAIN
CVS Tags: 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, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-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, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.94: +4 -4 lines
Diff to previous 1.94 (colored)

convert to timecounters (from branch simonb-timecounters)

Revision 1.94 / (download) - annotate - [select for diffs], Wed Nov 16 21:42:50 2005 UTC (7 years, 6 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-readahead-base3, yamt-readahead-base2, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, peter-altq-base, peter-altq, ktrace-lwp-base, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, chap-midi
Changes since 1.93: +9 -9 lines
Diff to previous 1.93 (colored)

Use uint<N>_t.  Drop trailing whitespace.

Revision 1.93 / (download) - annotate - [select for diffs], Mon Nov 14 03:30:49 2005 UTC (7 years, 6 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.92: +36 -45 lines
Diff to previous 1.92 (colored)

ANSIify.  Same binary code is produced for GENERIC.MP + KGDB + DDB.

Revision 1.92 / (download) - annotate - [select for diffs], Sun Sep 25 22:52:30 2005 UTC (7 years, 7 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, thorpej-vnode-attr-base, thorpej-vnode-attr
Changes since 1.91: +7 -9 lines
Diff to previous 1.91 (colored)

Use mspcic_read_stream_N to access error addresses.  They don't need
to be byteswapped.

Revision 1.91 / (download) - annotate - [select for diffs], Sun Sep 25 20:49:43 2005 UTC (7 years, 7 months ago) by uwe
Branch: MAIN
Changes since 1.90: +2 -3 lines
Diff to previous 1.90 (colored)

G/c unused variable.

Revision 1.90 / (download) - annotate - [select for diffs], Sat Sep 24 22:30:15 2005 UTC (7 years, 7 months ago) by macallan
Branch: MAIN
Changes since 1.89: +2 -10 lines
Diff to previous 1.89 (colored)

Run the MicroSPARC IIep PCI bus without endianness translation.
This allows us to run X without any additional code changes.

Revision 1.89 / (download) - annotate - [select for diffs], Fri Sep 23 23:22:57 2005 UTC (7 years, 8 months ago) by uwe
Branch: MAIN
Changes since 1.88: +8 -11 lines
Diff to previous 1.88 (colored)

Introduce mspcic_{read,write}_N instead of using struct syntax.  This
is the first step to make PCIC run without byteswapping - which is
necessary for X server support.  Current macros are still just a
kludgy shim over struct syntax, but accesses to PCIC in the .c files
are now marked up properly.

Revision 1.88 / (download) - annotate - [select for diffs], Sat Sep 10 01:27:54 2005 UTC (7 years, 8 months ago) by uwe
Branch: MAIN
Changes since 1.87: +102 -3 lines
Diff to previous 1.87 (colored)

Hanlde NMI on microSPARC-IIep.

We don't do much useful except reporting, but that's better than to
stupidly use sun4m handler and wedge the machine.  May need to revisit
what's fatal.

Prodding by macallan@

Revision 1.87 / (download) - annotate - [select for diffs], Thu Jun 16 04:17:49 2005 UTC (7 years, 11 months ago) by briggs
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.86: +5 -5 lines
Diff to previous 1.86 (colored)

Rename 'ncpus' to 'sparc_ncpus' to avoid shadow warnings in m.i. code.
Also sprinkle an __UNVOLATILE() for sparc.
n.b. sparc64 'cpus' should probably be renamed to 'cpu_info_list' to
     match i386 et al.

Revision 1.86 / (download) - annotate - [select for diffs], Fri Jun 3 22:15:48 2005 UTC (7 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.85: +5 -5 lines
Diff to previous 1.85 (colored)

Rename ncpu to ncpus (as other ports call it), to avoid shadow warnings.
Sprinkle some const.

Revision 1.85 / (download) - annotate - [select for diffs], Sat Apr 17 22:34:14 2004 UTC (9 years, 1 month ago) by pk
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, matt-timespec, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.84: +12 -2 lines
Diff to previous 1.84 (colored)

Add xcall event counters.

Revision 1.84 / (download) - annotate - [select for diffs], Sat Apr 17 10:01:55 2004 UTC (9 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored)

xcallintr: arg3 is gone.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Aug 7 16:29:44 2003 UTC (9 years, 9 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.82: +3 -7 lines
Diff to previous 1.82 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.82 / (download) - annotate - [select for diffs], Tue Jul 15 00:05:04 2003 UTC (9 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.81: +4 -1 lines
Diff to previous 1.81 (colored)

__KERNEL_RCSID()

Revision 1.81 / (download) - annotate - [select for diffs], Wed Apr 2 04:35:24 2003 UTC (10 years, 1 month ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.80: +7 -5 lines
Diff to previous 1.80 (colored)

Use PAGE_SIZE rather than NBPG.

Revision 1.80 / (download) - annotate - [select for diffs], Sun Mar 2 21:42:48 2003 UTC (10 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.79: +5 -7 lines
Diff to previous 1.79 (colored)

Use the new pmap_kprotect() function instead of pmap_changeprot().
The latter is now a pmap internal function; and it wasn't used correctly
in mkclock.c anyway.

Revision 1.79 / (download) - annotate - [select for diffs], Thu Jan 23 22:33:41 2003 UTC (10 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.78: +2 -1 lines
Diff to previous 1.78 (colored)

When stopping a CPU, clear its bit from cpu_ready_mask.

Revision 1.78 / (download) - annotate - [select for diffs], Thu Jan 23 19:54:35 2003 UTC (10 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.77: +4 -2 lines
Diff to previous 1.77 (colored)

Optimize xcall() et.al. further by maintaining a cpuset mask of all CPUs
marked ready. This saves repeated testing for NULL pointers and the
CPUFLG_READY flag.
Also use a separate flag variable to signal xcall completion. This saves a
load and a pipeline stall.

Revision 1.77 / (download) - annotate - [select for diffs], Thu Jan 23 14:56:06 2003 UTC (10 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.76: +3 -2 lines
Diff to previous 1.76 (colored)

bogusintr: print cpu number.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Jan 22 21:58:28 2003 UTC (10 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.75: +40 -1 lines
Diff to previous 1.75 (colored)

Add functions to set & get the interrupt target CPU.

Revision 1.75 / (download) - annotate - [select for diffs], Thu Jan 16 16:27:48 2003 UTC (10 years, 4 months ago) by pk
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.74: +28 -5 lines
Diff to previous 1.74 (colored)

Read the CPU mailbox in the level 15 soft interrupt handler and respond
to idle and stop requests.

Revision 1.74 / (download) - annotate - [select for diffs], Thu Jan 9 10:27:24 2003 UTC (10 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.73: +3 -2 lines
Diff to previous 1.73 (colored)

Check for existing soft interrupts too before trying to install a fast
interrupt handler.

Revision 1.73 / (download) - annotate - [select for diffs], Thu Jan 9 05:55:31 2003 UTC (10 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.72: +2 -4 lines
Diff to previous 1.72 (colored)

- s/xpmsg11/xpmsg15/
- clean up
- no need to reset the msg.tag

Revision 1.72 / (download) - annotate - [select for diffs], Tue Jan 7 16:20:14 2003 UTC (10 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.71: +10 -26 lines
Diff to previous 1.71 (colored)

- add a new message tag for level15 software NMI, and switch ddb to use this
rather than the level13 software intr xpmsg area.  now DDB IPI's don't lock
the xpmsg_lock and we avoid recursion and more.
- don't actually use cpuinfo.msg.lock yet, xpmsg_lock suffices.
- reread the pending register on mbus hypersparc cpus to avoid bugs in the
h/w that cause IPI's to be missed.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Jan 3 16:20:21 2003 UTC (10 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.70: +1 -6 lines
Diff to previous 1.70 (colored)

FPU save is handled in xcall() now.

Revision 1.70 / (download) - annotate - [select for diffs], Tue Dec 31 15:10:28 2002 UTC (10 years, 4 months ago) by pk
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.69: +17 -6 lines
Diff to previous 1.69 (colored)

* map the PROM CPU mailbox if available.
* map MXCC error/status registers if available.
* add MXCC-specific module error interrupt handler.
* use high priority interrupt level in mp_pause_cpus()

Revision 1.69 / (download) - annotate - [select for diffs], Mon Dec 23 00:55:18 2002 UTC (10 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.68: +9 -24 lines
Diff to previous 1.68 (colored)

xcallintr() receive a `clockframe *' argument, not a `trapframe *'.
Setup a DDB context for paused CPUs by defining a soft trap (T_DBPAUSE)
which uses the generic trap handler code to get the trapframe constructed
and then calls on a debugger-defined `suspend' routine.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Dec 21 12:55:54 2002 UTC (10 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.67: +8 -104 lines
Diff to previous 1.67 (colored)

* xcallintr(): use cpuinfo directly again.
* nmi_soft(): remove most of the obsoleted requests.

Revision 1.67 / (download) - annotate - [select for diffs], Thu Dec 19 10:38:28 2002 UTC (10 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.66: +62 -12 lines
Diff to previous 1.66 (colored)

Brush-up the generic cross-call routine and use it to implement the SMP
cache flush ops.
Also a standard soft interrupt handler for standard cross-call notification
reserving the NMI level 15 softint for urgent cross calls.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Dec 18 06:20:36 2002 UTC (10 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored)

we use nmi_hard and nmi_soft on SUN4D as well

Revision 1.65 / (download) - annotate - [select for diffs], Mon Dec 16 16:59:11 2002 UTC (10 years, 5 months ago) by pk
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.64: +7 -7 lines
Diff to previous 1.64 (colored)

The cache flush routines now take a CPU context parameter. This is going
to be necessary in SMP kernels.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Dec 11 13:21:19 2002 UTC (10 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.63: +16 -12 lines
Diff to previous 1.63 (colored)

softintr_establish(): append handler to the list for the actually choosen
processor interrupt level.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Dec 10 12:03:08 2002 UTC (10 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.62: +115 -76 lines
Diff to previous 1.62 (colored)

Allow a `fast trap' handler installation to be undone if an interrupt level
must be shared. This requires drivers that request the installation of
a `fast trap' handler to supply a regular interrupt handler as well to fall
back on.

The `fast trap' routine (if present) is now passed as an additional
argument to intr_establish().

Revision 1.62 / (download) - annotate - [select for diffs], Mon Dec 9 16:11:53 2002 UTC (10 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.61: +110 -26 lines
Diff to previous 1.61 (colored)

Finish the switch to the softintr(9) framework.

To make this work, we now have to use separate handler lists for hardware
and software interrupts as the soft interrupt handlers do not return
an `interrupt handled' status.

Thanks to Matt Fredette for providing an initial set of patches on port-sparc.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Dec 6 16:04:12 2002 UTC (10 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.60: +16 -3 lines
Diff to previous 1.60 (colored)

Pass the `device class interrupt level' on to intr_establish() and use to
raise the ipl in the interrupt handlers to the appropriate level. This avoids
interrupt handler interference if one of the devices actually interrupts at
a lower hardware level than the maximum level assined to a device class.

Based on code from Art Grabowski in openbsd.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Sep 27 15:36:47 2002 UTC (10 years, 7 months ago) by provos
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored)

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

Revision 1.59 / (download) - annotate - [select for diffs], Sun Aug 4 14:57:34 2002 UTC (10 years, 9 months ago) by uwe
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.58: +24 -2 lines
Diff to previous 1.58 (colored)

In DIAGNOSTIC kernels detect situation that on sun4m neither hardware
nor software interrupt pending bit is set for the current ipl.  Report
this as a "bogus" interrupt (better name anyone?).  This is a symptom
of a bug in interrupt handling in one of device drivers interrupting
at this ipl.  Reviewed by pk.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Dec 4 00:05:06 2001 UTC (11 years, 5 months ago) by darrenr
Branch: MAIN
CVS Tags: newlock-base, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, 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-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, ifpoll, eeh-devprop-base, eeh-devprop
Branch point for: newlock, gehenna-devsw
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored)

defopt "options SUN4*", put #define for each of SUN4, SUN4C, SUN4M and SUN4U
into opt_arch_sparc.h and include this wherever they are used.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Nov 21 19:14:28 2001 UTC (11 years, 6 months ago) by wiz
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored)

"than" instead of "then".

Revision 1.56 / (download) - annotate - [select for diffs], Thu Oct 18 12:32:25 2001 UTC (11 years, 7 months ago) by uwe
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache
Branch point for: nathanw_sa
Changes since 1.55: +4 -6 lines
Diff to previous 1.55 (colored)

Minor cleanup.  Garbage-collect unused declaration of comsoft() now
that sparc has generic soft interrupts.  In softnet() - return
immediately if netisr is zero.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Sep 27 02:05:44 2001 UTC (11 years, 7 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2
Changes since 1.54: +78 -48 lines
Diff to previous 1.54 (colored)

implement generic soft interrupts as described in softintr(9).  convert
the network, clock & serial softint's to use them.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Jul 10 15:09:04 2001 UTC (11 years, 10 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.53: +1 -3 lines
Diff to previous 1.53 (colored)

enable XPMSG_FUNC support.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Jul 7 21:23:53 2001 UTC (11 years, 10 months ago) by mrg
Branch: MAIN
Branch point for: kqueue
Changes since 1.52: +112 -20 lines
Diff to previous 1.52 (colored)

- implement XPMSG_DEMAP_TLB_PAGE, XPMSG_DEMAP_TLB_SEGMENT,
XPMSG_DEMAP_TLB_REGION, XPMSG_DEMAP_TLB_CONTEXT and XPMSG_DEMAP_TLB_ALL
- new setpgt4m_va(), call it when you need to ensure all cpus see the same value
- new smp_tlb_flush_context(), smp_tlb_flush_region(), smp_tlb_flush_segment(),
smp_tlb_flush_page() and smp_tlb_flush_all() functions, if MULTIPROCESSOR
- define the tlb_flush*() routines to the smp_*() versions, if MULTIPROCESSOR
- sun4m safe PTE update updatepte4m() routine, vaguely derived from code posted
by torek@bsdi.com on port-sparc a couple of years ago.
- new nmihard_lock to synchronize other cpus during hard NMI.  (XXX: should be
a bit smarter about which CPU's do/don't check in.)

Revision 1.52 / (download) - annotate - [select for diffs], Fri Jun 8 09:51:40 2001 UTC (11 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.51: +15 -1 lines
Diff to previous 1.51 (colored)

if DDB, when pausing, save a copy of this cpus registers while paused.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Jun 7 17:59:48 2001 UTC (11 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.50: +11 -16 lines
Diff to previous 1.50 (colored)

more SMP work:

make IPI's work.  modify boot_secondary_processors() to clear the startup flag
in each cpu.  new raise_ipi_wait_and_unlock() that calls raise_ipi(), waits
for the cpu to acknowledge it got the message, and then unlocks the msglock.
use the new framework in mp_{pause,resume}_cpus().  nmi_soft() takes a
`struct trapframe *', to be used by ddb.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Mar 22 15:56:43 2001 UTC (12 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Changes since 1.49: +1 -6 lines
Diff to previous 1.49 (colored)

remove overzealous locking changes.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Mar 15 03:01:40 2001 UTC (12 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.48: +28 -1 lines
Diff to previous 1.48 (colored)

sprinkle KERNEL_LOCK() and KERNEL_PROC_LOCK() where they're missing.  add
SYSCALL_DEBUG support to trap.c.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Jan 15 20:19:57 2001 UTC (12 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jul 2 04:40:44 2000 UTC (12 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.46: +2 -35 lines
Diff to previous 1.46 (colored)

Kwality control:
* put #includes of opt headers and headers to get protos used by
  net/netisr_dispatch.h in net/netisr.h (if !defined(_LOCORE)) (rather than
  in netisr_dispatch.h itself, and potentially nowhere, respectively).
* require netisr.h to be included before netisr_dispatch.h.
* minor additional cleanup of both netisr.h and netisr_dispatch.h.
* clean up uses to remove now-unnecessary header file inclusions, and
  local prototypes of the fns.
* convert netisr dispatch implementations which didn't use
  netisr_dispatch.h (pc532) to use it.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jun 29 07:40:10 2000 UTC (12 years, 10 months ago) by mrg
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored)

remove include of <vm/vm.h> and <machine/pmap.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.45 / (download) - annotate - [select for diffs], Tue May 9 20:29:28 2000 UTC (13 years ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.44: +2 -1 lines
Diff to previous 1.44 (colored)

Include <sparc/sparc/asm.h>, per PR#10082

Revision 1.44 / (download) - annotate - [select for diffs], Sun Mar 19 13:38:55 2000 UTC (13 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.43: +1 -8 lines
Diff to previous 1.43 (colored)

Nuke dead code.

Revision 1.43 / (download) - annotate - [select for diffs], Mon Feb 21 20:38:50 2000 UTC (13 years, 3 months ago) by erh
Branch: MAIN
Changes since 1.42: +11 -34 lines
Diff to previous 1.42 (colored)

Define the DONETISR macro and use netisr_dispatch.h.  This is to cut down on code duplication and to standardize the available NETISRs across all ports.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Feb 9 05:48:33 2000 UTC (13 years, 3 months ago) by shin
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored)

fix include file.

	<netinet6/ip6.h>	->	<netinet/ip6.h>

Revision 1.41 / (download) - annotate - [select for diffs], Mon Jun 28 08:20:47 1999 UTC (13 years, 10 months ago) by itojun
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.40: +12 -1 lines
Diff to previous 1.40 (colored)

- Call ip6intr if INET6 is defined.
- remove "need-flag" for mac68k esp driver, as it is not used in anywhere
  and conflicts with IPsec ESP header.

This should be the only MD change in IPv6 support, except kernel config file.
Very sorry if you have any compilation problem with it (I believe it is okay).
If your favorite arch is not included in here, please add a
call to ip6intr() from softintr handle.

Revision 1.40 / (download) - annotate - [select for diffs], Sun May 16 16:56:35 1999 UTC (14 years ago) by pk
Branch: MAIN
Changes since 1.39: +14 -23 lines
Diff to previous 1.39 (colored)

Remove cruft from `nmi_hard()' interrupt handler.

Revision 1.39 / (download) - annotate - [select for diffs], Sat Feb 27 16:13:59 1999 UTC (14 years, 2 months ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Branch point for: kame, chs-ubc2
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored)

Missing `break'.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Feb 14 12:48:02 1999 UTC (14 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.37: +3 -2 lines
Diff to previous 1.37 (colored)

Use the PROMLIB interface.

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jan 19 10:04:42 1999 UTC (14 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.36: +14 -1 lines
Diff to previous 1.36 (colored)

Deal with SIR_SERIAL (for `com' devices).
XXX - consider using __GENERIC_SOFT_INTERRUPTS instead

Revision 1.36 / (download) - annotate - [select for diffs], Sat Oct 24 08:12:55 1998 UTC (14 years, 7 months ago) by pk
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base
Branch point for: chs-ubc
Changes since 1.35: +14 -2 lines
Diff to previous 1.35 (colored)

Define and use CPU pause/resume IPI messages (until such times that I know
what the prom supplied versions actually do).

Revision 1.35 / (download) - annotate - [select for diffs], Tue Oct 13 13:37:14 1998 UTC (14 years, 7 months ago) by pk
Branch: MAIN
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

We use MULTIPROCESSOR explicitly here, so pull in "opt_multiprocessor.h".

Revision 1.34 / (download) - annotate - [select for diffs], Thu Oct 8 22:27:33 1998 UTC (14 years, 7 months ago) by pk
Branch: MAIN
Changes since 1.33: +50 -1 lines
Diff to previous 1.33 (colored)

Define SMP versions of some cache flush methods.

Revision 1.33 / (download) - annotate - [select for diffs], Wed Sep 23 08:44:51 1998 UTC (14 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.32: +3 -1 lines
Diff to previous 1.32 (colored)

The nmi_* routines are sun4m-only.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Sep 22 13:40:08 1998 UTC (14 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.31: +3 -1 lines
Diff to previous 1.31 (colored)

Flush cache after diddling with trap vectors.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Sep 20 20:00:09 1998 UTC (14 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.30: +85 -1 lines
Diff to previous 1.30 (colored)

Add sun4m NMI handlers.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Aug 21 14:13:54 1998 UTC (14 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.29: +9 -9 lines
Diff to previous 1.29 (colored)

Convert to [pv]addr_t & [pv]size_t.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jul 5 22:48:07 1998 UTC (14 years, 10 months ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

defopt NATM.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jul 5 06:49:08 1998 UTC (14 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.27: +2 -1 lines
Diff to previous 1.27 (colored)

defopt NS, NSIP.

Revision 1.27 / (download) - annotate - [select for diffs], Sun Jul 5 04:37:39 1998 UTC (14 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

defopt ISO TPIP.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Jul 5 00:51:13 1998 UTC (14 years, 10 months ago) by jonathan
Branch: MAIN
Changes since 1.25: +3 -1 lines
Diff to previous 1.25 (colored)

defopt INET, NETATALK.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Mar 29 05:10:45 1998 UTC (15 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.24: +5 -3 lines
Diff to previous 1.24 (colored)

use bitmask_snprintf.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Dec 3 22:32:06 1997 UTC (15 years, 5 months ago) by mjacob
Branch: MAIN
Changes since 1.23: +5 -1 lines
Diff to previous 1.23 (colored)

handle case of no keyboard configured

Revision 1.23 / (download) - annotate - [select for diffs], Sat Nov 22 03:13:58 1997 UTC (15 years, 6 months ago) by tv
Branch: MAIN
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

eliminate declarations of global data in <sparc/cpu.h> and declare in
source files, reducing global symblol replication in .o kernel files

Revision 1.22 / (download) - annotate - [select for diffs], Wed Nov 19 23:03:47 1997 UTC (15 years, 6 months ago) by pk
Branch: MAIN
Changes since 1.21: +4 -6 lines
Diff to previous 1.21 (colored)

Use intr_establish() to install the timer interrupt handlers.

Revision 1.21 / (download) - annotate - [select for diffs], Thu Nov 13 10:43:20 1997 UTC (15 years, 6 months ago) by veego
Branch: MAIN
Changes since 1.20: +4 -1 lines
Diff to previous 1.20 (colored)

Add a missing #if NARP > 0 around arpintr(); and add a #include "arp.h"
for NARP. This is for the 'new' arp system.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jul 29 09:42:03 1997 UTC (15 years, 9 months ago) by fair
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia
Branch point for: netbsd-1-3
Changes since 1.19: +4 -4 lines
Diff to previous 1.19 (colored)

%x -> 0x%x

Revision 1.19 / (download) - annotate - [select for diffs], Thu Apr 3 17:25:18 1997 UTC (16 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: bouyer-scsipi
Changes since 1.18: +8 -1 lines
Diff to previous 1.18 (colored)

Add netatalk netisr

Revision 1.18 / (download) - annotate - [select for diffs], Sat Mar 15 18:10:42 1997 UTC (16 years, 2 months ago) by is
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

New ARP system, supports IPv4 over any hardware link.

Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Oct 20 19:32:42 1996 UTC (16 years, 7 months ago) by pk
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-before-merge, is-newarp-base
Branch point for: is-newarp
Changes since 1.16: +1 -3 lines
Diff to previous 1.16 (colored)

Drop a duplicate `#include ppp.h'; noted by Chris Demetriou.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Oct 13 03:00:33 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

backout previous kprintf change

Revision 1.15 / (download) - annotate - [select for diffs], Fri Oct 11 00:47:19 1996 UTC (16 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jul 4 03:18:39 1996 UTC (16 years, 10 months ago) by chuck
Branch: MAIN
Changes since 1.13: +5 -1 lines
Diff to previous 1.13 (colored)

add native mode atm soft interrupt

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 31 23:35:20 1996 UTC (17 years, 1 month ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.12: +19 -10 lines
Diff to previous 1.12 (colored)

Changes to match 4m-aware locore.s. Note changed `trapbase' and
`sparc_interrupt_{44c.4m}' labels.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Mar 26 00:35:30 1996 UTC (17 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Back to normal printf()s, now that gcc understands `%b'.

Revision 1.11 / (download) - annotate - [select for diffs], Sat Mar 16 23:31:40 1996 UTC (17 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Fix format strings in panic()

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 14 21:09:12 1996 UTC (17 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.9: +29 -8 lines
Diff to previous 1.9 (colored)

Add prototypes and fix bugs:
    - softclock was called with extra argument.
    - missing %x formats in printf's
    - kgdb_copy called with only two arguments.

Fix conf.c so that it used the _conf.h files from other places instead of
rolling its own.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jul 4 12:34:37 1995 UTC (17 years, 10 months ago) by paulus
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.8: +6 -1 lines
Diff to previous 1.8 (colored)

Add code to soft01intr to call pppintr.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Apr 10 16:48:48 1995 UTC (18 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

kernel_pmap --> pmap_kernel()

Revision 1.7 / (download) - annotate - [select for diffs], Fri Dec 16 21:52:36 1994 UTC (18 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +1 -2 lines
Diff to previous 1.6 (colored)

do not need clockreg.h

Revision 1.6 / (download) - annotate - [select for diffs], Sun Nov 20 20:54:19 1994 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored)

copyright/Id cleanup

Revision 1.5 / (download) - annotate - [select for diffs], Thu May 19 07:12:52 1994 UTC (19 years ago) by deraadt
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.4: +3 -5 lines
Diff to previous 1.4 (colored)

catchup to 4.4-lite and delete some debug stuff

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 20 12:45:37 1994 UTC (19 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.3: +1 -3 lines
Diff to previous 1.3 (colored)

arpintr called now

Revision 1.3 / (download) - annotate - [select for diffs], Tue Feb 1 06:01:39 1994 UTC (19 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

sparc runs in current today

Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 11 02:16:18 1993 UTC (19 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: sparc-magnum
Changes since 1.1: +9 -2 lines
Diff to previous 1.1 (colored)

pmap.c, machdep.c, autoconf.c, cpu.c, intr.c, : net-posted patches from Torek
autoconf.c: mountroot kludges that need fixing later
clock.c: two volatile decls
conf.c: stategy()'s return void, *tty[] not tty[], __P()'d xxdump() calls,
	add mem_no, *constty[] not &cons.
genassym.c, machdep.c: sys/vmmeter.h needed
intr.c: make kernel writable temporarily in intr_fasttrap()
intr.c: do not use NETISR_ARP
locore.s: icode maps at 0 so do not relocate, don't define __main here.
machdep.c: don't have sysctl.h (yet), use vm_page_free_count for freemem,
	setregs() sets pc/npc/stack, note: signal delivery code needs
	fixing, add various other NetBSD function stubs.
pmap.c: do kernel_pmap/kernel_pmap_store the old way, delete
	vm_page_startup_initialized weirdness.
swapgeneric.c: everything about mountroot needs fixing, help.
trap.c: sunsys -> sun_sysent, etc.
vm_machdep.c: don't use cpu_coredump() for now.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 2 10:24:13 1993 UTC (19 years, 7 months ago) by deraadt
Branch: MAIN

Chris Torek's sparc port. Missing lots of things.

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>