The NetBSD Project

CVS log for src/sys/arch/mips/include/intr.h

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Sat Apr 3 22:28:31 2021 UTC (4 years ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +3 -3 lines
Sync with HEAD.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Feb 16 05:11:26 2021 UTC (4 years, 2 months ago) by simonb
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
Add no-profiled attribute for splhigh_noprof() and splx_noprof().

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Aug 17 14:17:49 2020 UTC (4 years, 8 months ago) by skrll
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -1 lines
Disable __HAVE_PREEMPTION.  It is currently marked

	#if defined(MULTIPROCESSOR) && defined(__HAVE_FAST_SOFTINTS)

but has no chance of working on OCTEON due to at least the spl functions

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Jul 26 08:08:41 2020 UTC (4 years, 8 months ago) by simonb
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -4 lines
#define<tab>
Nuke trailing whitespace.

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:27 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.2.1: +4 -1 lines
update from HEAD

Revision 1.8.4.1: download - view: text, markup, annotated - select for diffs
Sat Jun 6 14:40:01 2015 UTC (9 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +5 -2 lines
Sync with HEAD

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jun 6 04:31:52 2015 UTC (9 years, 10 months ago) by matt
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, 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, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -2 lines
Add a IPI for watchdogs.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Mon Jun 1 22:55:12 2015 UTC (9 years, 10 months ago) by matt
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -1 lines
Rework cavium support in preparation for MULTIPROCESSOR support

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:12 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -2 lines
Rebase to HEAD as of a few days ago.

Revision 1.7.12.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:02 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -2 lines
Rebase.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon May 19 22:47:53 2014 UTC (10 years, 11 months ago) by rmind
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, 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
Branch point for: nick-nhusb
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -2 lines
Implement MI IPI interface with cross-call support.

Revision 1.5.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:39 2012 UTC (13 years ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +4 -1 lines
sync with head

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Mar 11 00:02:05 2012 UTC (13 years, 1 month ago) by mrg
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, tls-earlyentropy
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
normalise RCSID handling some.

Revision 1.5.8.3: download - view: text, markup, annotated - select for diffs
Tue Mar 6 18:26:38 2012 UTC (13 years, 1 month ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.5.8.2: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.8.2: +3 -1 lines
sync to -current

Revision 1.5.8.2: download - view: text, markup, annotated - select for diffs
Tue Mar 6 09:56:08 2012 UTC (13 years, 1 month ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.5.8.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.8.1: +2 -3 lines
sync to -current

Revision 1.5.8.1: download - view: text, markup, annotated - select for diffs
Sun Mar 4 00:46:11 2012 UTC (13 years, 1 month ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -1 lines
sync to latest -current.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Mar 3 00:21:50 2012 UTC (13 years, 1 month ago) by matt
Branches: MAIN
CVS tags: jmcneill-usbmp-base6, jmcneill-usbmp-base4
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -1 lines
define IPL_SAFEPRI which will be used by kern_synch.c to initialize safepri.

Revision 1.3.96.18: download - view: text, markup, annotated - select for diffs
Thu Jan 19 08:28:48 2012 UTC (13 years, 3 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.17: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.96.17: +5 -6 lines
When running an N32 kernel, run it with 64-bit addresses even though the
kernel itself will only use 32-bit addresses.  There are exceptions.
bus_space_handles are now register_t instead of intptr_t.  This allows them
to contain XKPHYS addresses.  Now bus_space can use XKPHYS addresses and
not required non-KSEG1 devices to be mapped in KSEG2 thereby leaving more
KSEG2 space for the kernel to use.

The cache range routines (but not index routines) now take a register_t
instead of vaddr_t so they can too take a XKPHYS address.  This allows the
pmap to use a page's XKPHYS address to clean sync the icache thereby avoiding
massive icache invalidations.

Since "cache" instruction effects are global to all CPUs and their caches, we
can use the above to greatly simplify MP page isyncs.  If using an O32 kernel
with pages outside KSEG0, index ops still need to be performed since there
isn't an a quick way of mapping the page.

Revision 1.3.96.17: download - view: text, markup, annotated - select for diffs
Sat Dec 31 08:18:42 2011 UTC (13 years, 3 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.16: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.16: +3 -1 lines
Add IST_EDGE_RISING and IST_EDGE_FALLING.

Revision 1.3.104.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:06:03 2011 UTC (13 years, 10 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +138 -28 lines
Sync with HEAD.

Revision 1.3.98.2: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:09 2011 UTC (13 years, 10 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.3.98.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.98.1: +2 -1 lines
sync with head

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon May 2 00:17:35 2011 UTC (13 years, 11 months ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, 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, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base5, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -2 lines
Add an IPI for xcalls.

Revision 1.3.98.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:51:03 2011 UTC (14 years, 1 month ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +137 -28 lines
sync with head

Revision 1.3.106.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:09:48 2011 UTC (14 years, 1 month ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +137 -28 lines
Sync with HEAD

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Feb 20 07:45:47 2011 UTC (14 years, 2 months ago) by matt
Branches: MAIN
CVS tags: bouyer-quota2-nbase
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +137 -28 lines
Major merge forward from matt-nb5-mips64.
New fixup code.
New common SPL code.
New common interrupt code.
Move related variables into structures.
Cleanup locore (move MD variable into it).
Kill StudlyCaps
Use PCU for FPU

Revision 1.3.96.16: download - view: text, markup, annotated - select for diffs
Sat Feb 5 06:31:05 2011 UTC (14 years, 2 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.15: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.15: +3 -1 lines
- protect option includes ("opt_multiprocessor.h") with #ifdef _KERNEL_OPT

Revision 1.3.96.15: download - view: text, markup, annotated - select for diffs
Sat Feb 5 06:05:35 2011 UTC (14 years, 2 months ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.14: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.14: +6 -2 lines
- include opt_multiprocessor.h for MULTIPROCESSOR dependency
- add IPI tag defines for SUSPEND, HALT, and bump NIPIS

Revision 1.3.96.14: download - view: text, markup, annotated - select for diffs
Wed Dec 22 06:09:02 2010 UTC (14 years, 3 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231
Diff to: previous 1.3.96.13: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.13: +4 -3 lines
Cleanup definition of __HAVE_PREEMPTION

Revision 1.3.96.13: download - view: text, markup, annotated - select for diffs
Wed Jun 9 14:24:12 2010 UTC (14 years, 10 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-k15
Diff to: previous 1.3.96.12: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.12: +3 -1 lines
Add a _IPL_NAMES(pfx) which is a list of strings corresponding to the
IPL names.

Revision 1.3.96.12: download - view: text, markup, annotated - select for diffs
Sun May 16 00:34:45 2010 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.11: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.11: +4 -3 lines
Add IPL_DDB.  This is needed for watchdog on sbmips and for IPIs used by DDB.
It's above IPL_SCHED but below IPL_HIGH.

Revision 1.3.96.11: download - view: text, markup, annotated - select for diffs
Sat May 15 23:11:38 2010 UTC (14 years, 11 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.10: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.10: +2 -2 lines
Make sure we have a spare cell at the sr_map to make splintr will stop.

Revision 1.3.96.10: download - view: text, markup, annotated - select for diffs
Wed Mar 24 19:23:02 2010 UTC (15 years ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.9: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.9: +7 -6 lines
- add IPI_AST variant of IPI_NOP to allow seperate event counting

Revision 1.3.96.9: download - view: text, markup, annotated - select for diffs
Sun Mar 21 18:21:15 2010 UTC (15 years, 1 month ago) by cliff
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.8: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.8: +3 -1 lines
- if __INTR_PRIVATE is not defined, declare (but do not define) struct splsw

Revision 1.3.96.8: download - view: text, markup, annotated - select for diffs
Thu Mar 11 08:09:15 2010 UTC (15 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.7: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.7: +2 -2 lines
s/IPI_ISYNC/IPI_SYNCICACHE/

Revision 1.3.96.7: download - view: text, markup, annotated - select for diffs
Sun Feb 28 23:45:07 2010 UTC (15 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.6: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.6: +9 -7 lines
Split FPU support into separate file and keep internals private to that file.
Make it MPSAFE.  Change interface to be very similar to what's used on other
architectures.
Add l_md.md_fpcpu to mdlwp (needed for MPSAFE)
Move pridtab from <mips/cpu.h> to <mips/locore.h>
Add initial common IPI dispatcher.
Split cpu_* routines from mips_machdep.c into cpu_subr.c
Add cpu_startup_common which has the code replicated in half-dozen
plus machdep.c files.

Revision 1.3.96.6: download - view: text, markup, annotated - select for diffs
Sun Feb 28 03:26:25 2010 UTC (15 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.5: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.5: +29 -96 lines
Now that we use stubs for the spl* calls, we no longer need to export
struct splsw or struct ipl_sr_map to the world.  So we protect those with
__INTR_PRIVATE.

Revision 1.3.96.5: download - view: text, markup, annotated - select for diffs
Tue Feb 23 20:24:36 2010 UTC (15 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.4: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.4: +6 -2 lines
Instead of a read-only ipl_sr_bits, define a ipl_sr_map struct and fill that
in the interrupt init routine.  There's a default ipl_sr_map will operate
correctly, but isn't performant.

Revision 1.3.96.4: download - view: text, markup, annotated - select for diffs
Mon Feb 22 20:08:58 2010 UTC (15 years, 1 month ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.3: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.3: +17 -10 lines
Add initial list of IPIs for MIPS SMP.

Revision 1.3.96.3: download - view: text, markup, annotated - select for diffs
Tue Feb 16 08:13:57 2010 UTC (15 years, 2 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.2: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.2: +7 -7 lines
Add __HAVE_PREEMPTION support for NetBSD/mips.  Kill IPL_PREEMPT since it
isn't needed.

Revision 1.3.96.2: download - view: text, markup, annotated - select for diffs
Mon Feb 15 07:36:03 2010 UTC (15 years, 2 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.3.96.1: preferred, colored; branchpoint 1.3: preferred, colored
Changes since revision 1.3.96.1: +193 -0 lines
Completely redo how interrupts and SPL are handled in NetBSD/mips.
[XXX locore_mips1.S still needs to adapted.]

Nested interrupts now work.  Except for MIPS_SOFT_MASK and MIPS_SR_INT_IE,
how interrupts work is completely abstracted.  spl is handled through the
mips_splsw table.  Direct manipulation of the status register is no longer
done (except for MIPS_SR_INT_IE).  A new <mips/intr.h> contains the common
IPL/IST/spl* definitions for all ports.

Interrupt delivery is completely different.  Clock interrupts may interrupt
device interrupts.  ci_idepth is now handled by the caller of cpu_intr as
are softints (both can be optimized/simplified in the case of interrupts of
usermode code).  cpu_intr has new arguments and now get called at IPL_HIGH
with MIPS_SR_INT_IE set and its logic is:

void
cpu_intr(int ppl, vaddr_t pc, uint32_t status)
{
	int ipl;
	uint32_t pending;
	while (ppl < (ipl = splintr(&pending))) {
		splx(ipl);		/* enable interrupts */
		<handle pending interrupts>
		(void)splhigh();	/* disable interrupts */
	}
}

mipsX_subr.S has been reworked.  All user handlers (user_intr, systemcall,
user_gen_exception) now use common return to usermode code in lwp_trampoline.
ast() has changed to void ast(void) since the previous pc argument was never
used.

The playstation IPL_ICU_MASK support has been nuked.
MIPS_DYNAMIC_STATUS_MASK may soon be nuked soon.

A bunch of debugging code was left conditionalized by PARANOIA.  If this
code detects a bug, it will enter an infinite loop.  It is expected that
the kernel will be debugged in a simulator or with a hardware debugger so
that the state at that point can be analyzed.

Revision 1.1.16.1
Mon Nov 20 22:16:49 2000 UTC (24 years, 5 months ago) by bouyer
Branches: thorpej_scsipi
FILE REMOVED
Changes since revision 1.1: +1 -1 lines
Remove files that are no longer on the trunck

Revision 1.3.96.1
Tue Apr 11 02:30:14 2000 UTC (25 years ago) by matt
Branches: matt-nb5-mips64
FILE REMOVED
Changes since revision 1.3: +0 -45 lines
file intr.h was added on branch matt-nb5-mips64 on 2010-02-15 07:36:03 +0000

Revision 1.3
Tue Apr 11 02:30:14 2000 UTC (25 years ago) by nisimura
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, yamt-nfs-mp-base, yamt-nfs-mp, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-lazymbuf, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, yamt-idlelwp-base8, yamt-idlelwp, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, uebayasi-xip-base2, uebayasi-xip-base, uebayasi-xip, thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-vnode-attr-base, thorpej-vnode-attr, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base, thorpej-devvp, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, newlock-base, newlock, 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, nathanw_sa_before_merge, nathanw_sa_base, mjf-ufs-trans-base, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-nb5-pq3-base, matt-nb5-pq3, ktrace-lwp-base, ktrace-lwp, kqueue-base, kqueue, kent-audio2-base, kent-audio2, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jymxensuspend-base, jym-xensuspend, jruoho-x86intr-base, jmcneill-pm-base, jmcneill-pm, jmcneill-base, ifpoll-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, gdamore-uart-base, gdamore-uart, elad-kernelauth-nbase, eeh-devprop-base, eeh-devprop, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, bouyer-quota2-base, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base, ad-audiomp
Branch point for: rmind-uvmplock, matt-nb5-mips64, jruoho-x86intr, bouyer-quota2
FILE REMOVED
Changes since revision 1.2: +1 -1 lines
Introduce cpu_intr() whose body is now provided by target ports in
their own ways.  Ugly fixup #define in machine/intr.h have gone.
mips_hardware_intr global variable patch work has gone.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Mar 28 02:58:45 2000 UTC (25 years ago) by simonb
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +3 -4 lines
Don't `extern' function declarations.  While we're there, remove trailing
blank lines and white space.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Mar 26 12:46:33 1998 UTC (27 years ago) by jonathan
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, nisimura-pmax-wscons-base, nisimura-pmax-wscons, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, fvdl-softdep-base, fvdl-softdep, eeh-paddr_t-base, eeh-paddr_t, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: thorpej_scsipi
* Create /sys/arch/mips/include/intr.h, with   extern declaration of
  interrupt-callout vector from mips locore dispatch code to port code.
* Move branch-emulation declaration to mips/include/trap.h.
* Garbage-collect pmax/pmax/trap.h.
  Not needed now pmax/pmax_trap.c is gone, and after above tidy-up.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>