Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/stand/efiboot/bootia32 whitespace -> tab, blan...



details:   https://anonhg.NetBSD.org/src/rev/7238dd1f3b96
branches:  trunk
changeset: 376456:7238dd1f3b96
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Jun 19 04:30:27 2023 +0000

description:
whitespace -> tab, blank line, no binary changes.

diffstat:

 sys/arch/i386/stand/efiboot/bootia32/efibootia32.c |  21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diffs (35 lines):

diff -r 52abe7106d59 -r 7238dd1f3b96 sys/arch/i386/stand/efiboot/bootia32/efibootia32.c
--- a/sys/arch/i386/stand/efiboot/bootia32/efibootia32.c        Mon Jun 19 03:52:50 2023 +0000
+++ b/sys/arch/i386/stand/efiboot/bootia32/efibootia32.c        Mon Jun 19 04:30:27 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: efibootia32.c,v 1.7 2023/05/14 09:07:54 riastradh Exp $        */
+/*     $NetBSD: efibootia32.c,v 1.8 2023/06/19 04:30:27 rin Exp $      */
 
 /*-
  * Copyright (c) 2016 Kimihiro Nonaka <nonaka%netbsd.org@localhost>
@@ -57,16 +57,15 @@ efi_md_init(void)
        startprog32 = (void *)(u_long)addr;
        CopyMem(startprog32, startprog32_start, startprog32_size);
 
-        addr = EFI_ALLOCATE_MAX_ADDRESS;
-        sz = EFI_SIZE_TO_PAGES(multiboot32_size);
-        status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
-            EfiLoaderData, sz, &addr);
-        if (EFI_ERROR(status))
-                panic("%s: AllocatePages() failed: %d page(s): %" PRIxMAX,
-                    __func__, sz, (uintmax_t)status);
-        multiboot32 = (void *)(u_long)addr;
-        CopyMem(multiboot32, multiboot32_start, multiboot32_size);
-
+       addr = EFI_ALLOCATE_MAX_ADDRESS;
+       sz = EFI_SIZE_TO_PAGES(multiboot32_size);
+       status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
+           EfiLoaderData, sz, &addr);
+       if (EFI_ERROR(status))
+               panic("%s: AllocatePages() failed: %d page(s): %" PRIxMAX,
+                   __func__, sz, (uintmax_t)status);
+       multiboot32 = (void *)(u_long)addr;
+       CopyMem(multiboot32, multiboot32_start, multiboot32_size);
 }
 
 /* ARGSUSED */



Home | Main Index | Thread Index | Old Index