Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
seL4
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Panda
seL4
Commits
1deb1d26
Commit
1deb1d26
authored
5 years ago
by
Sylvain Gauthier
Browse files
Options
Downloads
Patches
Plain Diff
[SMP] New IPI call to unmask remote IRQ
Added a new IPI on ARM to unmask a remote private interrupt.
parent
49d3f220
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/arch/arm/arch/smp/ipi.h
+1
-0
1 addition, 0 deletions
include/arch/arm/arch/smp/ipi.h
include/arch/arm/arch/smp/ipi_inline.h
+5
-0
5 additions, 0 deletions
include/arch/arm/arch/smp/ipi_inline.h
src/arch/arm/smp/ipi.c
+4
-0
4 additions, 0 deletions
src/arch/arm/smp/ipi.c
with
10 additions
and
0 deletions
include/arch/arm/arch/smp/ipi.h
+
1
−
0
View file @
1deb1d26
...
...
@@ -22,6 +22,7 @@ typedef enum {
IpiRemoteCall_InvalidateTranslationASID
,
IpiRemoteCall_InvalidateTranslationAll
,
IpiRemoteCall_switchFpuOwner
,
IpiRemoteCall_MaskPrivateInterrupt
,
/* Add relevant calls here upon required */
IpiNumArchRemoteCall
}
IpiRemoteCall_t
;
...
...
This diff is collapsed.
Click to expand it.
include/arch/arm/arch/smp/ipi_inline.h
+
5
−
0
View file @
1deb1d26
...
...
@@ -43,5 +43,10 @@ static inline void doRemoteInvalidateTranslationAll(word_t mask)
{
doRemoteMaskOp0Arg
(
IpiRemoteCall_InvalidateTranslationAll
,
mask
);
}
static
inline
void
doRemoteMaskPrivateInterrupt
(
word_t
cpu
,
word_t
disable
,
word_t
irq
)
{
doRemoteOp2Arg
(
IpiRemoteCall_MaskPrivateInterrupt
,
disable
,
irq
,
cpu
);
}
#endif
/* ENABLE_SMP_SUPPORT */
#endif
/* __ARCH_SMP_IPI_INLINE_H */
This diff is collapsed.
Click to expand it.
src/arch/arm/smp/ipi.c
+
4
−
0
View file @
1deb1d26
...
...
@@ -61,6 +61,10 @@ static void handleRemoteCall(IpiModeRemoteCall_t call, word_t arg0,
invalidateTranslationAllLocal
();
break
;
case
IpiRemoteCall_MaskPrivateInterrupt
:
maskInterrupt
(
arg0
,
arg1
);
break
;
default:
fail
(
"Invalid remote call"
);
break
;
...
...
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