section_header
const section_header_t *section_header;
(sizeof(*container_header) + sizeof(*section_header))) {
section_header = (const section_header_t *)fw_data;
if (section_header->type != AMD_10H_EQUIV_TABLE_TYPE) {
if (section_header->size == 0) {
fw_data += sizeof(*section_header);
fw_size -= sizeof(*section_header);
if (section_header->size > fw_size) {
if (section_header->size < sizeof(*equiv_cpu_table)) {
fw_data += section_header->size;
fw_size -= section_header->size;
while (fw_size >= sizeof(*section_header)) {
section_header = (const section_header_t *)fw_data;
fw_data += sizeof(*section_header);
fw_size -= sizeof(*section_header);
if (section_header->type != AMD_10H_uCODE_TYPE) {
if (section_header->size > fw_size) {
if (section_header->size < sizeof(*fw_header)) {
fw_data += section_header->size;
fw_size -= section_header->size;
selected_size = section_header->size;