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/RTX_Conf.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: RTX_CONFIG.H |
nexpaq | 0:6c56fb4bc5f0 | 5 | * Purpose: Exported functions of RTX_Config.c |
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 | |
nexpaq | 0:6c56fb4bc5f0 | 36 | /* Error Codes */ |
nexpaq | 0:6c56fb4bc5f0 | 37 | #define OS_ERR_STK_OVF 1 |
nexpaq | 0:6c56fb4bc5f0 | 38 | #define OS_ERR_FIFO_OVF 2 |
nexpaq | 0:6c56fb4bc5f0 | 39 | #define OS_ERR_MBX_OVF 3 |
nexpaq | 0:6c56fb4bc5f0 | 40 | |
nexpaq | 0:6c56fb4bc5f0 | 41 | /* Definitions */ |
nexpaq | 0:6c56fb4bc5f0 | 42 | #define BOX_ALIGN_8 0x80000000 |
nexpaq | 0:6c56fb4bc5f0 | 43 | #define _declare_box(pool,size,cnt) U32 pool[(((size)+3)/4)*(cnt) + 3] |
nexpaq | 0:6c56fb4bc5f0 | 44 | #define _declare_box8(pool,size,cnt) U64 pool[(((size)+7)/8)*(cnt) + 2] |
nexpaq | 0:6c56fb4bc5f0 | 45 | #define _init_box8(pool,size,bsize) _init_box (pool,size,(bsize) | BOX_ALIGN_8) |
nexpaq | 0:6c56fb4bc5f0 | 46 | |
nexpaq | 0:6c56fb4bc5f0 | 47 | /* Variables */ |
nexpaq | 0:6c56fb4bc5f0 | 48 | extern U32 idle_task_stack[]; |
nexpaq | 0:6c56fb4bc5f0 | 49 | extern U32 os_fifo[]; |
nexpaq | 0:6c56fb4bc5f0 | 50 | extern void *os_active_TCB[]; |
nexpaq | 0:6c56fb4bc5f0 | 51 | |
nexpaq | 0:6c56fb4bc5f0 | 52 | /* Constants */ |
nexpaq | 0:6c56fb4bc5f0 | 53 | extern U16 const os_maxtaskrun; |
nexpaq | 0:6c56fb4bc5f0 | 54 | extern U32 const os_trv; |
nexpaq | 0:6c56fb4bc5f0 | 55 | extern U8 const os_flags; |
nexpaq | 0:6c56fb4bc5f0 | 56 | extern U32 const os_rrobin; |
nexpaq | 0:6c56fb4bc5f0 | 57 | extern U32 const os_clockrate; |
nexpaq | 0:6c56fb4bc5f0 | 58 | extern U32 const os_timernum; |
nexpaq | 0:6c56fb4bc5f0 | 59 | extern U16 const idle_task_stack_size; |
nexpaq | 0:6c56fb4bc5f0 | 60 | |
nexpaq | 0:6c56fb4bc5f0 | 61 | extern U8 const os_fifo_size; |
nexpaq | 0:6c56fb4bc5f0 | 62 | |
nexpaq | 0:6c56fb4bc5f0 | 63 | /* Functions */ |
nexpaq | 0:6c56fb4bc5f0 | 64 | extern void os_idle_demon (void); |
nexpaq | 0:6c56fb4bc5f0 | 65 | extern int os_tick_init (void); |
nexpaq | 0:6c56fb4bc5f0 | 66 | extern void os_tick_irqack (void); |
nexpaq | 0:6c56fb4bc5f0 | 67 | extern void os_tmr_call (U16 info); |
nexpaq | 0:6c56fb4bc5f0 | 68 | extern void os_error (U32 err_code); |
nexpaq | 0:6c56fb4bc5f0 | 69 | |
nexpaq | 0:6c56fb4bc5f0 | 70 | /*---------------------------------------------------------------------------- |
nexpaq | 0:6c56fb4bc5f0 | 71 | * end of file |
nexpaq | 0:6c56fb4bc5f0 | 72 | *---------------------------------------------------------------------------*/ |