this function print guid in LittleEndian format while we need BigEndian as Apple do
| 59 | |
| 60 | //this function print guid in LittleEndian format while we need BigEndian as Apple do |
| 61 | const char* strguid(EFI_GUID* guid) |
| 62 | { |
| 63 | size_t size = stdio_static_buf.allocatedSize(); |
| 64 | UINTN n = 0; |
| 65 | n = AsciiSPrint(stdio_static_buf.dataSized(size), size, "%g", guid); |
| 66 | while ( n > size - 2 ) |
| 67 | { |
| 68 | size += 10; |
| 69 | n = AsciiSPrint(stdio_static_buf.dataSized(size), size, "%g", guid); |
| 70 | } |
| 71 | return stdio_static_buf.s(); |
| 72 | } |
| 73 |
no test coverage detected