Skip to content
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

FdtBusDxe: Don't make assumptions about RW access to DT passed by HOB #8

Open
andreiw opened this issue Jan 12, 2024 · 0 comments
Open

Comments

@andreiw
Copy link
Contributor

andreiw commented Jan 12, 2024

gDeviceTreeBase is initialized based on the pointer in DT HOB. This is fine, since the bus driver only does read access. However, if a setprop-like interface is ever added (matching FdtClientDxe functionality), then this will need to change. Instead, fdt_open_into should be used with an appropriately-sized buffer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant