| 561 | } |
| 562 | |
| 563 | static |
| 564 | CHAR8 * |
| 565 | SectionNameToStr ( |
| 566 | IN EFI_SECTION_TYPE Type |
| 567 | ) |
| 568 | /*++ |
| 569 | |
| 570 | Routine Description: |
| 571 | |
| 572 | Converts EFI Section names to Strings |
| 573 | |
| 574 | Arguments: |
| 575 | |
| 576 | Type - The EFI Section type |
| 577 | |
| 578 | Returns: |
| 579 | |
| 580 | CHAR8* - Pointer to the String containing the section name. |
| 581 | |
| 582 | --*/ |
| 583 | { |
| 584 | CHAR8 *SectionStr; |
| 585 | CHAR8 *SectionTypeStringTable[] = { |
| 586 | // |
| 587 | // 0X00 |
| 588 | // |
| 589 | "EFI_SECTION_ALL", |
| 590 | // |
| 591 | // 0x01 |
| 592 | // |
| 593 | "EFI_SECTION_COMPRESSION", |
| 594 | // |
| 595 | // 0x02 |
| 596 | // |
| 597 | "EFI_SECTION_GUID_DEFINED", |
| 598 | // |
| 599 | // 0x03 |
| 600 | // |
| 601 | "Unknown section type - Reserved 0x03", |
| 602 | // |
| 603 | // 0x04 |
| 604 | // |
| 605 | "Unknown section type - Reserved 0x04", |
| 606 | // |
| 607 | // 0x05 |
| 608 | // |
| 609 | "Unknown section type - Reserved 0x05", |
| 610 | // |
| 611 | // 0x06 |
| 612 | // |
| 613 | "Unknown section type - Reserved 0x06", |
| 614 | // |
| 615 | // 0x07 |
| 616 | // |
| 617 | "Unknown section type - Reserved 0x07", |
| 618 | // |
| 619 | // 0x08 |
| 620 | // |
no test coverage detected