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
5c8a7732
Unverified
Commit
5c8a7732
authored
Feb 04, 2019
by
Antonio Niño Díaz
Committed by
GitHub
Feb 04, 2019
Browse files
Merge pull request #1799 from soby-mathew/sm/gicr_probe
GICv3: Allow probe for fewer GICR interfaces than exposed by the frame
parents
6ce30346
5dc2c3f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/arm/gic/v3/gicv3_helpers.c
View file @
5c8a7732
...
@@ -341,8 +341,10 @@ void gicv3_rdistif_base_addrs_probe(uintptr_t *rdistif_base_addrs,
...
@@ -341,8 +341,10 @@ void gicv3_rdistif_base_addrs_probe(uintptr_t *rdistif_base_addrs,
proc_num
=
(
typer_val
>>
TYPER_PROC_NUM_SHIFT
)
&
proc_num
=
(
typer_val
>>
TYPER_PROC_NUM_SHIFT
)
&
TYPER_PROC_NUM_MASK
;
TYPER_PROC_NUM_MASK
;
}
}
assert
(
proc_num
<
rdistif_num
);
rdistif_base_addrs
[
proc_num
]
=
rdistif_base
;
if
(
proc_num
<
rdistif_num
)
rdistif_base_addrs
[
proc_num
]
=
rdistif_base
;
rdistif_base
+=
(
1U
<<
GICR_PCPUBASE_SHIFT
);
rdistif_base
+=
(
1U
<<
GICR_PCPUBASE_SHIFT
);
}
while
((
typer_val
&
TYPER_LAST_BIT
)
==
0U
);
}
while
((
typer_val
&
TYPER_LAST_BIT
)
==
0U
);
}
}
...
...
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