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
Design for cbmem #642
Comments
Hi, so far we don't have any need for something like cbmem. Edit: added in oreboot for clarification |
I traced a call into It looks like For now I can stub out the call to When/if |
Could you elaborate on the question or what you are trying to do? Technically, besides debugging, |
I'm working on support for the
Like maybe using It may be a lot of work for nothing though, if the boards that use |
cbmem
is used throughoutcoreboot
for managing memory regions in ramstage and romstage.It looks like there are some pretty unsafe code patterns required by the design currently used in
coreboot
(e.g. https://github.com/coreboot/coreboot/blob/master/src/include/imd.h#L53-L59).Would it make sense to rework the design with something like
hashbrown::HashMap
as the backing datastore?Maybe it would require writing a custom allocator?
I looked through existing and previous mainboards, but didn't find any reference to
cbmem
. Is it even needed?I'm also new to
coreboot
andoreboot
, so maybe I've misunderstood something.The text was updated successfully, but these errors were encountered: