Skip to content

Commit 153f263

Browse files
committed
Trailing whitespace
1 parent 55dd53d commit 153f263

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

share/man/man8/man8.x86/boot.8

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.\" $NetBSD: boot.8,v 1.38 2025/10/10 00:43:09 gutteridge Exp $
1+
.\" $NetBSD: boot.8,v 1.39 2025/10/14 07:15:28 skrll Exp $
22
.\"
33
.\" Copyright (c) 1991, 1993
44
.\" The Regents of the University of California. All rights reserved.
@@ -260,7 +260,7 @@ In support of the
260260
.Dv KERNEL_DIR
261261
build option (see
262262
.Xr mk.conf 5 ) ,
263-
the boot loader will then try
263+
the boot loader will then try
264264
.Pa netbsd/kernel ,
265265
.Pa netbsd/kernel.gz ,
266266
.Pa onetbsd/kernel ,
@@ -416,12 +416,12 @@ with the
416416
device is not possible.
417417
.Pp
418418
UEFI may support some USB and PCI-based serial ports.
419-
See the
419+
See the
420420
.Sx UEFI serial ports
421421
section for details.
422422
Using the
423423
.Ic consdev
424-
command without arguments lists the available ports.
424+
command without arguments lists the available ports.
425425
.Ar com0
426426
to
427427
.Ar com3
@@ -438,7 +438,7 @@ using the
438438
syntax.
439439
No console switch happens in bootstrap, and kernel
440440
console initialization will be deferred after USB devices attachment.
441-
This means early boot will be silent, and
441+
This means early boot will be silent, and
442442
.Xr userconf 4
443443
interactive mode cannot be used.
444444
The default
@@ -458,7 +458,7 @@ One may use a syntax like:
458458
consdev com4,115200
459459
kconsdev ucom0,115200
460460
.Ed
461-
Note that command ordering matters.
461+
Note that command ordering matters.
462462
.It Ic dev Op Ar device
463463
Set the default drive and partition for subsequent file system
464464
operations.
@@ -928,12 +928,12 @@ USB vendor ID and product ID for those devices are
928928
and
929929
.Ar 0x6001.
930930
.Pp
931-
To use it, obtain the
931+
To use it, obtain the
932932
.Pa FtdiUsbSerialDxe.efi
933933
driver from Tianocore EDK2 and save it in the EFI bootstrap partiton,
934934
for instance in
935-
.Pa /EFI/EDK2/FtdiUsbSerialDxe.efi
936-
then create a
935+
.Pa /EFI/EDK2/FtdiUsbSerialDxe.efi
936+
then create a
937937
.Pa /EFI/boot/startup.nsh
938938
script containing something like
939939
.Bd -literal -offset indent
@@ -943,9 +943,9 @@ bootx64.efi
943943
.Ed
944944
.Pp
945945
Then make sure UEFI boots into the UEFI shell.
946-
If it is not available in the built-in options,
946+
If it is not available in the built-in options,
947947
.Pa Shell.efi
948-
can be obtained from Tianocore EDK2 and installed in
948+
can be obtained from Tianocore EDK2 and installed in
949949
.Pa /EFI/boot/Shell.efi .
950950
.Sh FILES
951951
.Bl -tag -width /usr/mdec/bootxx_fstype -compact

sys/arch/i386/stand/efiboot/eficons.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $NetBSD: eficons.c,v 1.16 2025/10/09 16:10:03 manu Exp $ */
1+
/* $NetBSD: eficons.c,v 1.17 2025/10/14 07:16:18 skrll Exp $ */
22

33
/*-
44
* Copyright (c) 2016 Kimihiro Nonaka <nonaka@netbsd.org>
@@ -74,7 +74,7 @@ static int efi_cons_putc(int);
7474
static int efi_cons_iskey(int);
7575
static int efi_cons_waitforinputevent(uint64_t);
7676

77-
static int efi_com_consdev2unit(int);
77+
static int efi_com_consdev2unit(int);
7878
static void efi_com_probe(void);
7979
static bool efi_valid_com(int);
8080
static int efi_com_init(int, int);
@@ -169,7 +169,7 @@ efi_consinit(int dev, int ioport, int unit, int speed, bool switchcons)
169169
consname = "com";
170170
btinfo_console.addr = getcomaddr(unit);
171171

172-
if (!switchcons)
172+
if (!switchcons)
173173
goto kbd;
174174

175175
com_unit = unit;
@@ -399,7 +399,7 @@ awaitkey(int timeout, int tell)
399399
break;
400400
}
401401
if (timeout--) {
402-
/*
402+
/*
403403
* UEFI spec 2.10 section 7.1.7
404404
* EFI_BOOT_SERVICES.SetTimer() timeout in 100ns units
405405
* but the implementation may be broken and faster:
@@ -835,7 +835,7 @@ efi_switch_video_to_text_mode(void)
835835
}
836836

837837
static int
838-
efi_com_consdev2unit(int dev)
838+
efi_com_consdev2unit(int dev)
839839
{
840840
int unit = -1;
841841

@@ -874,7 +874,7 @@ efi_com_probe(void)
874874
* We could want to dynamically allocate serios[] to cope
875875
* with an aritrary count of serial ports, but we cannot yet
876876
* call alloc(), because efi_heap_init() was not yet called.
877-
* We could swap cninit() and efi_heap_init() order in
877+
* We could swap cninit() and efi_heap_init() order in
878878
* efi_main(), but then efi_heap_init() could not display
879879
* a failure message. Let us keep static it for now for the
880880
* sake of reliability.

0 commit comments

Comments
 (0)