Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
rt_List.h
00001 /** 00002 * @file rt_List.h 00003 * @brief 00004 * 00005 * DAPLink Interface Firmware 00006 * Copyright (c) 2009-2016, ARM Limited, All Rights Reserved 00007 * SPDX-License-Identifier: Apache-2.0 00008 * 00009 * Licensed under the Apache License, Version 2.0 (the "License"); you may 00010 * not use this file except in compliance with the License. 00011 * You may obtain a copy of the License at 00012 * 00013 * http://www.apache.org/licenses/LICENSE-2.0 00014 * 00015 * Unless required by applicable law or agreed to in writing, software 00016 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 00017 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00018 * See the License for the specific language governing permissions and 00019 * limitations under the License. 00020 */ 00021 00022 /* Definitions */ 00023 00024 /* Values for 'cb_type' */ 00025 #define TCB 0 00026 #define MCB 1 00027 #define SCB 2 00028 #define MUCB 3 00029 #define HCB 4 00030 00031 /* Variables */ 00032 extern struct OS_XCB os_rdy; 00033 extern struct OS_XCB os_dly; 00034 00035 /* Functions */ 00036 extern void rt_put_prio (P_XCB p_CB, P_TCB p_task); 00037 extern P_TCB rt_get_first (P_XCB p_CB); 00038 extern void rt_put_rdy_first (P_TCB p_task); 00039 extern P_TCB rt_get_same_rdy_prio (void); 00040 extern void rt_resort_prio (P_TCB p_task); 00041 extern void rt_put_dly (P_TCB p_task, U16 delay); 00042 extern void rt_dec_dly (void); 00043 extern void rt_rmv_list (P_TCB p_task); 00044 extern void rt_rmv_dly (P_TCB p_task); 00045 extern void rt_psq_enq (OS_ID entry, U32 arg); 00046 00047 /* This is a fast macro generating in-line code */ 00048 #define rt_rdy_prio(void) (os_rdy.p_lnk->prio) 00049 00050 00051 /*---------------------------------------------------------------------------- 00052 * end of file 00053 *---------------------------------------------------------------------------*/ 00054
Generated on Tue Jul 12 2022 15:37:22 by
1.7.2