Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RTEMS-build-workflows
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thanassis Tsiodras
RTEMS-build-workflows
Commits
a6bad388
Commit
a6bad388
authored
Mar 06, 2018
by
Thanassis Tsiodras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Opt-out by default on the memory check.
parent
4e81f3ad
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
12 deletions
+17
-12
GAISLER/src/init.c
GAISLER/src/init.c
+14
-4
GAISLER/src/system.h
GAISLER/src/system.h
+2
-7
GAISLER/src/version.h
GAISLER/src/version.h
+1
-1
No files found.
GAISLER/src/init.c
View file @
a6bad388
...
...
@@ -18,7 +18,9 @@ rtems_task Init(rtems_task_argument argument)
rtems_id
Task_id
[
TASKS
];
/* task ids */
int
i
;
#ifdef MEMCHECK
memcheck
();
#endif
all_OK
=
1
;
g_init_task_id
=
rtems_task_self
();
for
(
i
=
0
;
i
<
TASKS
;
i
++
)
...
...
@@ -31,15 +33,23 @@ rtems_task Init(rtems_task_argument argument)
Task_name
[
i
],
(
rtems_task_priority
)
2
,
RTEMS_MINIMUM_STACK_SIZE
,
#if CONFIGURE_SMP_MAXIMUM_PROCESSORS == 4
// LEON3/LEON4 system - use full SMP
RTEMS_DEFAULT_MODES
,
#else
#if CONFIGURE_SMP_MAXIMUM_PROCESSORS == 1 || CONFIGURE_MAXIMUM_PROCESSORS == 1
// LEON2 system - emulate SMP via Linux/Windows-like
// handling of tasks with same priority (i.e. pre-emption)
RTEMS_DEFAULT_MODES
|
RTEMS_TIMESLICE
,
#else
// LEON3/LEON4 system - use full SMP
RTEMS_DEFAULT_MODES
,
#endif
#if __RTEMS_MAJOR__ == 5
// Currently, RCCrc3 has a bug - it needs floating point support
// for all tasks, even those that don't use the FPU - otherwise
// as soon as the FPU task dies, the binary dies as well.
RTEMS_FLOATING_POINT
,
#else
(
i
%
2
)
==
0
?
RTEMS_FLOATING_POINT
:
RTEMS_DEFAULT_ATTRIBUTES
,
#endif
&
Task_id
[
i
]);
if
(
status
!=
RTEMS_SUCCESSFUL
)
{
printf
(
...
...
GAISLER/src/system.h
View file @
a6bad388
//
Comment this to skip
memory checks at startup
#define MEMCHECK
//
Uncomment this to perform
memory checks at startup
//
#define MEMCHECK
#include <rtems.h>
// #include <rtems/score/types.h>
// #include <rtems/rtems/types.h>
// #include <rtems/rtems/tasks.h>
// #include <rtems/rtems/event.h>
rtems_task
Init
(
rtems_task_argument
argument
);
rtems_task
Task1_EntryPoint
(
rtems_task_argument
argument
);
rtems_task
Task2_EntryPoint
(
rtems_task_argument
argument
);
...
...
GAISLER/src/version.h
View file @
a6bad388
#ifndef __VERSION_H__
#define __VERSION_H__
const
char
version
[]
=
"1.10
2 (cc964b9
)"
;
const
char
version
[]
=
"1.10
4 (940a750
)"
;
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment