Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Felix Kopp
Ardix
Commits
1d30394c
Verified
Commit
1d30394c
authored
Aug 09, 2021
by
Felix Kopp
Browse files
sched: add idle task entry i forgot to commit
parent
c79fadaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
arch/at91sam3x8e/sched.c
View file @
1d30394c
...
...
@@ -69,7 +69,11 @@ void arch_task_init(struct task *task, void (*entry)(void))
task
->
tcb
.
context
.
pc
=
_leave
;
}
extern
void
_idle
(
void
);
__naked
__noreturn
void
_idle
(
void
)
{
/* TODO: put the CPU to sleep */
while
(
1
);
}
int
arch_idle_task_init
(
struct
task
*
task
)
{
...
...
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