Home
last modified time | relevance | path

Searched hist:"869648 e87eeb998cc0ede230f3b7aabfdf0eb2dd" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/pc-bios/s390-ccw/
H A Dbootmap.hdiff 869648e87eeb998cc0ede230f3b7aabfdf0eb2dd Mon Oct 12 10:50:20 CDT 2015 Maxim Samoylov <max7255@linux.vnet.ibm.com> pc-bios/s390-ccw: El Torito 16-bit boot image size field workaround

Because of El Torito spec flaw boot image size needs to be verified.

Boot catalog entry size field has 16-bit width, and specifies size
in 512-byte units.

Thus, boot image size cannot exceed 32M.

We actually search for the file to get the file size.

This is done by scanning the ISO directory tree for the ISO block number
and reading the file size from the directory entry.

Signed-off-by: Maxim Samoylov <max7255@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
H A Dbootmap.cdiff 869648e87eeb998cc0ede230f3b7aabfdf0eb2dd Mon Oct 12 10:50:20 CDT 2015 Maxim Samoylov <max7255@linux.vnet.ibm.com> pc-bios/s390-ccw: El Torito 16-bit boot image size field workaround

Because of El Torito spec flaw boot image size needs to be verified.

Boot catalog entry size field has 16-bit width, and specifies size
in 512-byte units.

Thus, boot image size cannot exceed 32M.

We actually search for the file to get the file size.

This is done by scanning the ISO directory tree for the ISO block number
and reading the file size from the directory entry.

Signed-off-by: Maxim Samoylov <max7255@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>