From c1fcaa123670df96801f7b977bb522f5691c33e3 Mon Sep 17 00:00:00 2001 From: supowang Date: Wed, 9 Oct 2019 13:15:53 +0800 Subject: [PATCH] add license for kernel add license for kernel --- kernel/core/include/tos.h | 17 +++++++++++++++++ kernel/core/include/tos_compiler.h | 17 +++++++++++++++++ kernel/core/include/tos_config_check.h | 17 +++++++++++++++++ kernel/core/include/tos_config_default.h | 17 +++++++++++++++++ kernel/core/include/tos_err.h | 17 +++++++++++++++++ kernel/core/include/tos_event.h | 17 +++++++++++++++++ kernel/core/include/tos_fifo.h | 17 +++++++++++++++++ kernel/core/include/tos_global.h | 17 +++++++++++++++++ kernel/core/include/tos_klib.h | 17 +++++++++++++++++ kernel/core/include/tos_ktypes.h | 17 +++++++++++++++++ kernel/core/include/tos_list.h | 17 +++++++++++++++++ kernel/core/include/tos_mmblk.h | 17 +++++++++++++++++ kernel/core/include/tos_mmheap.h | 17 +++++++++++++++++ kernel/core/include/tos_msg.h | 17 +++++++++++++++++ kernel/core/include/tos_mutex.h | 17 +++++++++++++++++ kernel/core/include/tos_pend.h | 17 +++++++++++++++++ kernel/core/include/tos_queue.h | 17 +++++++++++++++++ kernel/core/include/tos_robin.h | 17 +++++++++++++++++ kernel/core/include/tos_sched.h | 17 +++++++++++++++++ kernel/core/include/tos_sem.h | 17 +++++++++++++++++ kernel/core/include/tos_sys.h | 17 +++++++++++++++++ kernel/core/include/tos_task.h | 17 +++++++++++++++++ kernel/core/include/tos_tick.h | 17 +++++++++++++++++ kernel/core/include/tos_time.h | 17 +++++++++++++++++ kernel/core/include/tos_timer.h | 17 +++++++++++++++++ kernel/core/tos_event.c | 17 +++++++++++++++++ kernel/core/tos_fifo.c | 17 +++++++++++++++++ kernel/core/tos_global.c | 17 +++++++++++++++++ kernel/core/tos_mmblk.c | 17 +++++++++++++++++ kernel/core/tos_mmheap.c | 17 +++++++++++++++++ kernel/core/tos_msg.c | 17 +++++++++++++++++ kernel/core/tos_mutex.c | 17 +++++++++++++++++ kernel/core/tos_pend.c | 17 +++++++++++++++++ kernel/core/tos_queue.c | 17 +++++++++++++++++ kernel/core/tos_robin.c | 17 +++++++++++++++++ kernel/core/tos_sched.c | 17 +++++++++++++++++ kernel/core/tos_sem.c | 17 +++++++++++++++++ kernel/core/tos_sys.c | 17 +++++++++++++++++ kernel/core/tos_task.c | 17 +++++++++++++++++ kernel/core/tos_tick.c | 17 +++++++++++++++++ kernel/core/tos_time.c | 17 +++++++++++++++++ kernel/core/tos_timer.c | 17 +++++++++++++++++ kernel/evtdrv/include/tos_evtdrv.h | 17 +++++++++++++++++ kernel/evtdrv/include/tos_evtdrv_err.h | 17 +++++++++++++++++ kernel/evtdrv/include/tos_evtdrv_event.h | 17 +++++++++++++++++ kernel/evtdrv/include/tos_evtdrv_global.h | 17 +++++++++++++++++ kernel/evtdrv/include/tos_evtdrv_msg.h | 17 +++++++++++++++++ kernel/evtdrv/include/tos_evtdrv_sys.h | 17 +++++++++++++++++ kernel/evtdrv/include/tos_evtdrv_task.h | 17 +++++++++++++++++ kernel/evtdrv/include/tos_evtdrv_tick.h | 17 +++++++++++++++++ kernel/evtdrv/include/tos_evtdrv_timer.h | 17 +++++++++++++++++ kernel/evtdrv/include/tos_evtdrv_types.h | 17 +++++++++++++++++ kernel/evtdrv/tos_evtdrv_event.c | 17 +++++++++++++++++ kernel/evtdrv/tos_evtdrv_global.c | 17 +++++++++++++++++ kernel/evtdrv/tos_evtdrv_msg.c | 17 +++++++++++++++++ kernel/evtdrv/tos_evtdrv_sys.c | 17 +++++++++++++++++ kernel/evtdrv/tos_evtdrv_task.c | 17 +++++++++++++++++ kernel/evtdrv/tos_evtdrv_tick.c | 17 +++++++++++++++++ kernel/evtdrv/tos_evtdrv_timer.c | 17 +++++++++++++++++ kernel/hal/include/tos_hal.h | 17 +++++++++++++++++ kernel/hal/include/tos_hal_sd.h | 17 +++++++++++++++++ kernel/hal/include/tos_hal_uart.h | 17 +++++++++++++++++ kernel/pm/include/tos_pm.h | 17 +++++++++++++++++ kernel/pm/include/tos_tickless.h | 17 +++++++++++++++++ kernel/pm/tos_pm.c | 17 +++++++++++++++++ kernel/pm/tos_tickless.c | 17 +++++++++++++++++ 66 files changed, 1122 insertions(+) diff --git a/kernel/core/include/tos.h b/kernel/core/include/tos.h index 10f58204..d13b77a8 100644 --- a/kernel/core/include/tos.h +++ b/kernel/core/include/tos.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_H_ #define _TOS_H_ diff --git a/kernel/core/include/tos_compiler.h b/kernel/core/include/tos_compiler.h index 4c7cbda8..00928d47 100644 --- a/kernel/core/include/tos_compiler.h +++ b/kernel/core/include/tos_compiler.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_COMPILER_H_ #define _TOS_COMPILER_H_ diff --git a/kernel/core/include/tos_config_check.h b/kernel/core/include/tos_config_check.h index 6e69190c..c5334e31 100644 --- a/kernel/core/include/tos_config_check.h +++ b/kernel/core/include/tos_config_check.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_CONFIG_CHECK_H_ #define _TOS_CONFIG_CHECK_H_ diff --git a/kernel/core/include/tos_config_default.h b/kernel/core/include/tos_config_default.h index a7170aa2..d10b5b0a 100644 --- a/kernel/core/include/tos_config_default.h +++ b/kernel/core/include/tos_config_default.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_CONFIG_DEFAULT_H_ #define _TOS_CONFIG_DEFAULT_H_ diff --git a/kernel/core/include/tos_err.h b/kernel/core/include/tos_err.h index f654be1c..4d1122d3 100644 --- a/kernel/core/include/tos_err.h +++ b/kernel/core/include/tos_err.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_ERR_H_ #define _TOS_ERR_H_ diff --git a/kernel/core/include/tos_event.h b/kernel/core/include/tos_event.h index f7d02e2f..0839367e 100644 --- a/kernel/core/include/tos_event.h +++ b/kernel/core/include/tos_event.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_EVENT_H_ #define _TOS_EVENT_H_ diff --git a/kernel/core/include/tos_fifo.h b/kernel/core/include/tos_fifo.h index 8affcb85..91b03799 100644 --- a/kernel/core/include/tos_fifo.h +++ b/kernel/core/include/tos_fifo.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_FIFO_H_ #define _TOS_FIFO_H_ diff --git a/kernel/core/include/tos_global.h b/kernel/core/include/tos_global.h index 7fa01b8e..fd625e5c 100644 --- a/kernel/core/include/tos_global.h +++ b/kernel/core/include/tos_global.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_GLOBAL_H_ #define _TOS_GLOBAL_H_ diff --git a/kernel/core/include/tos_klib.h b/kernel/core/include/tos_klib.h index 957c4c0c..18babda1 100644 --- a/kernel/core/include/tos_klib.h +++ b/kernel/core/include/tos_klib.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_KLIB_H_ #define _TOS_KLIB_H_ diff --git a/kernel/core/include/tos_ktypes.h b/kernel/core/include/tos_ktypes.h index 7d5f9f57..cf09ccc8 100644 --- a/kernel/core/include/tos_ktypes.h +++ b/kernel/core/include/tos_ktypes.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_KTYPES_H_ #define _TOS_KTYPES_H_ diff --git a/kernel/core/include/tos_list.h b/kernel/core/include/tos_list.h index 9abd889e..63c086d5 100644 --- a/kernel/core/include/tos_list.h +++ b/kernel/core/include/tos_list.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_LIST_H_ #define _TOS_LIST_H_ diff --git a/kernel/core/include/tos_mmblk.h b/kernel/core/include/tos_mmblk.h index 2f4a666e..d690ee59 100644 --- a/kernel/core/include/tos_mmblk.h +++ b/kernel/core/include/tos_mmblk.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_MMBLK_H_ #define _TOS_MMBLK_H_ diff --git a/kernel/core/include/tos_mmheap.h b/kernel/core/include/tos_mmheap.h index e14e7e36..cdf0cd94 100644 --- a/kernel/core/include/tos_mmheap.h +++ b/kernel/core/include/tos_mmheap.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + /* ** Two Level Segregated Fit memory allocator, version 3.1. ** Written by Matthew Conte diff --git a/kernel/core/include/tos_msg.h b/kernel/core/include/tos_msg.h index 271b69c1..3e9238b4 100644 --- a/kernel/core/include/tos_msg.h +++ b/kernel/core/include/tos_msg.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_MSG_H_ #define _TOS_MSG_H_ diff --git a/kernel/core/include/tos_mutex.h b/kernel/core/include/tos_mutex.h index d87abec7..c036d326 100644 --- a/kernel/core/include/tos_mutex.h +++ b/kernel/core/include/tos_mutex.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_MUTEX_H_ #define _TOS_MUTEX_H_ diff --git a/kernel/core/include/tos_pend.h b/kernel/core/include/tos_pend.h index b1130b7a..b387e197 100644 --- a/kernel/core/include/tos_pend.h +++ b/kernel/core/include/tos_pend.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_PEND_H_ #define _TOS_PEND_H_ diff --git a/kernel/core/include/tos_queue.h b/kernel/core/include/tos_queue.h index 563debd1..5d6f6799 100644 --- a/kernel/core/include/tos_queue.h +++ b/kernel/core/include/tos_queue.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_QUEUE_H_ #define _TOS_QUEUE_H_ diff --git a/kernel/core/include/tos_robin.h b/kernel/core/include/tos_robin.h index 91bdaae0..d7f92209 100644 --- a/kernel/core/include/tos_robin.h +++ b/kernel/core/include/tos_robin.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_ROBIN_H_ #define _TOS_ROBIN_H_ diff --git a/kernel/core/include/tos_sched.h b/kernel/core/include/tos_sched.h index b1634f84..e1ea4f71 100644 --- a/kernel/core/include/tos_sched.h +++ b/kernel/core/include/tos_sched.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_SCHED_H_ #define _TOS_SCHED_H_ diff --git a/kernel/core/include/tos_sem.h b/kernel/core/include/tos_sem.h index 8997be70..c3cf0298 100644 --- a/kernel/core/include/tos_sem.h +++ b/kernel/core/include/tos_sem.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_SEM_H_ #define _TOS_SEM_H_ diff --git a/kernel/core/include/tos_sys.h b/kernel/core/include/tos_sys.h index 11ef6aa1..406ec557 100644 --- a/kernel/core/include/tos_sys.h +++ b/kernel/core/include/tos_sys.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_SYS_H_ #define _TOS_SYS_H_ diff --git a/kernel/core/include/tos_task.h b/kernel/core/include/tos_task.h index c713ea0e..ba57d742 100644 --- a/kernel/core/include/tos_task.h +++ b/kernel/core/include/tos_task.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_TASK_H_ #define _TOS_TASK_H_ diff --git a/kernel/core/include/tos_tick.h b/kernel/core/include/tos_tick.h index 1874f1a9..fe35430b 100644 --- a/kernel/core/include/tos_tick.h +++ b/kernel/core/include/tos_tick.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_TICK_H_ #define _TOS_TICK_H_ diff --git a/kernel/core/include/tos_time.h b/kernel/core/include/tos_time.h index 8374d3ef..1aa966e9 100644 --- a/kernel/core/include/tos_time.h +++ b/kernel/core/include/tos_time.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_TIME_H_ #define _TOS_TIME_H_ diff --git a/kernel/core/include/tos_timer.h b/kernel/core/include/tos_timer.h index a96b66ba..b8cced4a 100644 --- a/kernel/core/include/tos_timer.h +++ b/kernel/core/include/tos_timer.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_TIMER_H_ #define _TOS_TIMER_H_ diff --git a/kernel/core/tos_event.c b/kernel/core/tos_event.c index 3827e527..cd329473 100644 --- a/kernel/core/tos_event.c +++ b/kernel/core/tos_event.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos.h" #if TOS_CFG_EVENT_EN > 0 diff --git a/kernel/core/tos_fifo.c b/kernel/core/tos_fifo.c index 01e7a4c9..c1e033e1 100644 --- a/kernel/core/tos_fifo.c +++ b/kernel/core/tos_fifo.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos.h" __STATIC_INLINE__ int fifo_next(k_fifo_t *fifo, int index) diff --git a/kernel/core/tos_global.c b/kernel/core/tos_global.c index 5cedc45a..5babe950 100644 --- a/kernel/core/tos_global.c +++ b/kernel/core/tos_global.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include k_nesting_t k_irq_nest_cnt = (k_nesting_t)0; diff --git a/kernel/core/tos_mmblk.c b/kernel/core/tos_mmblk.c index f86ff99e..1322908c 100644 --- a/kernel/core/tos_mmblk.c +++ b/kernel/core/tos_mmblk.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include #if TOS_CFG_MMBLK_EN > 0u diff --git a/kernel/core/tos_mmheap.c b/kernel/core/tos_mmheap.c index 1967f460..6e270d88 100644 --- a/kernel/core/tos_mmheap.c +++ b/kernel/core/tos_mmheap.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + /* ** Two Level Segregated Fit memory allocator, version 3.1. ** Written by Matthew Conte diff --git a/kernel/core/tos_msg.c b/kernel/core/tos_msg.c index 1c9596ea..23b014a0 100644 --- a/kernel/core/tos_msg.c +++ b/kernel/core/tos_msg.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include #if TOS_CFG_MSG_EN > 0u diff --git a/kernel/core/tos_mutex.c b/kernel/core/tos_mutex.c index 4fd0d50e..ac7c52b2 100644 --- a/kernel/core/tos_mutex.c +++ b/kernel/core/tos_mutex.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos.h" #if TOS_CFG_MUTEX_EN > 0u diff --git a/kernel/core/tos_pend.c b/kernel/core/tos_pend.c index ffd8aaf5..1f021d38 100644 --- a/kernel/core/tos_pend.c +++ b/kernel/core/tos_pend.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos.h" __STATIC__ void pend_list_add(k_task_t *task, pend_obj_t *pend_obj) diff --git a/kernel/core/tos_queue.c b/kernel/core/tos_queue.c index 35681f20..d8e9d2e8 100644 --- a/kernel/core/tos_queue.c +++ b/kernel/core/tos_queue.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos.h" #if TOS_CFG_QUEUE_EN > 0u diff --git a/kernel/core/tos_robin.c b/kernel/core/tos_robin.c index b99b9c23..91108509 100644 --- a/kernel/core/tos_robin.c +++ b/kernel/core/tos_robin.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos.h" #if TOS_CFG_ROUND_ROBIN_EN > 0u diff --git a/kernel/core/tos_sched.c b/kernel/core/tos_sched.c index 0c57c697..8dd44fc3 100644 --- a/kernel/core/tos_sched.c +++ b/kernel/core/tos_sched.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include __STATIC__ k_prio_t readyqueue_prio_highest_get(void) diff --git a/kernel/core/tos_sem.c b/kernel/core/tos_sem.c index 5f579b1f..c2fd53f6 100644 --- a/kernel/core/tos_sem.c +++ b/kernel/core/tos_sem.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos.h" #if TOS_CFG_SEM_EN > 0u diff --git a/kernel/core/tos_sys.c b/kernel/core/tos_sys.c index c09fd365..971b1efb 100644 --- a/kernel/core/tos_sys.c +++ b/kernel/core/tos_sys.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include __API__ k_err_t tos_knl_init(void) diff --git a/kernel/core/tos_task.c b/kernel/core/tos_task.c index 4481a5be..18abede0 100644 --- a/kernel/core/tos_task.c +++ b/kernel/core/tos_task.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include __STATIC_INLINE__ void task_reset(k_task_t *task) diff --git a/kernel/core/tos_tick.c b/kernel/core/tos_tick.c index 5b732d8b..9696ba7c 100644 --- a/kernel/core/tos_tick.c +++ b/kernel/core/tos_tick.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include __STATIC__ void tick_task_place(k_task_t *task, k_tick_t timeout) diff --git a/kernel/core/tos_time.c b/kernel/core/tos_time.c index 014b2b87..004bfe33 100644 --- a/kernel/core/tos_time.c +++ b/kernel/core/tos_time.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include __API__ k_tick_t tos_systick_get(void) diff --git a/kernel/core/tos_timer.c b/kernel/core/tos_timer.c index e9beb92d..c0cb77b0 100644 --- a/kernel/core/tos_timer.c +++ b/kernel/core/tos_timer.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include #if TOS_CFG_TIMER_EN > 0u diff --git a/kernel/evtdrv/include/tos_evtdrv.h b/kernel/evtdrv/include/tos_evtdrv.h index 72a223f0..e63067c9 100644 --- a/kernel/evtdrv/include/tos_evtdrv.h +++ b/kernel/evtdrv/include/tos_evtdrv.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_EVTDRV_H_ #define _TOS_EVTDRV_H_ diff --git a/kernel/evtdrv/include/tos_evtdrv_err.h b/kernel/evtdrv/include/tos_evtdrv_err.h index b763299e..f2f1d8f0 100644 --- a/kernel/evtdrv/include/tos_evtdrv_err.h +++ b/kernel/evtdrv/include/tos_evtdrv_err.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_EVTDRV_ERR_H_ #define _TOS_EVTDRV_ERR_H_ diff --git a/kernel/evtdrv/include/tos_evtdrv_event.h b/kernel/evtdrv/include/tos_evtdrv_event.h index 1b480ed3..bb838459 100644 --- a/kernel/evtdrv/include/tos_evtdrv_event.h +++ b/kernel/evtdrv/include/tos_evtdrv_event.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_EVTDRV_EVENT_H_ #define _TOS_EVTDRV_EVENT_H_ diff --git a/kernel/evtdrv/include/tos_evtdrv_global.h b/kernel/evtdrv/include/tos_evtdrv_global.h index 3ec3c59b..62f440a9 100644 --- a/kernel/evtdrv/include/tos_evtdrv_global.h +++ b/kernel/evtdrv/include/tos_evtdrv_global.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_EVTDRV_GLOBAL_H_ #define _TOS_EVTDRV_GLOBAL_H_ diff --git a/kernel/evtdrv/include/tos_evtdrv_msg.h b/kernel/evtdrv/include/tos_evtdrv_msg.h index 613f015f..9e49b9fc 100644 --- a/kernel/evtdrv/include/tos_evtdrv_msg.h +++ b/kernel/evtdrv/include/tos_evtdrv_msg.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_EVTDRV_MSG_H_ #define _TOS_EVTDRV_MSG_H_ diff --git a/kernel/evtdrv/include/tos_evtdrv_sys.h b/kernel/evtdrv/include/tos_evtdrv_sys.h index 6331ed32..f5963f53 100644 --- a/kernel/evtdrv/include/tos_evtdrv_sys.h +++ b/kernel/evtdrv/include/tos_evtdrv_sys.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_EVTDRV_SYS_H_ #define _TOS_EVTDRV_SYS_H_ diff --git a/kernel/evtdrv/include/tos_evtdrv_task.h b/kernel/evtdrv/include/tos_evtdrv_task.h index 4865bcd2..892da76c 100644 --- a/kernel/evtdrv/include/tos_evtdrv_task.h +++ b/kernel/evtdrv/include/tos_evtdrv_task.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_EVTDRV_TASK_H_ #define _TOS_EVTDRV_TASK_H_ diff --git a/kernel/evtdrv/include/tos_evtdrv_tick.h b/kernel/evtdrv/include/tos_evtdrv_tick.h index 4d4efeed..1c7bf750 100644 --- a/kernel/evtdrv/include/tos_evtdrv_tick.h +++ b/kernel/evtdrv/include/tos_evtdrv_tick.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_EVTDRV_TICK_H_ #define _TOS_EVTDRV_TICK_H_ diff --git a/kernel/evtdrv/include/tos_evtdrv_timer.h b/kernel/evtdrv/include/tos_evtdrv_timer.h index 8f7d2f00..db15eb03 100644 --- a/kernel/evtdrv/include/tos_evtdrv_timer.h +++ b/kernel/evtdrv/include/tos_evtdrv_timer.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_EVTDRV_TIMER_H_ #define _TOS_EVTDRV_TIMER_H_ diff --git a/kernel/evtdrv/include/tos_evtdrv_types.h b/kernel/evtdrv/include/tos_evtdrv_types.h index 0ae35327..e0ef3312 100644 --- a/kernel/evtdrv/include/tos_evtdrv_types.h +++ b/kernel/evtdrv/include/tos_evtdrv_types.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_EVTDRV_TYPES_H_ #define _TOS_EVTDRV_TYPES_H_ diff --git a/kernel/evtdrv/tos_evtdrv_event.c b/kernel/evtdrv/tos_evtdrv_event.c index c84a99b4..e294461d 100644 --- a/kernel/evtdrv/tos_evtdrv_event.c +++ b/kernel/evtdrv/tos_evtdrv_event.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos_evtdrv.h" #if TOS_CFG_EVENT_DRIVEN_EN > 0u diff --git a/kernel/evtdrv/tos_evtdrv_global.c b/kernel/evtdrv/tos_evtdrv_global.c index fb5a207f..a8e07777 100644 --- a/kernel/evtdrv/tos_evtdrv_global.c +++ b/kernel/evtdrv/tos_evtdrv_global.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos_evtdrv.h" #if TOS_CFG_EVENT_DRIVEN_EN > 0u diff --git a/kernel/evtdrv/tos_evtdrv_msg.c b/kernel/evtdrv/tos_evtdrv_msg.c index 8c75a0d5..476d59d4 100644 --- a/kernel/evtdrv/tos_evtdrv_msg.c +++ b/kernel/evtdrv/tos_evtdrv_msg.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos_evtdrv.h" #if TOS_CFG_EVENT_DRIVEN_EN > 0u diff --git a/kernel/evtdrv/tos_evtdrv_sys.c b/kernel/evtdrv/tos_evtdrv_sys.c index 8fc65d3c..bbb94b7a 100644 --- a/kernel/evtdrv/tos_evtdrv_sys.c +++ b/kernel/evtdrv/tos_evtdrv_sys.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos_evtdrv.h" #if TOS_CFG_EVENT_DRIVEN_EN > 0u diff --git a/kernel/evtdrv/tos_evtdrv_task.c b/kernel/evtdrv/tos_evtdrv_task.c index b0509182..7be09f63 100644 --- a/kernel/evtdrv/tos_evtdrv_task.c +++ b/kernel/evtdrv/tos_evtdrv_task.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos_evtdrv.h" #if TOS_CFG_EVENT_DRIVEN_EN > 0u diff --git a/kernel/evtdrv/tos_evtdrv_tick.c b/kernel/evtdrv/tos_evtdrv_tick.c index d05d39c6..8959bffc 100644 --- a/kernel/evtdrv/tos_evtdrv_tick.c +++ b/kernel/evtdrv/tos_evtdrv_tick.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos_evtdrv.h" #if TOS_CFG_EVENT_DRIVEN_EN > 0u diff --git a/kernel/evtdrv/tos_evtdrv_timer.c b/kernel/evtdrv/tos_evtdrv_timer.c index 3de3ca11..91448616 100644 --- a/kernel/evtdrv/tos_evtdrv_timer.c +++ b/kernel/evtdrv/tos_evtdrv_timer.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos_evtdrv.h" #if TOS_CFG_EVENT_DRIVEN_EN > 0u diff --git a/kernel/hal/include/tos_hal.h b/kernel/hal/include/tos_hal.h index 50ef205f..100f99af 100644 --- a/kernel/hal/include/tos_hal.h +++ b/kernel/hal/include/tos_hal.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_HAL_H_ #define _TOS_HAL_H_ diff --git a/kernel/hal/include/tos_hal_sd.h b/kernel/hal/include/tos_hal_sd.h index 0b18dfc9..e48eacdc 100644 --- a/kernel/hal/include/tos_hal_sd.h +++ b/kernel/hal/include/tos_hal_sd.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_HAL_SD_H_ #define _TOS_HAL_SD_H_ diff --git a/kernel/hal/include/tos_hal_uart.h b/kernel/hal/include/tos_hal_uart.h index e0dfc7bb..8a688ece 100644 --- a/kernel/hal/include/tos_hal_uart.h +++ b/kernel/hal/include/tos_hal_uart.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_HAL_UART_H_ #define _TOS_HAL_UART_H_ diff --git a/kernel/pm/include/tos_pm.h b/kernel/pm/include/tos_pm.h index d565ab4e..288ff214 100644 --- a/kernel/pm/include/tos_pm.h +++ b/kernel/pm/include/tos_pm.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_PM_H_ #define _TOS_PM_H_ diff --git a/kernel/pm/include/tos_tickless.h b/kernel/pm/include/tos_tickless.h index c1ba76ae..047bcb00 100644 --- a/kernel/pm/include/tos_tickless.h +++ b/kernel/pm/include/tos_tickless.h @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #ifndef _TOS_TICKLESS_H_ #define _TOS_TICKLESS_H_ diff --git a/kernel/pm/tos_pm.c b/kernel/pm/tos_pm.c index 7fa053aa..af33ce96 100644 --- a/kernel/pm/tos_pm.c +++ b/kernel/pm/tos_pm.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos.h" #if TOS_CFG_PWR_MGR_EN > 0u diff --git a/kernel/pm/tos_tickless.c b/kernel/pm/tos_tickless.c index 2b498ac3..53fa021d 100644 --- a/kernel/pm/tos_tickless.c +++ b/kernel/pm/tos_tickless.c @@ -1,3 +1,20 @@ +/*---------------------------------------------------------------------------- + * Tencent is pleased to support the open source community by making TencentOS + * available. + * + * Copyright (C) 2019 THL A29 Limited, a Tencent company. All rights reserved. + * If you have downloaded a copy of the TencentOS binary from Tencent, please + * note that the TencentOS binary is licensed under the BSD 3-Clause License. + * + * If you have downloaded a copy of the TencentOS source code from Tencent, + * please note that TencentOS source code is licensed under the BSD 3-Clause + * License, except for the third-party components listed below which are + * subject to different license terms. Your integration of TencentOS into your + * own projects may require compliance with the BSD 3-Clause License, as well + * as the other licenses applicable to the third-party components included + * within TencentOS. + *---------------------------------------------------------------------------*/ + #include "tos.h" #if TOS_CFG_TICKLESS_EN > 0u