From: Lei Xia Date: Thu, 30 Jun 2011 21:26:08 +0000 (-0500) Subject: add v3vee copyright info X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=cd265a5242baa89c2149b5c5cbf0ed00cfa83892 add v3vee copyright info --- diff --git a/linux_module/iface-packet.c b/linux_module/iface-packet.c index d72306e..d83ec61 100644 --- a/linux_module/iface-packet.c +++ b/linux_module/iface-packet.c @@ -1,6 +1,23 @@ +/* + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2011, Lei Xia + * Copyright (c) 2011, The V3VEE Project + * All rights reserved. + * + * This is free software. You are permitted to use, redistribute, + * and modify it under the terms of the GNU General Public License + * Version 2 (GPLv2). The accompanying COPYING file contains the + * full text of the license. + */ /* - * Palacios Raw Packet - * (c) Lei Xia, 2010 + * Palacios Raw Packet Interface Implementation */ #include #include diff --git a/linux_module/iface-socket.c b/linux_module/iface-socket.c index e572ec9..7407f5f 100644 --- a/linux_module/iface-socket.c +++ b/linux_module/iface-socket.c @@ -16,6 +16,9 @@ * Version 2 (GPLv2). The accompanying COPYING file contains the * full text of the license. */ + /* + * Palacios Socket Interface Implementation + */ #include diff --git a/linux_module/iface-stream.h b/linux_module/iface-stream.h index 10a3353..6e42963 100644 --- a/linux_module/iface-stream.h +++ b/linux_module/iface-stream.h @@ -1,3 +1,22 @@ +/* + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2010, Lei Xia + * Copyright (c) 2010, The V3VEE Project + * All rights reserved. + * + * This is free software. You are permitted to use, redistribute, + * and modify it under the terms of the GNU General Public License + * Version 2 (GPLv2). The accompanying COPYING file contains the + * full text of the license. + */ + #ifndef __IFACE_STREAM_H__ #define __IFACE_STREAM_H__ diff --git a/linux_module/palacios-vnet-brg.c b/linux_module/palacios-vnet-brg.c index e87d422..a45ead0 100644 --- a/linux_module/palacios-vnet-brg.c +++ b/linux_module/palacios-vnet-brg.c @@ -1,7 +1,23 @@ -/* - Palacios VNET Host Bridge - (c) Lei Xia, 2010 +/* + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2011, Lei Xia + * Copyright (c) 2011, The V3VEE Project + * All rights reserved. + * + * This is free software. You are permitted to use, redistribute, + * and modify it under the terms of the GNU General Public License + * Version 2 (GPLv2). The accompanying COPYING file contains the + * full text of the license. */ +/* Palacios VNET Host Bridge */ + #include #include #include diff --git a/linux_module/palacios-vnet-ctrl.c b/linux_module/palacios-vnet-ctrl.c index 4cd1c15..74e14c4 100644 --- a/linux_module/palacios-vnet-ctrl.c +++ b/linux_module/palacios-vnet-ctrl.c @@ -1,7 +1,23 @@ -/* - Palacios VNET Control Module - (c) Lei Xia, 2010 +/* + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2011, Lei Xia + * Copyright (c) 2011, The V3VEE Project + * All rights reserved. + * + * This is free software. You are permitted to use, redistribute, + * and modify it under the terms of the GNU General Public License + * Version 2 (GPLv2). The accompanying COPYING file contains the + * full text of the license. */ +/* Palacios VNET Control Module */ + #include #include #include diff --git a/linux_module/palacios-vnet.c b/linux_module/palacios-vnet.c index 7070c6d..7da8863 100644 --- a/linux_module/palacios-vnet.c +++ b/linux_module/palacios-vnet.c @@ -1,7 +1,23 @@ -/* - Palacios VNET Host Hooks Implementations - (c) Lei Xia, 2011 +/* + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2011, Lei Xia + * Copyright (c) 2011, The V3VEE Project + * All rights reserved. + * + * This is free software. You are permitted to use, redistribute, + * and modify it under the terms of the GNU General Public License + * Version 2 (GPLv2). The accompanying COPYING file contains the + * full text of the license. */ +/* Palacios VNET Host Hooks Implementations */ + #include #include #include diff --git a/linux_module/palacios-vnet.h b/linux_module/palacios-vnet.h index 6acf6c9..47d8ed9 100644 --- a/linux_module/palacios-vnet.h +++ b/linux_module/palacios-vnet.h @@ -1,6 +1,20 @@ /* - * Palacios VNET Host Header - * (c) Lei Xia, 2010 + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2011, Lei Xia + * Copyright (c) 2011, The V3VEE Project + * All rights reserved. + * + * This is free software. You are permitted to use, redistribute, + * and modify it under the terms of the GNU General Public License + * Version 2 (GPLv2). The accompanying COPYING file contains the + * full text of the license. */ #ifndef __PALACIOS_VNET_H__ diff --git a/linux_module/util-hashtable.c b/linux_module/util-hashtable.c index 52fc594..e5ac64a 100644 --- a/linux_module/util-hashtable.c +++ b/linux_module/util-hashtable.c @@ -1,6 +1,20 @@ /* - * Palacios Hash Table - * (c) Lei Xia, 2011 + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2011, Lei Xia + * Copyright (c) 2011, The V3VEE Project + * All rights reserved. + * + * This is free software. You are permitted to use, redistribute, + * and modify it under the terms of the GNU General Public License + * Version 2 (GPLv2). The accompanying COPYING file contains the + * full text of the license. */ #include diff --git a/linux_module/util-hashtable.h b/linux_module/util-hashtable.h index 3d46202..72a6cbb 100644 --- a/linux_module/util-hashtable.h +++ b/linux_module/util-hashtable.h @@ -1,3 +1,22 @@ +/* + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2010, Lei Xia + * Copyright (c) 2010, The V3VEE Project + * All rights reserved. + * + * This is free software. You are permitted to use, redistribute, + * and modify it under the terms of the GNU General Public License + * Version 2 (GPLv2). The accompanying COPYING file contains the + * full text of the license. + */ + #ifndef __PALACIOS_HASHTABLE_H__ #define __PALACIOS_HASHTABLE_H__ diff --git a/linux_module/util-ringbuffer.c b/linux_module/util-ringbuffer.c index 53071e8..0902acc 100644 --- a/linux_module/util-ringbuffer.c +++ b/linux_module/util-ringbuffer.c @@ -1,7 +1,22 @@ -/* - * Ringbuffer Routines for VM - * (c) Lei Xia, 2010 +/* + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2010, Lei Xia + * Copyright (c) 2010, The V3VEE Project + * All rights reserved. + * + * This is free software. You are permitted to use, redistribute, + * and modify it under the terms of the GNU General Public License + * Version 2 (GPLv2). The accompanying COPYING file contains the + * full text of the license. */ + #include #include #include diff --git a/linux_module/util-ringbuffer.h b/linux_module/util-ringbuffer.h index eb39025..11eb8a1 100644 --- a/linux_module/util-ringbuffer.h +++ b/linux_module/util-ringbuffer.h @@ -1,26 +1,40 @@ -/* - * Ringbuffer Routines for VM - * (c) Lei Xia, 2010 - */ +/* + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2010, Lei Xia + * Copyright (c) 2010, The V3VEE Project + * All rights reserved. + * + * This is free software. You are permitted to use, redistribute, + * and modify it under the terms of the GNU General Public License + * Version 2 (GPLv2). The accompanying COPYING file contains the + * full text of the license. + */ -#ifndef __PALACIOS_RING_BUFFER_H__ -#define __PALACIOS_RING_BUFFER_H__ - -struct ringbuf { - unsigned char * buf; - unsigned int size; +#ifndef __PALACIOS_RING_BUFFER_H__ +#define __PALACIOS_RING_BUFFER_H__ - unsigned int start; - unsigned int end; - unsigned int current_len; +struct ringbuf { + unsigned char * buf; + unsigned int size; + + unsigned int start; + unsigned int end; + unsigned int current_len; }; - - -struct ringbuf * create_ringbuf(unsigned int size); -void free_ringbuf(struct ringbuf * ring); -int ringbuf_read(struct ringbuf * ring, unsigned char * dst, unsigned int len); -int ringbuf_write(struct ringbuf * ring, unsigned char * src, unsigned int len); -int ringbuf_data_len(struct ringbuf * ring); -#endif - + +struct ringbuf * create_ringbuf(unsigned int size); +void free_ringbuf(struct ringbuf * ring); +int ringbuf_read(struct ringbuf * ring, unsigned char * dst, unsigned int len); +int ringbuf_write(struct ringbuf * ring, unsigned char * src, unsigned int len); +int ringbuf_data_len(struct ringbuf * ring); + +#endif +