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.
rtos/rtx/TARGET_ARM7/rt_System.h@1:d96dbedaebdb, 2016-11-04 (annotated)
- Committer:
- nexpaq
- Date:
- Fri Nov 04 20:54:50 2016 +0000
- Revision:
- 1:d96dbedaebdb
- Parent:
- 0:6c56fb4bc5f0
Removed extra directories for other platforms
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
nexpaq | 0:6c56fb4bc5f0 | 1 | /*---------------------------------------------------------------------------- |
nexpaq | 0:6c56fb4bc5f0 | 2 | * RL-ARM - RTX |
nexpaq | 0:6c56fb4bc5f0 | 3 | *---------------------------------------------------------------------------- |
nexpaq | 0:6c56fb4bc5f0 | 4 | * Name: RT_SYSTEM.H |
nexpaq | 0:6c56fb4bc5f0 | 5 | * Purpose: System Task Manager definitions |
nexpaq | 0:6c56fb4bc5f0 | 6 | * Rev.: V4.60 |
nexpaq | 0:6c56fb4bc5f0 | 7 | *---------------------------------------------------------------------------- |
nexpaq | 0:6c56fb4bc5f0 | 8 | * |
nexpaq | 0:6c56fb4bc5f0 | 9 | * Copyright (c) 1999-2009 KEIL, 2009-2015 ARM Germany GmbH |
nexpaq | 0:6c56fb4bc5f0 | 10 | * All rights reserved. |
nexpaq | 0:6c56fb4bc5f0 | 11 | * Redistribution and use in source and binary forms, with or without |
nexpaq | 0:6c56fb4bc5f0 | 12 | * modification, are permitted provided that the following conditions are met: |
nexpaq | 0:6c56fb4bc5f0 | 13 | * - Redistributions of source code must retain the above copyright |
nexpaq | 0:6c56fb4bc5f0 | 14 | * notice, this list of conditions and the following disclaimer. |
nexpaq | 0:6c56fb4bc5f0 | 15 | * - Redistributions in binary form must reproduce the above copyright |
nexpaq | 0:6c56fb4bc5f0 | 16 | * notice, this list of conditions and the following disclaimer in the |
nexpaq | 0:6c56fb4bc5f0 | 17 | * documentation and/or other materials provided with the distribution. |
nexpaq | 0:6c56fb4bc5f0 | 18 | * - Neither the name of ARM nor the names of its contributors may be used |
nexpaq | 0:6c56fb4bc5f0 | 19 | * to endorse or promote products derived from this software without |
nexpaq | 0:6c56fb4bc5f0 | 20 | * specific prior written permission. |
nexpaq | 0:6c56fb4bc5f0 | 21 | * |
nexpaq | 0:6c56fb4bc5f0 | 22 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
nexpaq | 0:6c56fb4bc5f0 | 23 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
nexpaq | 0:6c56fb4bc5f0 | 24 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
nexpaq | 0:6c56fb4bc5f0 | 25 | * ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE |
nexpaq | 0:6c56fb4bc5f0 | 26 | * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
nexpaq | 0:6c56fb4bc5f0 | 27 | * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
nexpaq | 0:6c56fb4bc5f0 | 28 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
nexpaq | 0:6c56fb4bc5f0 | 29 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
nexpaq | 0:6c56fb4bc5f0 | 30 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
nexpaq | 0:6c56fb4bc5f0 | 31 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
nexpaq | 0:6c56fb4bc5f0 | 32 | * POSSIBILITY OF SUCH DAMAGE. |
nexpaq | 0:6c56fb4bc5f0 | 33 | *---------------------------------------------------------------------------*/ |
nexpaq | 0:6c56fb4bc5f0 | 34 | |
nexpaq | 0:6c56fb4bc5f0 | 35 | /* Variables */ |
nexpaq | 0:6c56fb4bc5f0 | 36 | #define os_psq ((P_PSQ)&os_fifo) |
nexpaq | 0:6c56fb4bc5f0 | 37 | extern int os_tick_irqn; |
nexpaq | 0:6c56fb4bc5f0 | 38 | |
nexpaq | 0:6c56fb4bc5f0 | 39 | /* Functions */ |
nexpaq | 0:6c56fb4bc5f0 | 40 | extern U32 rt_suspend (void); |
nexpaq | 0:6c56fb4bc5f0 | 41 | extern void rt_resume (U32 sleep_time); |
nexpaq | 0:6c56fb4bc5f0 | 42 | extern void rt_tsk_lock (void); |
nexpaq | 0:6c56fb4bc5f0 | 43 | extern void rt_tsk_unlock (void); |
nexpaq | 0:6c56fb4bc5f0 | 44 | extern void rt_psh_req (void); |
nexpaq | 0:6c56fb4bc5f0 | 45 | extern void rt_pop_req (void); |
nexpaq | 0:6c56fb4bc5f0 | 46 | extern void rt_systick (void); |
nexpaq | 0:6c56fb4bc5f0 | 47 | extern void rt_stk_check (void); |
nexpaq | 0:6c56fb4bc5f0 | 48 | |
nexpaq | 0:6c56fb4bc5f0 | 49 | /*---------------------------------------------------------------------------- |
nexpaq | 0:6c56fb4bc5f0 | 50 | * end of file |
nexpaq | 0:6c56fb4bc5f0 | 51 | *---------------------------------------------------------------------------*/ |
nexpaq | 0:6c56fb4bc5f0 | 52 |