Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
ab05acbf
Commit
ab05acbf
authored
6 years ago
by
Joakim Nohlgård
Browse files
Options
Downloads
Patches
Plain Diff
core: Mark openocd info variables read-only
parent
0f917352
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/sched.c
+2
-2
2 additions, 2 deletions
core/sched.c
with
2 additions
and
2 deletions
core/sched.c
+
2
−
2
View file @
ab05acbf
...
@@ -65,13 +65,13 @@ static uint32_t runqueue_bitcache = 0;
...
@@ -65,13 +65,13 @@ static uint32_t runqueue_bitcache = 0;
#endif
#endif
FORCE_USED_SECTION
FORCE_USED_SECTION
uint8_t
max_threads
=
sizeof
(
sched_threads
)
/
sizeof
(
thread_t
*
);
const
uint8_t
max_threads
=
sizeof
(
sched_threads
)
/
sizeof
(
thread_t
*
);
#ifdef DEVELHELP
#ifdef DEVELHELP
/* OpenOCD can't determine struct offsets and additionally this member is only
/* OpenOCD can't determine struct offsets and additionally this member is only
* available if compiled with DEVELHELP */
* available if compiled with DEVELHELP */
FORCE_USED_SECTION
FORCE_USED_SECTION
uint8_t
_tcb_name_offset
=
offsetof
(
thread_t
,
name
);
const
uint8_t
_tcb_name_offset
=
offsetof
(
thread_t
,
name
);
#endif
#endif
#ifdef MODULE_SCHEDSTATISTICS
#ifdef MODULE_SCHEDSTATISTICS
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment