Skip to content

Release v3.08.02 #34

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Dec 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cfg/Template/os_app_hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* uC/OS-III
* The Real-Time Kernel
*
* Copyright 2009-2021 Silicon Laboratories Inc. www.silabs.com
* Copyright 2009-2022 Silicon Laboratories Inc. www.silabs.com
*
* SPDX-License-Identifier: APACHE-2.0
*
Expand All @@ -20,7 +20,7 @@
* APPLICATION HOOKS
*
* Filename : os_app_hooks.c
* Version : V3.08.01
* Version : V3.08.02
*********************************************************************************************************
*/

Expand Down
4 changes: 2 additions & 2 deletions Cfg/Template/os_app_hooks.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* uC/OS-III
* The Real-Time Kernel
*
* Copyright 2009-2021 Silicon Laboratories Inc. www.silabs.com
* Copyright 2009-2022 Silicon Laboratories Inc. www.silabs.com
*
* SPDX-License-Identifier: APACHE-2.0
*
Expand All @@ -20,7 +20,7 @@
* APPLICATION HOOKS
*
* Filename : os_app_hooks.h
* Version : V3.08.01
* Version : V3.08.02
*********************************************************************************************************
*/

Expand Down
4 changes: 2 additions & 2 deletions Cfg/Template/os_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* uC/OS-III
* The Real-Time Kernel
*
* Copyright 2009-2021 Silicon Laboratories Inc. www.silabs.com
* Copyright 2009-2022 Silicon Laboratories Inc. www.silabs.com
*
* SPDX-License-Identifier: APACHE-2.0
*
Expand All @@ -20,7 +20,7 @@
* CONFIGURATION FILE
*
* Filename : os_cfg.h
* Version : V3.08.01
* Version : V3.08.02
*********************************************************************************************************
*/

Expand Down
4 changes: 2 additions & 2 deletions Cfg/Template/os_cfg_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* uC/OS-III
* The Real-Time Kernel
*
* Copyright 2009-2021 Silicon Laboratories Inc. www.silabs.com
* Copyright 2009-2022 Silicon Laboratories Inc. www.silabs.com
*
* SPDX-License-Identifier: APACHE-2.0
*
Expand All @@ -20,7 +20,7 @@
* OS CONFIGURATION (APPLICATION SPECIFICS)
*
* Filename : os_cfg_app.h
* Version : V3.08.01
* Version : V3.08.02
*********************************************************************************************************
*/

Expand Down
4 changes: 2 additions & 2 deletions Ports/ARC/EM6/MetaWare/os_cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* uC/OS-III
* The Real-Time Kernel
*
* Copyright 2009-2021 Silicon Laboratories Inc. www.silabs.com
* Copyright 2009-2022 Silicon Laboratories Inc. www.silabs.com
*
* SPDX-License-Identifier: APACHE-2.0
*
Expand All @@ -20,7 +20,7 @@
* Synopsys ARC EM6 Port
*
* File : os_cpu.h
* Version : V3.08.01
* Version : V3.08.02
*********************************************************************************************************
* For : Synopsys ARC EM6
* Mode : Little-Endian, 32 registers, FPU, Code Density, Loop Counter, Stack Check
Expand Down
4 changes: 2 additions & 2 deletions Ports/ARC/EM6/MetaWare/os_cpu_a.s
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; uC/OS-III
; The Real-Time Kernel
;
; Copyright 2009-2021 Silicon Laboratories Inc. www.silabs.com
; Copyright 2009-2022 Silicon Laboratories Inc. www.silabs.com
;
; SPDX-License-Identifier: APACHE-2.0
;
Expand All @@ -17,7 +17,7 @@
; Synopsys ARC EM6 Port
;
; File : os_cpu_a.s
; Version : V3.08.01
; Version : V3.08.02
;********************************************************************************************************
; For : Synopsys ARC EM6
; Mode : Little-Endian, 32 registers, FPU, Code Density, Loop Counter, Stack Check
Expand Down
4 changes: 2 additions & 2 deletions Ports/ARC/EM6/MetaWare/os_cpu_c.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* uC/OS-III
* The Real-Time Kernel
*
* Copyright 2009-2021 Silicon Laboratories Inc. www.silabs.com
* Copyright 2009-2022 Silicon Laboratories Inc. www.silabs.com
*
* SPDX-License-Identifier: APACHE-2.0
*
Expand All @@ -20,7 +20,7 @@
* Synopsys ARC EM6 Port
*
* File : os_cpu_c.c
* Version : V3.08.01
* Version : V3.08.02
*********************************************************************************************************
* For : Synopsys ARC EM6
* Mode : Little-Endian, 32 registers, FPU, Code Density, Loop Counter, Stack Check
Expand Down
101 changes: 101 additions & 0 deletions Ports/ARC/embARC/MetaWare/os_cpu.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
/*
*********************************************************************************************************
* uC/OS-III
* The Real-Time Kernel
*
* Copyright 2009-2022 Silicon Laboratories Inc. www.silabs.com
*
* SPDX-License-Identifier: APACHE-2.0
*
* This software is subject to an open source license and is distributed by
* Silicon Laboratories Inc. pursuant to the terms of the Apache License,
* Version 2.0 available at www.apache.org/licenses/LICENSE-2.0.
*
*********************************************************************************************************
*/

/*
*********************************************************************************************************
*
* ARC
* MetaWare
*
* Filename : os_cpu.h
* Version : V3.08.02
*********************************************************************************************************
*/

#ifndef _OS_CPU_H
#define _OS_CPU_H

#ifdef OS_CPU_GLOBALS
#define OS_CPU_EXT
#else
#define OS_CPU_EXT extern
#endif

#include "embARC.h"
#ifdef __cplusplus
extern "C" {
#endif

/*
*********************************************************************************************************
* MACROS
*
* Note(s): OS_TASK_SW() invokes the task level context switch.
*
* (1) On some processors, this corresponds to a call to OSCtxSw() which is an assemply language
* function that performs the context switch.
*
* (2) On some processors, you need to simulate an interrupt using a 'sowfate interrupt' or a
* TRAP instruction. Some compilers allow you to add in-line assembly language as shown.
*********************************************************************************************************
*/

#define OS_TASK_SW() OSCtxSw() /* Simulate interrupt */

/*
*********************************************************************************************************
* TIMESTAMP CONFIGURATION
*
* Note(s) : (1) OS_TS_GET() is generally defined as CPU_TS_Get32() to allow CPU timestamp timer to be of
* any data type size.
*
* (2) For architectures that provide 32-bit or higher precision free running counters
* (i.e. cycle count registers):
*
* (a) OS_TS_GET() may be defined as CPU_TS_TmrRd() to improve performance when retrieving
* the timestamp. You would use CPU_TS_TmrRd() if this function returned the value of
* a 32-bit free running timer 0x00000000 to 0xFFFFFFFF then roll over to 0x00000000.
*
* (b) CPU_TS_TmrRd() MUST be configured to be greater or equal to 32-bits to avoid
* truncation of TS.
*
* (c) The Timer must be an up counter.
*********************************************************************************************************
*/

#if OS_CFG_TS_EN == 1u
#define OS_TS_GET() (CPU_TS)CPU_TS_Get32() /* See Note #2a. CPU_TS_TmrRd() */
#else
#define OS_TS_GET() (CPU_TS)0u
#endif


/*
*********************************************************************************************************
* FUNCTION PROTOTYPES
*********************************************************************************************************
*/

void OSCtxSw (void);
void OSIntCtxSw (void);
void OSStartHighRdy (void);
int OS_SysTickInit (void);

#ifdef __cplusplus
}
#endif

#endif
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy