summaryrefslogtreecommitdiff
path: root/components/vbus
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2015-01-08 17:05:56 +0800
committerGrissiom <[email protected]>2015-01-08 17:05:56 +0800
commit17aa3b19756945b809330384c9478b398f825ac7 (patch)
treee308d96684946e8747b1877b0fa2171b413e2e81 /components/vbus
parent05a01884e6b4bf0024397fa06c5bbe87d213609e (diff)
vbus: update copy-right information
Diffstat (limited to 'components/vbus')
-rw-r--r--components/vbus/prio_queue.c3
-rw-r--r--components/vbus/prio_queue.h29
-rw-r--r--components/vbus/rt_watermark_queue.c3
-rw-r--r--components/vbus/rt_watermark_queue.h3
-rw-r--r--components/vbus/vbus.c7
-rw-r--r--components/vbus/vbus.h4
-rw-r--r--components/vbus/vbus_chnx.c3
7 files changed, 44 insertions, 8 deletions
diff --git a/components/vbus/prio_queue.c b/components/vbus/prio_queue.c
index e0f57d1e05..b402e0376a 100644
--- a/components/vbus/prio_queue.c
+++ b/components/vbus/prio_queue.c
@@ -1,7 +1,8 @@
/*
* Priority Queue
*
- * COPYRIGHT (C) 2013, Shanghai Real-Thread Technology Co., Ltd
+ * COPYRIGHT (C) 2013-2015, Shanghai Real-Thread Technology Co., Ltd
+ * http://www.rt-thread.com
*
* This file is part of RT-Thread (http://www.rt-thread.org)
*
diff --git a/components/vbus/prio_queue.h b/components/vbus/prio_queue.h
index 09bc3c7e63..8a29cbb715 100644
--- a/components/vbus/prio_queue.h
+++ b/components/vbus/prio_queue.h
@@ -1,3 +1,32 @@
+/*
+ * Priority Queue
+ *
+ * COPYRIGHT (C) 2013-2015, Shanghai Real-Thread Technology Co., Ltd
+ * http://www.rt-thread.com
+ *
+ * This file is part of RT-Thread (http://www.rt-thread.org)
+ *
+ * All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2013-11-04 Grissiom add comment
+ */
+
#ifndef __PRIO_QUEUE_H__
#define __PRIO_QUEUE_H__
diff --git a/components/vbus/rt_watermark_queue.c b/components/vbus/rt_watermark_queue.c
index 9c551fa525..329e9f331c 100644
--- a/components/vbus/rt_watermark_queue.c
+++ b/components/vbus/rt_watermark_queue.c
@@ -1,7 +1,8 @@
/*
* Water Gauge
*
- * COPYRIGHT (C) 2014, Shanghai Real-Thread Technology Co., Ltd
+ * COPYRIGHT (C) 2014-2015, Shanghai Real-Thread Technology Co., Ltd
+ * http://www.rt-thread.com
*
* This file is part of RT-Thread (http://www.rt-thread.org)
*
diff --git a/components/vbus/rt_watermark_queue.h b/components/vbus/rt_watermark_queue.h
index c29c65bda0..1fd51e07c2 100644
--- a/components/vbus/rt_watermark_queue.h
+++ b/components/vbus/rt_watermark_queue.h
@@ -1,7 +1,8 @@
/*
* Thread queue with water mark
*
- * COPYRIGHT (C) 2014, Shanghai Real-Thread Technology Co., Ltd
+ * COPYRIGHT (C) 2014-2015, Shanghai Real-Thread Technology Co., Ltd
+ * http://www.rt-thread.com
*
* This file is part of RT-Thread (http://www.rt-thread.org)
*
diff --git a/components/vbus/vbus.c b/components/vbus/vbus.c
index 4ce618ee86..7005e52513 100644
--- a/components/vbus/vbus.c
+++ b/components/vbus/vbus.c
@@ -1,7 +1,8 @@
/*
* VMM Bus
*
- * COPYRIGHT (C) 2013-2014, Shanghai Real-Thread Technology Co., Ltd
+ * COPYRIGHT (C) 2013-2015, Shanghai Real-Thread Technology Co., Ltd
+ * http://www.rt-thread.com
*
* This file is part of RT-Thread (http://www.rt-thread.org)
*
@@ -59,7 +60,7 @@ const static struct log_trace_session _lgs = {
#define vbus_debug(fmt, ...) log_session_lvl(&_lgs, LOG_TRACE_LEVEL_DEBUG, fmt, ##__VA_ARGS__)
#define vbus_verbose(fmt, ...) log_session_lvl(&_lgs, LOG_TRACE_LEVEL_VERBOSE, fmt, ##__VA_ARGS__)
#define vbus_info(fmt, ...) log_session_lvl(&_lgs, LOG_TRACE_LEVEL_INFO, fmt, ##__VA_ARGS__)
-#define vbus_error(fmt, ...) log_session_lvl(&_lgs, LOG_TRACE_LEVEL_ERROR, fmt, ##__VA_ARGS__)
+#define vbus_error(fmt, ...) log_session_lvl(&_lgs, LOG_TRACE_LEVEL_ERROR, fmt, ##__VA_ARGS__)
#else
static struct log_trace_session _lgs = {
.id = {.name = "vbus"},
@@ -68,7 +69,7 @@ static struct log_trace_session _lgs = {
#define vbus_debug(fmt, ...) log_session(&_lgs, LOG_TRACE_DEBUG""fmt, ##__VA_ARGS__)
#define vbus_verbose(fmt, ...) log_session(&_lgs, LOG_TRACE_VERBOSE""fmt, ##__VA_ARGS__)
#define vbus_info(fmt, ...) log_session(&_lgs, LOG_TRACE_INFO""fmt, ##__VA_ARGS__)
-#define vbus_error(fmt, ...) log_session(&_lgs, LOG_TRACE_ERROR""fmt, ##__VA_ARGS__)
+#define vbus_error(fmt, ...) log_session(&_lgs, LOG_TRACE_ERROR""fmt, ##__VA_ARGS__)
#endif
#endif // RT_USING_LOGTRACE
diff --git a/components/vbus/vbus.h b/components/vbus/vbus.h
index 83f0bb295e..2187773a47 100644
--- a/components/vbus/vbus.h
+++ b/components/vbus/vbus.h
@@ -3,7 +3,8 @@
/*
* VBus
*
- * COPYRIGHT (C) 2013-2014, Shanghai Real-Thread Technology Co., Ltd
+ * COPYRIGHT (C) 2013-2015, Shanghai Real-Thread Technology Co., Ltd
+ * http://www.rt-thread.com
*
* This file is part of RT-Thread (http://www.rt-thread.org)
*
@@ -26,6 +27,7 @@
* Change Logs:
* Date Author Notes
* 2014-06-09 Grissiom version 2.0.2; add comment
+ * 2015-01-06 Grissiom version 2.0.3; API change, no functional changes
*/
#include "vbus_local_conf.h"
diff --git a/components/vbus/vbus_chnx.c b/components/vbus/vbus_chnx.c
index fab6b20c2d..bd54c9dbbd 100644
--- a/components/vbus/vbus_chnx.c
+++ b/components/vbus/vbus_chnx.c
@@ -1,7 +1,8 @@
/*
* Channel on VMM Bus
*
- * COPYRIGHT (C) 2013, Shanghai Real-Thread Technology Co., Ltd
+ * COPYRIGHT (C) 2013-2015, Shanghai Real-Thread Technology Co., Ltd
+ * http://www.rt-thread.com
*
* This file is part of RT-Thread (http://www.rt-thread.org)
*