The NetBSD Project

CVS log for src/lib/librumpuser/rumpuser_int.h

[BACK] Up to [cvs.NetBSD.org] / src / lib / librumpuser

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11 / (download) - annotate - [select for diffs], Tue Apr 19 20:32:17 2022 UTC (9 months, 1 week ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

lib: remove CONSTCOND comment

Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.

Revision 1.4.12.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:21 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.4.12.1: +3 -0 lines
Diff to previous 1.4.12.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:52:26 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Rebase.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 22 22:41:58 2014 UTC (8 years, 6 months ago) by justin
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, 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, 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, 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, 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, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.9: +3 -1 lines
Diff to previous 1.9 (colored)

Clean up random implementation for librumpuser

Use /dev/urandom for platforms without arc4random, not srandom(),
deduplicate code, do not read excessive random bytes

Reviewed by pooka@

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Thu May 22 11:37:00 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.4: +43 -9 lines
Diff to previous 1.4 (colored) next main 1.5 (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.9 / (download) - annotate - [select for diffs], Thu Feb 20 01:24:49 2014 UTC (8 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

remember to commit this file too

Revision 1.4.12.1 / (download) - annotate - [select for diffs], Sun Jun 23 06:21:08 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.4: +42 -9 lines
Diff to previous 1.4 (colored)

resync from head

Revision 1.8 / (download) - annotate - [select for diffs], Tue Apr 30 12:39:20 2013 UTC (9 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.7: +8 -1 lines
Diff to previous 1.7 (colored)

Translate error codes between the hypervisor and rump kernel.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Apr 29 14:51:39 2013 UTC (9 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.6: +21 -8 lines
Diff to previous 1.6 (colored)

Make the rump kernel upcalls which were previous available only to
the sysproxy module available for the entire hypervisor.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Apr 29 12:56:04 2013 UTC (9 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.5: +13 -1 lines
Diff to previous 1.5 (colored)

Rework how the bio hypercalls work, part 1/n:

Reduce the set of hypercalls to one: "do block i/o".  This not only
eliminates a lot of pseudo-duplicate code, it also gives the
hypervisor a lot more freedom on how to optimize the i/o.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Apr 27 14:59:08 2013 UTC (9 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.4: +9 -8 lines
Diff to previous 1.4 (colored)

* integrate rumpuser_getversion() with the hypervisor initialization
* rename some identifiers to better match reality

Revision 1.4 / (download) - annotate - [select for diffs], Mon Nov 15 15:23:32 2010 UTC (12 years, 2 months ago) by pooka
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, 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, matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.3: +7 -5 lines
Diff to previous 1.3 (colored)

Make int *error and optional parameter (i.e. it can be NULL).
Sometimes the caller just doesn't care which errno close() might
throw.

Revision 1.3 / (download) - annotate - [select for diffs], Tue May 18 14:58:41 2010 UTC (12 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.2: +7 -5 lines
Diff to previous 1.2 (colored)

Make it possible to use the scheduler lock as the rumpuser condvar
interlock.  This is applicable in cases where the actual interlock
is the CPU the currently running thread is scheduled on.  Borrowing
the scheduler lock as the mutex mandated by pthread_cond_wait()
does away with need to have an additional mutex.  This both optimizes
runtime execution and simplifies code, as the extra lock typically
lead to quite some trickeries to avoid the dungeon collapsing due
to zaps from the wand of deadlock.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 22 09:39:02 2010 UTC (12 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.1: +7 -3 lines
Diff to previous 1.1 (colored)

Wrap DOCALL and DOCALL_KLOCK in a new block (for easy adding of
debug prints before them.

XXX: can't use the standard do-while0 because lint doesn't like it.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 26 18:54:20 2010 UTC (12 years, 11 months ago) by pooka
Branch: MAIN

librumpuser is not _KERNEL code and does not belong in sys.  Move
the source files from src/sys/rump/librump/rumpuser to src/lib/librumpuser
(from where it is already built).  Even so, keep rumpuser.h in
sys/rump/include for kernel source tree self-containment.

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>