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 x86/efiboot: Nix trailing whites...
details: https://anonhg.NetBSD.org/src/rev/7595410cba7f
branches: trunk
changeset: 375300:7595410cba7f
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun May 14 09:07:54 2023 +0000
description:
x86/efiboot: Nix trailing whitespace.
diffstat:
sys/arch/i386/stand/efiboot/boot.c | 6 +++---
sys/arch/i386/stand/efiboot/bootia32/efibootia32.c | 4 ++--
sys/arch/i386/stand/efiboot/efidisk.c | 9 ++++-----
sys/arch/i386/stand/efiboot/efimemory.c | 4 ++--
4 files changed, 11 insertions(+), 12 deletions(-)
diffs (101 lines):
diff -r 37b7d63bd71a -r 7595410cba7f sys/arch/i386/stand/efiboot/boot.c
--- a/sys/arch/i386/stand/efiboot/boot.c Sun May 14 09:05:38 2023 +0000
+++ b/sys/arch/i386/stand/efiboot/boot.c Sun May 14 09:07:54 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: boot.c,v 1.22 2023/04/20 00:42:24 manu Exp $ */
+/* $NetBSD: boot.c,v 1.23 2023/05/14 09:07:54 riastradh Exp $ */
/*-
* Copyright (c) 2016 Kimihiro Nonaka <nonaka%netbsd.org@localhost>
@@ -483,7 +483,7 @@ command_dev(char *arg)
if (*arg == '\0') {
efi_disk_show();
efi_net_show();
-
+
if (default_part_name != NULL)
printf("default NAME=%s\n", default_part_name);
else
@@ -647,7 +647,7 @@ void
command_reloc(char *arg)
{
char *ep;
-
+
if (*arg == '\0') {
switch (efi_reloc_type) {
case RELOC_NONE:
diff -r 37b7d63bd71a -r 7595410cba7f sys/arch/i386/stand/efiboot/bootia32/efibootia32.c
--- a/sys/arch/i386/stand/efiboot/bootia32/efibootia32.c Sun May 14 09:05:38 2023 +0000
+++ b/sys/arch/i386/stand/efiboot/bootia32/efibootia32.c Sun May 14 09:07:54 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: efibootia32.c,v 1.6 2023/04/20 00:42:24 manu Exp $ */
+/* $NetBSD: efibootia32.c,v 1.7 2023/05/14 09:07:54 riastradh Exp $ */
/*-
* Copyright (c) 2016 Kimihiro Nonaka <nonaka%netbsd.org@localhost>
@@ -60,7 +60,7 @@ efi_md_init(void)
addr = EFI_ALLOCATE_MAX_ADDRESS;
sz = EFI_SIZE_TO_PAGES(multiboot32_size);
status = uefi_call_wrapper(BS->AllocatePages, 4, AllocateMaxAddress,
- EfiLoaderData, sz, &addr);
+ EfiLoaderData, sz, &addr);
if (EFI_ERROR(status))
panic("%s: AllocatePages() failed: %d page(s): %" PRIxMAX,
__func__, sz, (uintmax_t)status);
diff -r 37b7d63bd71a -r 7595410cba7f sys/arch/i386/stand/efiboot/efidisk.c
--- a/sys/arch/i386/stand/efiboot/efidisk.c Sun May 14 09:05:38 2023 +0000
+++ b/sys/arch/i386/stand/efiboot/efidisk.c Sun May 14 09:07:54 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: efidisk.c,v 1.9 2019/12/17 01:37:52 manu Exp $ */
+/* $NetBSD: efidisk.c,v 1.10 2023/05/14 09:07:54 riastradh Exp $ */
/*-
* Copyright (c) 2016 Kimihiro Nonaka <nonaka%netbsd.org@localhost>
@@ -70,9 +70,9 @@ dealloc_biosdisk_part(struct biosdisk_pa
part[i].part_name = NULL;
}
}
-
+
dealloc(part, sizeof(*part) * nparts);
-
+
return;
}
@@ -194,7 +194,6 @@ efi_raidframe_probe(struct efi_raidframe
return;
}
-
void
efi_disk_show(void)
{
@@ -293,7 +292,7 @@ efi_disk_show(void)
raidframe[i].size,
&part, &nparts))
continue;
-
+
first = 1;
for (j = 0; j < nparts; j++) {
bool bootme = part[j].attr & GPT_ENT_ATTR_BOOTME;
diff -r 37b7d63bd71a -r 7595410cba7f sys/arch/i386/stand/efiboot/efimemory.c
--- a/sys/arch/i386/stand/efiboot/efimemory.c Sun May 14 09:05:38 2023 +0000
+++ b/sys/arch/i386/stand/efiboot/efimemory.c Sun May 14 09:07:54 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: efimemory.c,v 1.9 2019/09/13 02:19:45 manu Exp $ */
+/* $NetBSD: efimemory.c,v 1.10 2023/05/14 09:07:54 riastradh Exp $ */
/*-
* Copyright (c) 2016 Kimihiro Nonaka <nonaka%netbsd.org@localhost>
@@ -221,7 +221,7 @@ efi_memory_get_memmap(struct bi_memmap_e
next = NextMemoryDescriptor(md, DescriptorSize);
}
-
+
*memmapp = memmap;
*num = NoEntries;
return 0;
Home |
Main Index |
Thread Index |
Old Index