summaryrefslogtreecommitdiffstats
path: root/src/disk.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2021-05-01 18:20:13 +0200
committerPali Rohár <pali.rohar@gmail.com>2021-05-01 18:20:13 +0200
commit342dc610b3008fe8d090a0abd587307a8c9f9880 (patch)
treea1e3563986c068d2e46cd862a5360a29f6583cd7 /src/disk.c
parent67427daf172ffbec429830ee97410c53095086d5 (diff)
download0xFFFF-342dc610b3008fe8d090a0abd587307a8c9f9880.tar.bz2
local: Parse real kernel size from NOLO!img header when dumping kernel image
Kernel image is prepended with 2kB header with NOLO!img magic and contains size of the kernel image. 0xFFFF until now just skipped this header. With this change is reads from it real kernel image size and correctly truncate final dumped image for 0xFFFF -e/-E dump operation.
Diffstat (limited to 'src/disk.c')
0 files changed, 0 insertions, 0 deletions