vbus: update copy-right information

This commit is contained in:
Grissiom 2015-01-08 17:05:56 +08:00
parent 05a01884e6
commit 17aa3b1975
7 changed files with 44 additions and 8 deletions

View File

@ -1,7 +1,8 @@
/* /*
* Priority Queue * 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) * This file is part of RT-Thread (http://www.rt-thread.org)
* *

View File

@ -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__ #ifndef __PRIO_QUEUE_H__
#define __PRIO_QUEUE_H__ #define __PRIO_QUEUE_H__

View File

@ -1,7 +1,8 @@
/* /*
* Water Gauge * 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) * This file is part of RT-Thread (http://www.rt-thread.org)
* *

View File

@ -1,7 +1,8 @@
/* /*
* Thread queue with water mark * 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) * This file is part of RT-Thread (http://www.rt-thread.org)
* *

View File

@ -1,7 +1,8 @@
/* /*
* VMM Bus * 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) * 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_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_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_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 #else
static struct log_trace_session _lgs = { static struct log_trace_session _lgs = {
.id = {.name = "vbus"}, .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_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_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_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
#endif // RT_USING_LOGTRACE #endif // RT_USING_LOGTRACE

View File

@ -3,7 +3,8 @@
/* /*
* VBus * 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) * This file is part of RT-Thread (http://www.rt-thread.org)
* *
@ -26,6 +27,7 @@
* Change Logs: * Change Logs:
* Date Author Notes * Date Author Notes
* 2014-06-09 Grissiom version 2.0.2; add comment * 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" #include "vbus_local_conf.h"

View File

@ -1,7 +1,8 @@
/* /*
* Channel on VMM Bus * 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) * This file is part of RT-Thread (http://www.rt-thread.org)
* *