Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
d9066b42
Commit
d9066b42
authored
Oct 06, 2017
by
davidcunado-arm
Committed by
GitHub
Oct 06, 2017
Browse files
Merge pull request #1119 from soby-mathew/sm/fix_its_assertion
Fix assertion in GIC ITS helper
parents
8e838d66
c1bbeb5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/arm/gic/v3/gicv3_main.c
View file @
d9066b42
...
@@ -483,7 +483,7 @@ void gicv3_its_restore(uintptr_t gits_base, const gicv3_its_ctx_t * const its_ct
...
@@ -483,7 +483,7 @@ void gicv3_its_restore(uintptr_t gits_base, const gicv3_its_ctx_t * const its_ct
/* Assert that the GITS is disabled and quiescent */
/* Assert that the GITS is disabled and quiescent */
assert
((
gits_read_ctlr
(
gits_base
)
&
GITS_CTLR_ENABLED_BIT
)
==
0
);
assert
((
gits_read_ctlr
(
gits_base
)
&
GITS_CTLR_ENABLED_BIT
)
==
0
);
assert
((
gits_read_ctlr
(
gits_base
)
&
GITS_CTLR_QUIESCENT_BIT
)
=
=
1
);
assert
((
gits_read_ctlr
(
gits_base
)
&
GITS_CTLR_QUIESCENT_BIT
)
!
=
0
);
gits_write_cbaser
(
gits_base
,
its_ctx
->
gits_cbaser
);
gits_write_cbaser
(
gits_base
,
its_ctx
->
gits_cbaser
);
gits_write_cwriter
(
gits_base
,
its_ctx
->
gits_cwriter
);
gits_write_cwriter
(
gits_base
,
its_ctx
->
gits_cwriter
);
...
...
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