Skip to content

Commit 6104735

Browse files
author
Rajmund Szymanski
committed
function core_tsk_start renamed to core_tsk_loop
1 parent 7a0c889 commit 6104735

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

IntrOS/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Features:
2525
- rename flgOne to flgAny
2626
- function mem_reset renamed to mem_bind
2727
- redefined timer macros and procedures
28+
- function core_tsk_start renamed to core_tsk_loop
2829
---------
2930
2.5
3031
- added oslibc.c file for COSMIC Software CORTEX-M C Cross Compiler

IntrOS/kernel/oskernel.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
@file IntrOS: oskernel.c
44
@author Rajmund Szymanski
5-
@date 02.02.2017
5+
@date 08.03.2017
66
@brief This file provides set of variables and functions for IntrOS.
77
88
******************************************************************************
@@ -70,7 +70,7 @@ void core_rdy_remove( void *item )
7070

7171
void core_ctx_init( tsk_t *tsk )
7272
{
73-
port_ctx_init(&tsk->ctx.reg, tsk->top, core_tsk_start);
73+
port_ctx_init(&tsk->ctx.reg, tsk->top, core_tsk_loop);
7474
}
7575

7676
/* -------------------------------------------------------------------------- */
@@ -87,7 +87,7 @@ void core_ctx_switch( void )
8787

8888
/* -------------------------------------------------------------------------- */
8989

90-
void core_tsk_start( void )
90+
void core_tsk_loop( void )
9191
{
9292
for (;;)
9393
{

IntrOS/kernel/oskernel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
@file IntrOS: oskernel.h
44
@author Rajmund Szymanski
5-
@date 24.01.2017
5+
@date 08.03.2017
66
@brief This file defines set of kernel functions for IntrOS.
77
88
******************************************************************************
@@ -57,7 +57,7 @@ void core_ctx_switch( void );
5757

5858
// start current process
5959
__NO_RETURN
60-
void core_tsk_start( void );
60+
void core_tsk_loop( void );
6161

6262
// force yield system control to the next process
6363
__NO_RETURN

0 commit comments

Comments
 (0)