fix tab/spaces

This commit is contained in:
Justin C. Miller
2018-04-10 01:03:52 -07:00
parent eaa9d2ba53
commit 067ff3af89
8 changed files with 62 additions and 64 deletions

View File

@@ -28,8 +28,8 @@ loader_alloc_pages(
bootsvc->AllocatePages(AllocateAnyPages, mem_type, page_count, &addr);
}
CHECK_EFI_STATUS_OR_RETURN(status,
L"Allocating %d kernel pages type %x",
page_count, mem_type);
L"Allocating %d kernel pages type %x",
page_count, mem_type);
*length = page_count * PAGE_SIZE;
*pages = (void *)addr;

View File

@@ -95,8 +95,8 @@ efi_main(EFI_HANDLE image_handle, EFI_SYSTEM_TABLE *system_table)
}
con_printf(L" Kernel version %d.%d.%d %x%s\r\n",
version->major, version->minor, version->patch, version->gitsha & 0x0fffffff,
version->gitsha & 0xf0000000 ? "*" : "");
version->major, version->minor, version->patch, version->gitsha & 0x0fffffff,
version->gitsha & 0xf0000000 ? "*" : "");
con_printf(L" Entrypoint 0x%x\r\n", version->entrypoint);
void (*kernel_main)() = version->entrypoint;

View File

@@ -1,8 +1,8 @@
#include "utility.h"
struct error_code_desc {
EFI_STATUS code;
CHAR16 *name;
EFI_STATUS code;
CHAR16 *name;
};
// Based off the gnu-efi table