Home | History | Annotate | only in /src/sys/rump/dev/lib/libcgd
History log of /src/sys/rump/dev/lib/libcgd
RevisionDateAuthorComments
 1.1 20-Aug-2015  christos branches: 1.1.2; 1.1.18;
use ioconf files for pseudo-device attach prototypes
 1.1.18.2 03-Dec-2017  jdolecek update from HEAD
 1.1.18.1 20-Aug-2015  jdolecek file CGD.ioconf was added on branch tls-maxphys on 2017-12-03 11:39:06 +0000
 1.1.2.2 22-Sep-2015  skrll Sync with HEAD
 1.1.2.1 20-Aug-2015  skrll file CGD.ioconf was added on branch nick-nhusb on 2015-09-22 12:06:12 +0000
 1.7 26-Jan-2016  pooka Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories. Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile.

Leave compat headers around in the old locations.

The commit changes some autogenerated files, but I'll fix the
generators shortly and regen.
 1.6 19-Oct-2015  pooka Add a COMMENT describing what each component roughly does.

"make describe" prints the comment.

Requested/inspired by Vincent Schwarzer on rumpkernel-users
 1.5 20-Aug-2015  christos use ioconf files for pseudo-device attach prototypes
 1.4 13-Mar-2014  pooka branches: 1.4.6;
rename component.c -> cgd_component.c
 1.3 16-Feb-2010  pooka branches: 1.3.10; 1.3.20; 1.3.24;
Globally define -Wno-pointer-sign, as it has become a pointless
exercise of "add it to every Makefile individually".

XXX: should autosynchronize with the rest of the kernel buildflags
in sys/conf/Makefile.kern.inc.
 1.2 07-Sep-2009  pooka branches: 1.2.2;
ketchup: rump_dev_makenodes() -> rump_vfs_makedevnodes()
 1.1 20-Jul-2009  pooka branches: 1.1.2;
Add cgd rump kernel component.
 1.1.2.4 11-Mar-2010  yamt sync with head
 1.1.2.3 16-Sep-2009  yamt sync with head
 1.1.2.2 19-Aug-2009  yamt sync with head.
 1.1.2.1 20-Jul-2009  yamt file Makefile was added on branch yamt-nfs-mp on 2009-08-19 18:48:26 +0000
 1.2.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.3.24.1 18-May-2014  rmind sync with head
 1.3.20.2 03-Dec-2017  jdolecek update from HEAD
 1.3.20.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.10.1 22-May-2014  yamt 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")
 1.4.6.3 19-Mar-2016  skrll Sync with HEAD
 1.4.6.2 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.4.6.1 22-Sep-2015  skrll Sync with HEAD
 1.3 25-Jul-2016  pgoyette When initializing the rump cgd component, use the correct driver name
(as found in the devsw_conv[] table). This will get us the "official"
major numbers for the cgd device.

After creating the rump file-space nodes for /dev/cgd* we then need to
detach the [bc]devsw's because normal module initialization will do its
own attachment, and we don't want that to fail.

While here, since we're doing the devsw_attach() twice, share the
results from the first call rather than starting from scratch.
 1.2 26-Jan-2016  pooka branches: 1.2.2;
Put the kernelside rump kernel headers into <rump-sys> instead of
sprinkling them around the faction directories. Avoids having
to add a CPPFLAGS (or several) to pretty much every component
Makefile.

Leave compat headers around in the old locations.

The commit changes some autogenerated files, but I'll fix the
generators shortly and regen.
 1.1 13-Mar-2014  pooka branches: 1.1.4; 1.1.6; 1.1.10; 1.1.12;
