coreboot/src/include
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
..
boot
console console: Introduce a way for mainboard to override the loglevel 2018-02-23 08:44:59 +00:00
cpu x86: Add function to modify CR3 register 2018-04-05 10:17:29 +00:00
device drivers/intel/wifi: Add support for Harrison Peak (HrP) 2018-04-11 02:19:21 +00:00
pc80
smp arch/x86: Clean up CONFIG_SMP and MAX_CPUS test 2017-08-19 15:30:51 +00:00
superio
sys
adainit.h
assert.h
b64_decode.h
base3.h
bcd.h
boardid.h boardid: Add helpers to read sku_id strapping into coreboot tables 2017-12-07 01:19:32 +00:00
boot_device.h
bootblock_common.h
bootmem.h lib/bootmem: tightly couple bootmem_init to bootmem_write_memory_table 2018-04-16 08:39:21 +00:00
bootmode.h
bootstate.h
cbfs.h
cbmem.h
compiler.h Move ADDR32() hack to arch/x86 2017-09-05 17:24:46 +00:00
delay.h
dimm_info_util.h src/lib/dimm_info_util.c: Add methods to convert from SMBIOS to SPD 2018-04-11 14:41:59 +00:00
edid.h
elog.h elog: Support logging S0ix sleep/wake info in elog 2017-10-19 00:42:49 +00:00
endian.h
fallback.h
fmap.h
gic.h
gpio.h lib/gpio: constify array inputs 2017-10-20 22:49:27 +00:00
halt.h
imd.h
inttypes.h
ip_checksum.h
kconfig.h
lib.h
main_decl.h
memlayout.h
memory_info.h include/memory_info.h: Change serial number field from 5 bytes to 4 2018-04-12 15:21:45 +00:00
memrange.h lib/memrange: Introduce method to clone memrange 2018-04-11 15:11:04 +00:00
mrc_cache.h drivers/mrc_cache: Add missing include file to mrc_cache.h 2017-12-18 16:07:09 +00:00
nhlt.h include/nhlt: Unbreak a long URL 2017-09-26 16:50:11 +00:00
option.h
program_loading.h
random.h
reg_script.h
region_file.h
reset.h
rmodule.h
romstage_handoff.h
rtc.h
rules.h
sar.h
sdram_mode.h
smbios.h smbios: Extend Baseboard (or Module) Information (type2) 2018-03-07 21:12:47 +00:00
spd.h src/lib/dimm_info_util.c: Add methods to convert from SMBIOS to SPD 2018-04-11 14:41:59 +00:00
spd_bin.h
spd_ddr2.h
spi-generic.h drivers/spi: support cmd opcode deduction for spi_crop_chunk() 2018-01-30 05:37:47 +00:00
spi_bitbang.h spi: Add helper functions for bit-banging 2018-04-03 00:34:52 +00:00
spi_flash.h drivers/spi/spi_flash: add flash region protection to controller 2017-12-15 23:35:10 +00:00
stage_cache.h lib/stage_cache: Add save/get raw storage 2018-02-07 16:22:40 +00:00
stddef.h
stdlib.h
string.h console: Expose vsnprintf 2018-04-09 08:18:16 +00:00
swab.h
symbols.h
thread.h
timer.h include/timer.h: add NSECS_PER_SEC macro 2017-11-19 01:50:13 +00:00
timestamp.h src: Fix all Siemens copyrights 2017-11-07 12:33:51 +00:00
trace.h
types.h
vbe.h
version.h
watchdog.h
wrdd.h