coreboot-kgpe-d16/util/cbfstool
Nico Huber 6e133fa470 linux_trampoline: Handle 64-bit framebuffer addresses
To support full 64-bit addresses, there is a new field `ext_lfb_base`
since Linux 4.1. It is unclear, however, how a loader is supposed to
know if the kernel is compatible with this. Filling these previously
reserved bits doesn't hurt, but an old kernel would probably ignore
them and not know that it's handling a clipped, invalid address. So
we play safe, and only allow 64-bit addresses for kernels after the
2.15 version bump of the boot protocol.

Change-Id: Ib20184cf207f092062a91ac3e6aa819b956efd33
Signed-off-by: Nico Huber <nico.h@gmx.de>
Co-authored-by: Bill XIE <persmule@hardenedlinux.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76479
Reviewed-by: Bill XIE <persmule@hardenedlinux.org>
Reviewed-by: Tim Wawrzynczak <inforichland@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2023-08-03 17:55:01 +00:00
..
bpdt_formats
console
flashmap util: Use common ARRAY_SIZE define 2023-05-22 19:24:27 +00:00
fpt_formats
lz4
lzma
tests
.gitignore
EXAMPLE
Makefile
Makefile.inc
ProcessorBind.h
amdcompress.c
cbfs-mkpayload.c
cbfs-mkstage.c
cbfs-payload-linux.c linux_trampoline: Handle 64-bit framebuffer addresses 2023-08-03 17:55:01 +00:00
cbfs.h
cbfs_glue.h
cbfs_image.c
cbfs_image.h
cbfs_sections.c
cbfs_sections.h
cbfscomptool.c
cbfstool.c
coff.h
common.c
common.h
compress.c
cse_fpt.c
cse_fpt.h
cse_helpers.c
cse_helpers.h
cse_serger.c
cse_serger.h
default-x86.fmd soc/intel/alderlake/hsphy: Add possibility to cache HSPHY in flash 2023-06-23 08:59:50 +00:00
default.fmd
description.md
elf.h
elfheaders.c
elfparsing.h
elogtool.c
eventlog.c commonlib/console/post_code.h: Change post code prefix to POSTCODE 2023-06-23 15:06:04 +00:00
eventlog.h
fdt.h
fit.c
fit.h
flashmap_tests.c
flashrom.c
flashrom.h
fmap_from_fmd.c
fmap_from_fmd.h
fmaptool.c
fmd.c
fmd.h
fmd_parser.c_shipped
fmd_parser.h_shipped
fmd_parser.y
fmd_scanner.c_shipped
fmd_scanner.h_shipped
fmd_scanner.l
fv.h
ifittool.c
ifwitool.c util: Use C99 flexible arrays 2023-08-01 12:51:25 +00:00
linux.h util/cbfstool: Qualify struct e820entry as packed 2023-04-16 14:04:32 +00:00
linux_trampoline.S linux_trampoline: Handle 64-bit framebuffer addresses 2023-08-03 17:55:01 +00:00
linux_trampoline.c linux_trampoline: Handle 64-bit framebuffer addresses 2023-08-03 17:55:01 +00:00
linux_trampoline.h
option.h
partitioned_file.c
partitioned_file.h
platform_fixups.c
rmodtool.c
rmodule.c
rmodule.h
xdr.c