Lines Matching full:descriptor
103 //Generate a descriptor, correct the offset. in generate_single_section_record()
120 //Generates a single section descriptor for a section with the given properties.
126 EFI_ERROR_SECTION_DESCRIPTOR *descriptor = in generate_section_descriptor() local
131 descriptor->Resv1 = 0; in generate_section_descriptor()
132 descriptor->SectionFlags &= 0xFF; in generate_section_descriptor()
135 descriptor->SecValidMask = 0x3; in generate_section_descriptor()
138 descriptor->Severity = rand() % 4; in generate_section_descriptor()
141 descriptor->SectionLength = (UINT32)lengths[index]; in generate_section_descriptor()
142 descriptor->SectionOffset = in generate_section_descriptor()
146 descriptor->SectionOffset += lengths[i]; in generate_section_descriptor()
152 descriptor->FruString[i] = rand() % (0x7f - 0x20) + 0x20; in generate_section_descriptor()
156 descriptor->FruString[i] = 0x0; in generate_section_descriptor()
169 memcpy(&descriptor->SectionType, in generate_section_descriptor()
186 return descriptor; in generate_section_descriptor()