Mercurial > hg > Members > taiki > EFITest
changeset 7:7047eac9c44e
change directory name
author | taiki |
---|---|
date | Wed, 26 Mar 2014 22:15:52 +0900 |
parents | 3b3650b792e3 |
children | b4db4b6c8d00 |
files | bootx64.c |
diffstat | 1 files changed, 0 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/bootx64.c Wed Mar 26 08:51:13 2014 +0900 +++ b/bootx64.c Wed Mar 26 22:15:52 2014 +0900 @@ -10,29 +10,5 @@ Print(L"Test start.\n"); - UINTN map_size, cookie, size, version; - map_size = EFI_PAGE_SIZE * 2; - EFI_MEMORY_DESCRIPTOR *md; - - Print(L"AlocatePool\n"); - EFI_STATUS status = uefi_call_wrapper(BS->AllocatePool, 3, EfiLoaderData, map_size, &md); - - if (EFI_ERROR(status)) { - Print(L"error 'allocate pool' %r \n", status); - } - - status = uefi_call_wrapper(BS->GetMemoryMap, 5, &map_size, md, &cookie, &size, &version); - if (EFI_ERROR(status)) { - Print(L"error 'get memory map' %r \n", status); - } - - - Print(L"Exit Boot Services\n"); - status = uefi_call_wrapper(BS->ExitBootServices, 2, image, cookie); - - if (EFI_ERROR(status)) { - Print(L"error 'exit boot services' %r \n", status); - } - return EFI_SUCCESS; }