u-boot-2016/include
Alexander Graf 5d00995c36 efi_loader: Implement memory allocation and map
The EFI loader needs to maintain views of memory - general system memory
windows as well as used locations inside those and potential runtime service
MMIO windows.

To manage all of these, add a few helpers that maintain an internal
representation of the map the similar to how the EFI API later on reports
it to the application.

For allocations, the scheme is very simple. We basically allow allocations
to replace chunks of previously done maps, so that a new LOADER_DATA
allocation for example can remove a piece of the RAM map. When no specific
address is given, we just take the highest possible address in the lowest
RAM map that fits the allocation size.

Signed-off-by: Alexander Graf <agraf@suse.de>
Tested-by: Simon Glass <sjg@chromium.org>
2016-03-15 21:30:10 -04:00
..
andestech
asm-generic
bedbug
cavium
configs arm64: Remove non-full-va map code 2016-03-15 15:13:10 -04:00
cramfs
dm dm: blk: Add a block-device uclass 2016-03-14 15:34:50 -06:00
dt-bindings rockchip: Add a binding file for rk3288 video 2016-03-14 22:03:11 +01:00
faraday
fsl-mc
grlib
jffs2
linux compiler*.h: sync include/linux/compiler*.h with Linux 4.5-rc6 2016-02-29 11:43:24 -05:00
lzma
mtd
net
pcmcia
power pmic: tps65218: add useful functions and defines 2016-02-24 18:44:07 -05:00
samsung
synopsys
test
u-boot Kconfig: Move CONFIG_FIT and related options to Kconfig 2016-03-14 19:18:07 -04:00
usb
zfs
.gitignore
_exports.h
ACEX1K.h
adc.h
addr_map.h
aes.h
ahci.h
ali512x.h
altera.h
ambapp.h
ambapp_ids.h
android_image.h
ansi.h
api_public.h
armcoremodule.h
asm-offsets.h
ata.h
atmel_hlcdc.h
atmel_lcd.h
atmel_lcdc.h
atmel_mci.h
autoboot.h
axp152.h
axp209.h
axp221.h
axp818.h
axp_pmic.h
backlight.h
bcd.h
bios_emul.h
bitfield.h
blk.h dm: blk: Add a block-device uclass 2016-03-14 15:34:50 -06:00
bmp_layout.h
bootcount.h
bootm.h
bootretry.h
bootstage.h
bouncebuf.h
bus_vcxk.h
bzlib.h
cbfs.h
circbuf.h
cli.h
cli_hush.h
clk.h
cmd_spl.h
command.h
common.h Merge git://git.denx.de/u-boot-dm 2016-03-14 19:21:44 -04:00
common_timing_params.h
commproc.h
compiler.h
config_cmd_all.h
config_defaults.h
config_distro_bootcmd.h
config_distro_defaults.h Move CONFIG_OF_LIBFDT to Kconfig 2016-03-14 14:50:25 -04:00
config_fallbacks.h
config_fsl_chain_trust.h
config_phylib_all_drivers.h
config_uncmd_spl.h
console.h
cortina.h
cpsw.h
cpu.h
crc.h include/crc.h: Remove unreferenced cyg_xxx() prototypes 2016-03-14 19:18:42 -04:00
cros_ec.h
cros_ec_message.h
dataflash.h
ddr_spd.h
debug_uart.h debug_uart: output CR along with LF 2016-03-14 15:34:50 -06:00
dfu.h dfu: usb: f_dfu: Set deferred call for dfu_flush() function 2016-02-24 19:12:32 +01:00
dialog_pmic.h
display.h dm: video: Add a operation to display uclass 2016-03-14 22:01:26 +01:00
display_options.h
div64.h
dm-demo.h
dm.h
dm9000.h
dma.h
dp83848.h
ds1722.h
ds4510.h
dtt.h
dwc3-omap-uboot.h
dwc3-uboot.h
dwmmc.h
e500.h
ec_commands.h
edid.h
efi.h include/efi_api.h: Add more detailed API definitions 2016-03-15 15:19:23 -04:00
efi_api.h include/efi_api.h: Add more detailed API definitions 2016-03-15 15:19:23 -04:00
efi_loader.h efi_loader: Implement memory allocation and map 2016-03-15 21:30:10 -04:00
elf.h
env_attr.h
env_callback.h
env_default.h
env_flags.h
environment.h
errno.h
ethsw.h
exports.h
ext4fs.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
ext_common.h
exynos_lcd.h
fastboot.h
fat.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
fb_mmc.h
fb_nand.h
fdt.h
fdt_simplefb.h
fdt_support.h
fdtdec.h
fis.h
flash.h
fm_eth.h
fpga.h
fs.h
fsl_csu.h
fsl_dcu_fb.h
fsl_ddr.h
fsl_ddr_dimm_params.h
fsl_ddr_sdram.h
fsl_ddrc_version.h
fsl_debug_server.h
fsl_devdis.h
fsl_diu_fb.h
fsl_dspi.h
fsl_dtsec.h
fsl_errata.h
fsl_esdhc.h
fsl_fman.h fm: fdt: Move fman ucode fixup to driver code 2016-02-24 08:51:13 -08:00
fsl_ifc.h
fsl_immap.h
fsl_mdio.h
fsl_memac.h
fsl_pmic.h
fsl_qe.h qe: move drivers/qe/qe.h to include/fsl_qe.h 2016-02-24 08:51:13 -08:00
fsl_sec.h
fsl_sec_mon.h
fsl_secboot_err.h
fsl_sfp.h
fsl_tgec.h
fsl_usb.h
fsl_validate.h
fsl_wdog.h
fuse.h
g_dnl.h
gdsys_fpga.h
gt64120.h
hash.h
hw_sha.h
hwconfig.h
i2c.h
i2c_eeprom.h
i2s.h
i8042.h
ide.h dm: Add a new header for block devices 2016-03-14 15:34:50 -06:00
image-sparse.h
image.h spl: Add an option to load a FIT containing U-Boot 2016-03-14 19:18:30 -04:00
imx_thermal.h
initcall.h
input.h
inttypes.h
iomux.h
ioports.h
iotrace.h
ipu_pixfmt.h
key_matrix.h
keyboard.h
kgdb.h
lattice.h
lcd.h
lcd_console.h
lcdvideo.h
ld9040.h
led-display.h
led.h
libata.h
libfdt.h libfdt: Add a function to write a property placeholder 2016-03-14 14:19:11 -04:00
libfdt_env.h
libtizen.h
linker_lists.h
linux_logo.h
lmb.h
logbuff.h
lxt971a.h
lynxkdi.h
malloc.h malloc: use hidden visibility 2016-03-08 15:01:47 -05:00
mapmem.h
mb862xx.h
mc9sdz60.h
mc13783.h
mc13892.h
mc34704.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
memalign.h
membuff.h
menu.h
micrel.h
mii_phy.h
miiphy.h
mipi_display.h
misc.h
mk48t59.h
mmc.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
mpc5xx.h
mpc5xxx.h
mpc5xxx_sdma.h
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h
mpc85xx.h
mpc86xx.h
mpc106.h
mpc823_lcd.h
mpc8260.h
mpc8260_irq.h
msc01.h
mtd.h
mtd_node.h
mv88e6352.h
mvebu_mmc.h
mvmfp.h
nand.h
net.h
netdev.h
ns16550.h Revert "dm: ns16550: Add support for reg-offset property" 2016-02-29 10:26:20 -05:00
ns87308.h
onenand_uboot.h
os.h
palmas.h
panel.h
part.h disk/part.c: Expose list of available block drivers 2016-03-15 15:19:22 -04:00
part_efi.h
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h
pch.h
pci.h
pci_gt64120.h
pci_ids.h
pci_msc01.h
pci_rom.h
pcmcia.h
pe.h efi_loader: Add PE image loader 2016-03-15 15:19:23 -04:00
phy.h
phys2bus.h
physmem.h
post.h
ppc_asm.tmpl
ppc_defs.h
ps2mult.h
pwm.h
pwrseq.h
pxa_lcd.h
radeon.h
ram.h
rc4.h
regmap.h
reiserfs.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
remoteproc.h
reset.h
rtc.h
rtc_def.h
s6e63d6.h
s_record.h
SA-1100.h
samsung-usb-phy-uboot.h
sandbox-adc.h
sandboxblockdev.h dm: sandbox: Add driver-model block-device support for sandbox 2016-03-14 15:34:50 -06:00
sandboxfs.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
sata.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
scf0403_lcd.h
scsi.h
sdhci.h
search.h
sed156x.h
sed13806.h
serial.h
sh_pfc.h
sh_tmu.h
sja1000.h
slre.h
sm501.h
smsc_lpc47m.h
smsc_sio1007.h
sound.h
sparse_defs.h
sparse_format.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi.h
spi_flash.h
spl.h Merge git://git.denx.de/u-boot-dm 2016-03-14 19:21:44 -04:00
splash.h
status_led.h
stdio_dev.h
stdlib.h
stratixII.h
sx151x.h
sy8106a.h
sym53c8xx.h
syscon.h
systemace.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
tca642x.h
tegra-kbc.h
thermal.h
thor.h
ti-usb-phy-uboot.h
timer.h timer: Provide an early timer 2016-02-26 08:53:10 -07:00
timestamp.h
tmu.h
tpm.h
tps6586x.h
trace.h
tsec.h
tsi108.h
tsi148.h
twl4030.h
twl6030.h input: TWL6030 input support for power button, USB and charger 2016-03-15 15:12:57 -04:00
tws.h
ubi_uboot.h
ubifs_uboot.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
universe.h
usb.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
usb_cdc_acm.h
usb_defs.h
usb_ether.h
usb_mass_storage.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
usbdescriptors.h
usbdevice.h
usbroothubdes.h
uuid.h
vbe.h
version.h
video.h
video_bridge.h
video_console.h
video_easylogo.h
video_fb.h
video_font.h
video_font_4x6.h
video_font_data.h
video_logo.h
virtex2.h
vsc7385.h
vsc9953.h
vsprintf.h
vxworks.h
w83c553f.h
wait_bit.h
watchdog.h
winbond_w83627.h
xilinx.h
xyzModem.h
zfs_common.h dm: Drop the block_dev_desc_t typedef 2016-03-14 15:34:50 -06:00
zynqpl.h