-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vm_arm: set fdt pointer and gic name #53
base: master
Are you sure you want to change the base?
Conversation
This commit sets the fdt pointer and gic node, which are used by the libraries to find the registers necessary to emulate the gic. Signed-off-by: Chris Guikema <[email protected]>
@@ -1156,6 +1157,9 @@ int main_continued(void) | |||
ZF_LOGF_IF(err, "Failed to bind CB to SID"); | |||
#endif /* CONFIG_ARM_SMMU */ | |||
|
|||
vm.fdt_ori = (void *)ps_io_fdt_get(&_io_ops.io_fdt); | |||
vm.gic_path = GIC_NODE_PATH; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for splitting the PRs up. Please add the usage of vm->gic_path
in generate_fdt()
also, so this is the only place where the path's default is set up from the plat constants.
@@ -1156,6 +1157,9 @@ int main_continued(void) | |||
ZF_LOGF_IF(err, "Failed to bind CB to SID"); | |||
#endif /* CONFIG_ARM_SMMU */ | |||
|
|||
vm.fdt_ori = (void *)ps_io_fdt_get(&_io_ops.io_fdt); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will we replace all places where ps_io_fdt_get()
is called by vm->fdt_ori
then also? E.g. in load_linux()
above?
What is you plan about this one? With #73 I have another use case where |
This commit sets the fdt pointer and gic node, which are used by the libraries to find the registers necessary to emulate the gic.
Test with: seL4/seL4_projects_libs#83