Files
OpenCellular/src/lib
Aaron Durbin 4677f6bbfa lib/bootmem: tightly couple bootmem_init to bootmem_write_memory_table
In https://review.coreboot.org/25383 people were confused about the
ordering of bootmem calls w.r.t. when entries are exposed to the OS. To
alleviate this add a notion of bootmem being initialized. In addition to
that, only mark bootmem initialized when bootmem_write_memory_table() is
called. Any other calls to bootmem before that will report an error on
the console.

Change-Id: I5bc31f555038ccabb82d902c54f95858679b1695
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/25503
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2018-04-16 08:39:21 +00:00
..
2017-03-09 17:30:21 +01:00
2017-03-13 17:21:26 +01:00
2017-03-13 15:46:02 +01:00
2017-03-09 17:30:21 +01:00
2017-10-20 22:49:27 +00:00
2017-03-13 17:21:16 +01:00
2017-03-13 17:21:02 +01:00
2018-03-26 10:19:11 +00:00
2017-03-13 17:21:02 +01:00
2017-03-09 17:30:21 +01:00
2009-01-20 21:40:16 +00:00
2017-03-09 17:30:21 +01:00
2009-01-20 21:40:16 +00:00
2017-11-07 12:28:20 +00:00
2016-12-08 16:10:28 +01:00
2015-09-09 19:35:30 +00:00
2016-06-24 20:22:05 +02:00
2017-06-07 12:09:15 +02:00
2017-03-13 17:21:02 +01:00
2017-03-13 17:21:02 +01:00
2017-03-13 17:16:08 +01:00
2016-09-07 22:28:00 +02:00