rename component.c -> cgd_component.c
 1.1.12.2 05-Oct-2016  skrll Sync with HEAD
 1.1.12.1 19-Mar-2016  skrll Sync with HEAD
 1.1.10.3 03-Dec-2017  jdolecek update from HEAD
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 13-Mar-2014  tls file cgd_component.c was added on branch tls-maxphys on 2014-08-20 00:04:37 +0000
 1.1.6.2 22-May-2014  yamt 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")
 1.1.6.1 13-Mar-2014  yamt file cgd_component.c was added on branch yamt-pagecache on 2014-05-22 11:41:11 +0000
 1.1.4.2 18-May-2014  rmind sync with head
 1.1.4.1 13-Mar-2014  rmind file cgd_component.c was added on branch rmind-smpnet on 2014-05-18 17:46:15 +0000
 1.2.2.3 24-Jul-2016  pgoyette since we're now attached the [bc]devsw's, grabbing the assigned majors,
and then detaching (in anticipation of the driver module doing its own
attach), we need to make sure that the driver name matches what is
expected in devsw_attach(). In particular, the driver name is "cgd"
and not "/dev/cgd0" :)

While here, we might as well record the major numbers from the first
call, and just reuse them later. So make the module's variables global,
and reference them in the rump initialization code.

Yay - cgd now works in the localcount world, both as a kernel module
and as a rump component.
 1.2.2.2 23-Jul-2016  pgoyette Use correct function name - devsw_detach() vs cdevsw_detach()
----------------------------------------------------------------------
 1.2.2.1 23-Jul-2016  pgoyette The rump_cgd component needs to do an early cdevsw_attact() to figure
out the device major numbers being used. But we then need to detach
the [bc]devsw's to allow them to get attached normally during module
initialization.
 1.8 13-Mar-2014  pooka rename component.c -> cgd_component.c
 1.7 09-Mar-2011  pooka branches: 1.7.4; 1.7.14; 1.7.18;
Create cgd block device files in the right directory.
hi pooka!
 1.6 01-Mar-2010  pooka branches: 1.6.2; 1.6.4;
Introduce RUMP_COMPONENT. It behaves mostly like a simplified
module which is linked into the kernel and cannot be unloaded.
The main purpose is to get the proper constructors run and create
any /dev nodes necessary for said component. Once more of the
kernel (e.g. networking stack and device drivers) are converted to
MODULE and devfs pops up from somewhere, rump components can be
retired.
 1.5 13-Jan-2010  pooka branches: 1.5.2;
cgd is attached via the module interface now instead of pseudodevs.
 1.4 03-Dec-2009  pooka * create /dev on the rump rootfs automatically
* make rump_vfs_makedevnodes() take a full basepath instead of hardcoding
an assumption that the device node is created in /dev
+ the caller is responsible that the directory the nodes are being
created in exists
 1.3 01-Dec-2009  pooka whitespace
 1.2 07-Sep-2009  pooka ketchup: rump_dev_makenodes() -> rump_vfs_makedevnodes()
 1.1 20-Jul-2009  pooka branches: 1.1.2;
Add cgd rump kernel component.
 1.1.2.4 11-Mar-2010  yamt sync with head
 1.1.2.3 16-Sep-2009  yamt sync with head
 1.1.2.2 19-Aug-2009  yamt sync with head.
 1.1.2.1 20-Jul-2009  yamt file component.c was added on branch yamt-nfs-mp on 2009-08-19 18:48:26 +0000
 1.5.2.1 30-Apr-2010  uebayasi Sync with HEAD.
 1.6.4.1 06-Jun-2011  jruoho Sync with HEAD.
 1.6.2.1 21-Apr-2011  rmind sync with head
 1.7.18.1 18-May-2014  rmind sync with head
 1.7.14.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.4.1 22-May-2014  yamt 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")
 1.2 02-Dec-2014  pooka Remove shlib_version files and just use Makefile SHLIB_MAJOR/MINOR,
with the default provided by Makefile.rump (they're all 0.0 anyway)
 1.1 20-Jul-2009  pooka branches: 1.1.2; 1.1.24; 1.1.42;
Add cgd rump kernel component.
 1.1.42.1 06-Apr-2015  skrll Sync with HEAD
 1.1.24.1 03-Dec-2017  jdolecek update from HEAD
 1.1.2.2 19-Aug-2009  yamt sync with head.
 1.1.2.1 20-Jul-2009  yamt file shlib_version was added on branch yamt-nfs-mp on 2009-08-19 18:48:26 +0000

RSS XML Feed