The NetBSD Project

CVS log for src/sys/arch/emips/emips/machdep.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.20: download - view: text, markup, annotated - select for diffs
Tue Mar 5 14:15:29 2024 UTC (9 months ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -8 lines
Move the at-shutdown call to resettodr() from cpu_reboot() to kern_reboot().

It's a small step, but it's a step.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Mon Jan 15 19:44:06 2024 UTC (10 months, 3 weeks ago) by andvar
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -3 lines
Fix few typos in comments, mainly s/argment/argument/.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Sep 1 06:16:45 2023 UTC (15 months, 1 week ago) by andvar
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -4 lines
fix format specifiers for emips PHYSMEMDEBUG build option.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Jun 11 19:20:43 2020 UTC (4 years, 5 months ago) by ad
Branches: MAIN
CVS tags: 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-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, netbsd-10-base, 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
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
uvm_availmem(): give it a boolean argument to specify whether a recent
cached value will do, or if the very latest total must be fetched.  It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.

Revision 1.13.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:33 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.13: preferred, colored; next MAIN 1.14: preferred, colored
Changes since revision 1.13: +8 -6 lines
Merge changes from current as of 20200406

Revision 1.15.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:24 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.15: preferred, colored; next MAIN 1.16: preferred, colored
Changes since revision 1.15: +7 -5 lines
Sync with head.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Jan 12 13:15:10 2020 UTC (4 years, 10 months ago) by tsutsui
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +7 -5 lines
KNF and misc whitespace cleanup.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Tue Dec 31 13:07:10 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
Rename uvm_free() -> uvm_availmem().

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Dec 21 13:00:21 2019 UTC (4 years, 11 months ago) by ad
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -3 lines
uvmexp.free -> uvm_free()

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

Revision 1.10.6.3: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:33 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10.6.2: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.6.2: +4 -4 lines
Sync with HEAD

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Jul 30 11:38:57 2017 UTC (7 years, 4 months ago) by he
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, 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, nick-nhusb-base-20170825, 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, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +4 -4 lines
Initialize iospace_size instead of iospace (will be overwritten) to 64k.
Brings boot of emips on giano a bit closer, but now it's stuck (hangs).

Revision 1.10.6.2: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:06 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10.6.1: preferred, colored; branchpoint 1.10: preferred, colored
Changes since revision 1.10.6.1: +3 -6 lines
Sync with HEAD

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:13 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11: +3 -6 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Dec 22 14:47:54 2016 UTC (7 years, 11 months ago) by cherry
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170204, 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, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -6 lines
switch all ports to use uvm_init.c:uvm_md_init()

uvm_setpagesize() is now subsumed within this funciton.

Revision 1.10.6.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:40 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -5 lines
Sync with HEAD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jun 11 08:22:08 2015 UTC (9 years, 6 months ago) by matt
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, 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, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +6 -5 lines
Add struct pmap_limits and pm_{min,max}addr from uvm/pmap/map.h and use it to
store avail_start, avail_end, virtual_start, and virtual_end.
Remove iospace and let emips just bump pmap_limits.virtual_start to get the
VA space it needs.
pmap_segtab.c is almost identical to uvm/pmap/pmap_segtab.c now.  It won't
be long until we switch to the uvm/pmap one.

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

Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:38 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.5.2.2: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.2: +5 -5 lines
sync with head.

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

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

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:02 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +5 -5 lines
sync with head

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Mar 24 20:06:31 2014 UTC (10 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, nick-nhusb-base-20150606, 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.9: preferred, colored
Changes since revision 1.9: +4 -3 lines
use cpu_{g,s}etmodel

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Nov 10 18:27:15 2013 UTC (11 years, 1 month ago) by christos
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -4 lines
fix unused variable warnings

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:12 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
Resync to 2012-11-19 00:00:00 UTC

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:19:18 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.1: +4 -8 lines
sync with head

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Oct 27 17:17:46 2012 UTC (12 years, 1 month ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4 lines
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Jul 28 23:08:56 2012 UTC (12 years, 4 months ago) by matt
Branches: MAIN
Branch point for: tls-maxphys
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -6 lines
Fix -fno-common fallout.

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:12 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
sync with head

Revision 1.5.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:31:44 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +3 -3 lines
merge to -current.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Jan 27 18:52:53 2012 UTC (12 years, 10 months ago) by para
Branches: MAIN
CVS tags: yamt-pagecache-base5, yamt-pagecache-base4, 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, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -3 lines
converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged

Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:05 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +2 -5 lines
Catchup with rmind-uvmplock merge.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:21:21 2011 UTC (13 years, 6 months ago) by tsutsui
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -5 lines
No need to initialize interrupt evcnt(9) so earlier, so remove phase arg
from intr_init() and initialize all stuff in cpu_configure(9) as other ports
rather than in mach_init() and mbattach().

Revision 1.4.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:05:17 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.4.6.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.6.1: +748 -0 lines
Sync with HEAD.

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:55 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +748 -0 lines
sync with head

Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Sat Mar 5 15:09:35 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.1.2.3: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.3: +5 -21 lines
Sync with HEAD

Revision 1.4.6.1
Tue Feb 22 08:20:20 2011 UTC (13 years, 9 months ago) by jruoho
Branches: jruoho-x86intr
FILE REMOVED
Changes since revision 1.4: +0 -748 lines
file machdep.c was added on branch jruoho-x86intr on 2011-06-06 09:05:17 +0000

Revision 1.4.2.1
Tue Feb 22 08:20:20 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
FILE REMOVED
Changes since revision 1.4: +0 -748 lines
file machdep.c was added on branch rmind-uvmplock on 2011-03-05 20:49:55 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Feb 22 08:20:20 2011 UTC (13 years, 9 months ago) by matt
Branches: MAIN
CVS tags: rmind-uvmplock-nbase, rmind-uvmplock-base, jym-xensuspend-nbase, jym-xensuspend-base, cherry-xenmp-base, bouyer-quota2-nbase
Branch point for: rmind-uvmplock, jruoho-x86intr, cherry-xenmp
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -20 lines
Bring emips forward to the new mips world order.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Feb 20 08:01:10 2011 UTC (13 years, 9 months ago) by matt
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
Deal with mips_vector_init changes

Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 17 11:59:35 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.1.2.2: preferred, colored
Changes since revision 1.1.2.2: +4 -42 lines
Sync with HEAD

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Feb 8 20:20:11 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base7, bouyer-quota2-base
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -42 lines
Remove clause 3 (UCB advertising clause) from the University of Utah
copyright.  Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Tue Feb 8 18:05:06 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +802 -0 lines
Sync with HEAD

Revision 1.1.2.1
Wed Jan 26 01:18:50 2011 UTC (13 years, 10 months ago) by bouyer
Branches: bouyer-quota2
FILE REMOVED
Changes since revision 1.1: +0 -802 lines
file machdep.c was added on branch bouyer-quota2 on 2011-02-08 18:05:06 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Jan 26 01:18:50 2011 UTC (13 years, 10 months ago) by pooka
Branches: MAIN
Branch point for: bouyer-quota2
Add support for the Extensible MIPS ("eMIPS") platform.  The
NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the
Giano system simulator.

eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.

Platform support for eMIPS is the first part of Microsoft's
contribution.  The second part includes the hardware accelerator
framework and will be proposed on tech-kern soon.

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>