The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.52 / (download) - annotate - [select for diffs], Sat Jan 22 11:49:16 2022 UTC (2 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.51: +14 -8 lines
Diff to previous 1.51 (colored)

Change the devhandle_from_*() functions to also take a "super handle",
from which the newly created handle will inherit it's implementation.
The root implementation for a new handle type is used if an invalid
"super handle" is passed.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Jan 21 15:55:36 2022 UTC (2 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.50: +3 -7 lines
Diff to previous 1.50 (colored)

Replace devhandle_invalidate(), which invalidates a devhandle, with
devhandle_invalid(), which returns an invalid devhandle.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Sep 17 16:16:18 2021 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.49: +3 -4 lines
Diff to previous 1.49 (colored)

Don't include <sys/device_calls.h> in the _STANDALONE case.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Sep 15 17:33:08 2021 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.48: +5 -3 lines
Diff to previous 1.48 (colored)

Adjust the device_call() calling convention so as to provide type checking
of the arguments passed to the call, using auto-generated argument
structures and binding macros.

Revision 1.47.6.1 / (download) - annotate - [select for diffs], Mon May 31 22:15:16 2021 UTC (2 years, 8 months ago) by cjep
Branch: cjep_staticlib_x
Changes since 1.47: +123 -3 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

sync with head

Revision 1.47.4.1 / (download) - annotate - [select for diffs], Thu May 13 00:47:28 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.47: +123 -3 lines
Diff to previous 1.47 (colored) next main 1.48 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Mon May 10 13:59:30 2021 UTC (2 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1
Changes since 1.47: +123 -3 lines
Diff to previous 1.47 (colored)

sparc{,64} promlib -> devhandle_t glue

Revision 1.46.16.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:38 2021 UTC (2 years, 10 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

Sync with HEAD.

Revision 1.47 / (download) - annotate - [select for diffs], Sun Jan 24 07:36:54 2021 UTC (3 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: thorpej-futex-base, thorpej-cfargs-base, thorpej-cfargs, cjep_staticlib_x-base
Branch point for: thorpej-i2c-spi-conf, cjep_staticlib_x
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored)

avoid using 'extern <func|data>;' inside a .c file, but instead
use header files and ensure definitions are not duplicated or
are technically (if not in codegen) wrong.

Revision 1.43.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:43 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.43.12.1: +18 -0 lines
Diff to previous 1.43.12.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

update from HEAD

Revision 1.46 / (download) - annotate - [select for diffs], Mon Sep 11 19:25:07 2017 UTC (6 years, 5 months ago) by palle
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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, netbsd-9-base, 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, 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, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex
Changes since 1.45: +18 -2 lines
Diff to previous 1.45 (colored)

sun4v: Update code to retrieve CPU clock frequency so it can handle (future?) CPU clock frequencies above the 32-bit limit. ok mrg@

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Fri Apr 22 15:44:11 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.44: +4 -2 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with HEAD

Revision 1.45 / (download) - annotate - [select for diffs], Fri Apr 1 20:21:45 2016 UTC (7 years, 10 months ago) by palle
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, netbsd-8-base, 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, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.44: +4 -2 lines
Diff to previous 1.44 (colored)

sun4v: Workaround for OpenBoot feature where a 64-bit address is truncated to a 32-bit address. This happends when a write to the console (/virtual-devices@100/console@1) is done. Avoid this by using a static buffer that is mapped below 4GB. Thanks to Tarl Neustaedter for explaining how OpenBoot works. ok martin@

Revision 1.43.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:24 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.43: +5 -4 lines
Diff to previous 1.43 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:09 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.43: +5 -4 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

sync with head.

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

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

Revision 1.43.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:25 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.43: +5 -4 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Wed Mar 26 15:55:43 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, 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
Changes since 1.43: +5 -4 lines
Diff to previous 1.43 (colored)

kill sprintf

Revision 1.43 / (download) - annotate - [select for diffs], Sun Jul 17 20:54:47 2011 UTC (12 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.42: +2 -3 lines
Diff to previous 1.42 (colored)

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.

Revision 1.40.64.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:58 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.40.64.1: +20 -10 lines
Diff to previous 1.40.64.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with head

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jan 21 11:40:01 2010 UTC (14 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.41: +20 -10 lines
Diff to previous 1.41 (colored)

Split the part out of prom_getether() that deals with the local
firmware device node into a new function.

Revision 1.40.60.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:41 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.40: +2 -9 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.40.62.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:47 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.40: +2 -9 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

sync with head.

Revision 1.40.64.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:12 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.40: +2 -9 lines
Diff to previous 1.40 (colored)

sync with head.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:36 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, 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, 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-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, jymxensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Changes since 1.40: +2 -9 lines
Diff to previous 1.40 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:43:24 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

sync with head

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:56:12 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36: +16 -24 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync with head.

Revision 1.39.14.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:45:06 2006 UTC (17 years, 8 months ago) by chap
Branch: chap-midi
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with head.

Revision 1.39.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:26 2006 UTC (17 years, 8 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

Sync with head.

Revision 1.39.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:23 2006 UTC (17 years, 9 months ago) by tron
Branch: peter-altq
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

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

Revision 1.39.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:57:14 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored) next main 1.40 (colored)

sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Sat May 20 07:08:26 2006 UTC (17 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pf42-baseX, yamt-pf42-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, yamt-idlelwp, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-timecounters-base, rpaulo-netinet-merge-pcb-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, post-newlock2-merge, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-nb4-arm-base, matt-nb4-arm, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-base, hpcarm-cleanup, gdamore-uart-base, gdamore-uart, cube-autoconf-base, cube-autoconf, chap-midi-nbase, chap-midi-base, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.39: +4 -4 lines
Diff to previous 1.39 (colored)

when casting to assign to a u_char pointer, use (u_char *) not (char *).

Revision 1.39 / (download) - annotate - [select for diffs], Sat Dec 24 23:24:02 2005 UTC (18 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, chap-midi
Changes since 1.38: +6 -6 lines
Diff to previous 1.38 (colored)

__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile

Revision 1.18.2.5 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:37 2005 UTC (18 years, 2 months ago) by christos
Branch: ktrace-lwp
Changes since 1.18.2.4: +10 -18 lines
Diff to previous 1.18.2.4 (colored) next main 1.19 (colored)

Sync with head.

Revision 1.36.8.1 / (download) - annotate - [select for diffs], Tue Nov 22 16:08:03 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.36: +10 -18 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Wed Nov 16 22:10:58 2005 UTC (18 years, 3 months ago) by uwe
Branch: MAIN
CVS Tags: yamt-readahead-base3, yamt-readahead-base2, ktrace-lwp-base
Changes since 1.37: +5 -5 lines
Diff to previous 1.37 (colored)

Use uint<N>_t.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Nov 14 19:11:24 2005 UTC (18 years, 3 months ago) by uwe
Branch: MAIN
Changes since 1.36: +7 -15 lines
Diff to previous 1.36 (colored)

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

Revision 1.18.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 13:59:08 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.18.2.3: +91 -132 lines
Diff to previous 1.18.2.3 (colored)

Sync with HEAD. Here we go again...

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jun 19 20:00:28 2005 UTC (18 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead, yamt-lazymbuf
Changes since 1.35: +8 -8 lines
Diff to previous 1.35 (colored)

Move common Sun ID PROM definitions into <dev/sun/idprom.h>.

Revision 1.35 / (download) - annotate - [select for diffs], Tue May 31 00:55:45 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.34: +85 -126 lines
Diff to previous 1.34 (colored)

- sprinkle const
- change to ansi prototypes

Revision 1.18.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:22:38 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.18.2.2: +2 -2 lines
Diff to previous 1.18.2.2 (colored)

Fix the sync with head I botched.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:40:49 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.18.2.1: +0 -0 lines
Diff to previous 1.18.2.1 (colored)

Sync with HEAD.

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:41:11 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.18: +329 -167 lines
Diff to previous 1.18 (colored)

Sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Tue Mar 23 15:29:56 2004 UTC (19 years, 11 months 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, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.33: +14 -19 lines
Diff to previous 1.33 (colored)

prom_pa_location: re-arrange code a bit; use u_long cast to make this compile on 64 bit systems; to do: openfirmware version of this.

Revision 1.33 / (download) - annotate - [select for diffs], Tue Mar 23 11:40:29 2004 UTC (19 years, 11 months ago) by martin
Branch: MAIN
Changes since 1.32: +4 -2 lines
Diff to previous 1.32 (colored)

The function prom_pa_location casts magic spells that probably won't
work on 64 bit kernels (and at least do not compile). Since this function
is not used there, #ifndef _LP64 it for now.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Mar 22 12:37:43 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.31: +39 -2 lines
Diff to previous 1.31 (colored)

Leverage the PROM's ability to identify the on-board location of a
physical memory address.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Mar 21 13:57:58 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.30: +32 -21 lines
Diff to previous 1.30 (colored)

opf_getboot{path,file,args}: return static storage so these can be used
in the early boot phase.

Define prom_interpret() to be a simple form of the Openfirmware OF_interpret().

Re-arrange OLDMON code in prom_getidprom() to make it compile on sparc64.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Mar 18 15:24:19 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.29: +100 -82 lines
Diff to previous 1.29 (colored)

obp_v2_finddevice: bounds check on local char buffer.
prom_findnode: implement node name matching for device named containing
commas, cf. IEEE 1275, section 4.3.6.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Mar 17 17:04:59 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.28: +25 -25 lines
Diff to previous 1.28 (colored)

Rename PROM_getprop*() => prom_getprop*().

Revision 1.28 / (download) - annotate - [select for diffs], Wed Mar 17 11:00:19 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.27: +36 -36 lines
Diff to previous 1.27 (colored)

De-__P();

Revision 1.27 / (download) - annotate - [select for diffs], Wed Mar 17 10:48:21 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

prom_getprop(): Make the `element size' argument a size_t (like sparc64).

Revision 1.26 / (download) - annotate - [select for diffs], Tue Mar 16 22:45:18 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.25: +56 -17 lines
Diff to previous 1.25 (colored)

Encapsulate retrieval of properties from the global `options' prom node.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Mar 15 23:46:40 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.24: +45 -10 lines
Diff to previous 1.24 (colored)

prom_getether: support the "local-mac-address" property on network nodes.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Oct 15 11:51:48 2003 UTC (20 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.23: +10 -4 lines
Diff to previous 1.23 (colored)

obp_v2_getbootfile: we might as well be complete by also considering the
PROM environment variables `diag-switch?' and `diag-file'.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Oct 13 17:59:19 2003 UTC (20 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.22: +16 -3 lines
Diff to previous 1.22 (colored)

obp_v2_getbootfile: use the value of the `boot-file' prom environment
variable if we determine that the boot arguments presented to us by the
PROM do not contain a boot file name.

Idea from Greg Woods on port-sparc@netbsd.org.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Aug 27 15:59:54 2003 UTC (20 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.21: +12 -12 lines
Diff to previous 1.21 (colored)

change PROM_getprop() from taking a "void **" for the storage, to a
"void *", and do the extra de-reference directly in the function.  this
avoids having to cast dozens of different types to "void **", which sets
of GCC3's strict-aliasing.  testing by martin@

Revision 1.21 / (download) - annotate - [select for diffs], Sun Aug 10 14:50:09 2003 UTC (20 years, 6 months ago) by martin
Branch: MAIN
Changes since 1.20: +9 -9 lines
Diff to previous 1.20 (colored)

Remove unecessary intermediate (void*) casts.

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jul 30 15:58:36 2003 UTC (20 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.19: +11 -9 lines
Diff to previous 1.19 (colored)

sprinkle some: libkern.h, some -ffreestanding and some cast-y goodness,
all for the pleasure of the gcc 3 :-)

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jul 15 00:05:09 2003 UTC (20 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.18: +5 -1 lines
Diff to previous 1.18 (colored)

__KERNEL_RCSID()

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jun 28 01:03:57 2003 UTC (20 years, 8 months ago) by uwe
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Trust srt0.S if it has set cputyp to CPU_SUN4M.
It can infer OFW -> sun4m, as only JavaStations have OFW, and it can
detect OFW by the different calling convention.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Mar 1 13:01:56 2003 UTC (21 years ago) by pk
Branch: MAIN
Changes since 1.16: +36 -1 lines
Diff to previous 1.16 (colored)

Add support for large kernels by searching for a physical memory segment
to fit it in. As a bonus, the kernel is now also mapped to the virtual
address (i.e. KERNBASE) it is linked at.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Feb 26 17:39:07 2003 UTC (21 years ago) by pk
Branch: MAIN
Changes since 1.15: +72 -4 lines
Diff to previous 1.15 (colored)

Move all `ID prom' stuff into the prom library.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Feb 26 14:25:20 2003 UTC (21 years ago) by pk
Branch: MAIN
Changes since 1.14: +42 -78 lines
Diff to previous 1.14 (colored)

Re-define `struct memarr' to have the same layout as the V2 ROM memory
property to avoid gratuitous copying in prom_makememarr().

Have prom_makememarr() accept a NULL pointer, in which case it will return
the size of the array needed to store the memory descriptors.

Revision 1.14 / (download) - annotate - [select for diffs], Tue Feb 18 13:36:52 2003 UTC (21 years ago) by pk
Branch: MAIN
Changes since 1.13: +139 -1 lines
Diff to previous 1.13 (colored)

Move makememarr() into promlib.c.

Revision 1.6.12.1 / (download) - annotate - [select for diffs], Wed Mar 20 22:28:41 2002 UTC (21 years, 11 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Pull up revision 1.10 (requested by jonb):
  Wrap SUN4-only code by the proper ifdef.

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:49:05 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.9.2.1: +20 -17 lines
Diff to previous 1.9.2.1 (colored) next main 1.10 (colored)

Sync kqueue branch with -current.

Revision 1.11.4.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:27:51 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.11.4.1: +1012 -0 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Catch up to -current.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Dec 7 11:00:39 2001 UTC (22 years, 2 months ago) by hannken
Branch: MAIN
CVS Tags: newlock-base, newlock, 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, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

Protect `opt_sparc_arch.h'. Used from /sys/arch/sparc/stand/boot.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Dec 4 00:05:08 2001 UTC (22 years, 2 months ago) by darrenr
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (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.10.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:42:16 2001 UTC (22 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.10: +17 -17 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Catch up with -current.

Revision 1.11.4.1, Wed Sep 26 20:53:08 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11: +0 -1009 lines
FILE REMOVED

file promlib.c was added on branch nathanw_sa on 2002-01-08 00:27:51 +0000

Revision 1.11 / (download) - annotate - [select for diffs], Wed Sep 26 20:53:08 2001 UTC (22 years, 5 months ago) by eeh
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2
Branch point for: nathanw_sa
Changes since 1.10: +17 -17 lines
Diff to previous 1.10 (colored)

getprop* -> PROM_getprop*

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:12:24 2001 UTC (22 years, 6 months ago) by lukem
Branch: kqueue
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

update to -current

Revision 1.10 / (download) - annotate - [select for diffs], Thu Aug 2 18:06:22 2001 UTC (22 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: thorpej-devvp-base, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-devvp
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

Fix non-properly ifdef'ed SUN4 only code.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Jun 26 20:35:54 2001 UTC (22 years, 8 months ago) by uwe
Branch: MAIN
Branch point for: kqueue
Changes since 1.8: +11 -11 lines
Diff to previous 1.8 (colored)

KNF: put parens around returned values.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 26 20:21:59 2001 UTC (22 years, 8 months ago) by uwe
Branch: MAIN
Changes since 1.7: +35 -10 lines
Diff to previous 1.7 (colored)

Some OpenFirmware client services return -1 on error, while the rest
of the code expects zero.  Add some wrappers so that opf promops are
consistent with obp promops.  Now microSPARC-IIep correctly panics ;)
While here, propagate 'static' to opf_* definitions.

Revision 1.6.14.1 / (download) - annotate - [select for diffs], Thu Jun 21 19:35:17 2001 UTC (22 years, 8 months ago) by nathanw
Changes since 1.6: +19 -15 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Catch up to -current.

Revision 1.7 / (download) - annotate - [select for diffs], Sun May 20 20:38:24 2001 UTC (22 years, 9 months ago) by uwe
Branch: MAIN
Changes since 1.6: +19 -15 lines
Diff to previous 1.6 (colored)

Implement notimplemented() for OpenFirmware.
Implement opf_nextprop().
Reuse obp_v2_putstr for OF promops.

Revision 1.3.2.3.2.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:01:50 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.3.2.3: +0 -0 lines
Diff to previous 1.3.2.3 (colored) next main 1.4 (colored)

Sync w/ -current.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Mon May 3 12:59:52 1999 UTC (24 years, 9 months ago) by perry
Branch: netbsd-1-4
CVS Tags: netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.3.2.2: +2 -1 lines
Diff to previous 1.3.2.2 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

pullup 1.5->1.6 (pk): critical problem that caused boot block failure

Revision 1.6 / (download) - annotate - [select for diffs], Mon May 3 07:32:50 1999 UTC (24 years, 9 months ago) by pk
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej_scsipi, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: netbsd-1-5
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Missing initialization of getbootfile() method for `old' monitors.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sat Apr 17 10:26:26 1999 UTC (24 years, 10 months ago) by pk
Branch: netbsd-1-4
Changes since 1.3.2.1: +2 -1 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored)

Pull up rev 1.5 from trunk

Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 16 08:55:37 1999 UTC (24 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

`oldmon' proms need `putstr()' too.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Wed Apr 14 21:19:22 1999 UTC (24 years, 10 months ago) by pk
Branch: netbsd-1-4
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Pull up re 1.4 from trunk

Revision 1.4 / (download) - annotate - [select for diffs], Wed Apr 14 09:12:46 1999 UTC (24 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

PROM likes to see CR-NL.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 2 13:41:03 1999 UTC (25 years ago) by pk
Branch: MAIN
CVS Tags: netbsd-1-4-base
Branch point for: netbsd-1-4
Changes since 1.2: +5 -4 lines
Diff to previous 1.2 (colored)

Print version prettier.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Feb 18 17:23:55 1999 UTC (25 years ago) by christos
Branch: MAIN
Changes since 1.1: +13 -13 lines
Diff to previous 1.1 (colored)

make the #if 0'ed code compile...

Revision 1.1 / (download) - annotate - [select for diffs], Sun Feb 14 12:23:03 1999 UTC (25 years ago) by pk
Branch: MAIN

Provide a uniform interface to most of the PROM functions.
Include an Openfirmware back-end (mostly copied from sparc64).

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>