Mercurial > hg > Members > taiki > EFITest
changeset 4:14b7a92d960b
delete many comment
author | taiki |
---|---|
date | Wed, 26 Mar 2014 06:38:36 +0900 |
parents | a2c1382b25ad |
children | 6015cafa617e |
files | bootx64.c |
diffstat | 1 files changed, 0 insertions(+), 49 deletions(-) [+] |
line wrap: on
line diff
--- a/bootx64.c Wed Mar 26 06:37:54 2014 +0900 +++ b/bootx64.c Wed Mar 26 06:38:36 2014 +0900 @@ -25,55 +25,6 @@ Print(L"error 'get memory map' %r \n", status); } - /* - UINTN nr_map = map_size/size; - - UINTN i; - for (i=0; i <nr_map ;i++) { - EFI_MEMORY_DESCRIPTOR p = md[i]; - switch (p.Type) { - case EfiReservedMemoryType: - Print(L"| reserved memory."); - break; - case EfiLoaderCode: - Print(L"| loader code."); - break; - case EfiLoaderData: - Print(L"| loader data."); - break; - case EfiBootServicesCode: - Print(L"| boot services code."); - break; - case EfiBootServicesData: - Print(L"| boot services data."); - break; - case EfiConventionalMemory: - Print(L"| conventional memory."); - break; - case EfiUnusableMemory: - Print(L"| unusable memory."); - break; - case EfiACPIReclaimMemory: - Print(L"| ACPI reclaim memory."); - break; - case EfiACPIMemoryNVS: - Print(L"| ACPI memory NVS."); - break; - case EfiMemoryMappedIO: - Print(L"| memory mapped IO."); - break; - case EfiMemoryMappedIOPortSpace: - Print(L"| memory mapped IO port space."); - break; - case EfiPalCode: - Print(L"| pal code. "); - break; - case EfiMaxMemoryType: - Print(L"| max memory type."); - break; - } - } - */ status = uefi_call_wrapper(BS->ExitBootServices, 2, image, cookie);