Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/acpi x86/acpi/acpi_machdep.c: Nix trailing whit...
details: https://anonhg.NetBSD.org/src/rev/12dad5f33640
branches: trunk
changeset: 373221:12dad5f33640
user: riastradh <riastradh%NetBSD.org@localhost>
date: Tue Jan 24 09:35:20 2023 +0000
description:
x86/acpi/acpi_machdep.c: Nix trailing whitespace.
No functional change intended.
diffstat:
sys/arch/x86/acpi/acpi_machdep.c | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diffs (102 lines):
diff -r bee9df48e20b -r 12dad5f33640 sys/arch/x86/acpi/acpi_machdep.c
--- a/sys/arch/x86/acpi/acpi_machdep.c Tue Jan 24 08:40:46 2023 +0000
+++ b/sys/arch/x86/acpi/acpi_machdep.c Tue Jan 24 09:35:20 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_machdep.c,v 1.34 2022/10/28 21:58:27 riastradh Exp $ */
+/* $NetBSD: acpi_machdep.c,v 1.35 2023/01/24 09:35:20 riastradh Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.34 2022/10/28 21:58:27 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_machdep.c,v 1.35 2023/01/24 09:35:20 riastradh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -107,15 +107,15 @@
#ifdef XENPV
/*
- * Obtain the ACPI RSDP from the hypervisor.
- * This is the only way to go if Xen booted from EFI: the
- * Extended BIOS Data Area (EBDA) is not mapped, and Xen
+ * Obtain the ACPI RSDP from the hypervisor.
+ * This is the only way to go if Xen booted from EFI: the
+ * Extended BIOS Data Area (EBDA) is not mapped, and Xen
* does not pass an EFI SystemTable to the kernel.
*/
struct xen_platform_op op = {
.cmd = XENPF_firmware_info,
.u.firmware_info = {
- .type = XEN_FW_EFI_INFO,
+ .type = XEN_FW_EFI_INFO,
.index = XEN_FW_EFI_CONFIG_TABLE
}
};
@@ -125,7 +125,7 @@
struct efi_cfgtbl *ct;
int i;
- ct = AcpiOsMapMemory(info->cfg.addr,
+ ct = AcpiOsMapMemory(info->cfg.addr,
sizeof(*ct) * info->cfg.nent);
for (i = 0; i < info->cfg.nent; i++) {
@@ -135,7 +135,7 @@
(uintptr_t)ct[i].ct_data;
if (PhysicalAddress)
goto out;
-
+
}
}
@@ -146,7 +146,7 @@
(uintptr_t)ct[i].ct_data;
if (PhysicalAddress)
goto out;
-
+
}
}
out:
@@ -163,8 +163,8 @@
return PhysicalAddress;
}
#endif
- /*
- * Get the ACPI RSDP from EFI SystemTable. This works when the
+ /*
+ * Get the ACPI RSDP from EFI SystemTable. This works when the
* kernel was loaded from EFI bootloader.
*/
if (efi_probe()) {
@@ -321,14 +321,14 @@
ioapic = ioapic_find_bybase(irq);
if (ioapic != NULL) {
pic = &ioapic->sc_pic;
-
+
if (pic->pic_type == PIC_IOAPIC) {
pin = irq - pic->pic_vecbase;
irq = -1;
} else {
pin = irq;
}
-
+
mip = ioapic->sc_pins[pin].ip_map;
if (mip) {
mip->flags &= ~0xf;
@@ -344,7 +344,7 @@
}
}
}
-
+
if (pic == NULL)
#endif
{
Home |
Main Index |
Thread Index |
Old Index