summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2016-04-30 00:26:38 +0000
committerpfg <pfg@FreeBSD.org>2016-04-30 00:26:38 +0000
commit3a9fc3c9d551a96758e6a8f5ef579640c8faee84 (patch)
tree43c11f9671a081b7623d4359fca6d559b4dc78fd /sys/boot/efi
parent979921fbb70543a572272cdbcdeb037ddb836af4 (diff)
downloadFreeBSD-src-3a9fc3c9d551a96758e6a8f5ef579640c8faee84.zip
FreeBSD-src-3a9fc3c9d551a96758e6a8f5ef579640c8faee84.tar.gz
sys/boot: spelling fixes in comments.
No functional change.
Diffstat (limited to 'sys/boot/efi')
-rw-r--r--sys/boot/efi/boot1/boot1.c4
-rw-r--r--sys/boot/efi/include/amd64/efibind.h2
-rw-r--r--sys/boot/efi/include/arm/efibind.h2
-rw-r--r--sys/boot/efi/include/arm64/efibind.h4
-rw-r--r--sys/boot/efi/include/efiuga.h2
-rw-r--r--sys/boot/efi/include/i386/efibind.h2
-rw-r--r--sys/boot/efi/loader/main.c2
7 files changed, 9 insertions, 9 deletions
diff --git a/sys/boot/efi/boot1/boot1.c b/sys/boot/efi/boot1/boot1.c
index 1b84d41..7383387 100644
--- a/sys/boot/efi/boot1/boot1.c
+++ b/sys/boot/efi/boot1/boot1.c
@@ -103,8 +103,8 @@ nodes_match(EFI_DEVICE_PATH *imgpath, EFI_DEVICE_PATH *devpath)
/*
* device_paths_match returns TRUE if the imgpath isn't NULL and all nodes
- * in imgpath and devpath match up to their respect occurances of a media
- * node, FALSE otherwise.
+ * in imgpath and devpath match up to their respective occurrences of a
+ * media node, FALSE otherwise.
*/
static BOOLEAN
device_paths_match(EFI_DEVICE_PATH *imgpath, EFI_DEVICE_PATH *devpath)
diff --git a/sys/boot/efi/include/amd64/efibind.h b/sys/boot/efi/include/amd64/efibind.h
index d7a8dc0..8cfce5b 100644
--- a/sys/boot/efi/include/amd64/efibind.h
+++ b/sys/boot/efi/include/amd64/efibind.h
@@ -238,7 +238,7 @@ typedef uint64_t UINTN;
#else // EFI_NT_EMULATOR
//
-// When build similiar to FW, then link everything together as
+// When building similar to FW, link everything together as
// one big module.
//
diff --git a/sys/boot/efi/include/arm/efibind.h b/sys/boot/efi/include/arm/efibind.h
index 85537ad..177032a 100644
--- a/sys/boot/efi/include/arm/efibind.h
+++ b/sys/boot/efi/include/arm/efibind.h
@@ -34,7 +34,7 @@ Abstract:
//
-// Make sure we are useing the correct packing rules per EFI specification
+// Make sure we are using the correct packing rules per EFI specification
//
#ifndef __GNUC__
#pragma pack()
diff --git a/sys/boot/efi/include/arm64/efibind.h b/sys/boot/efi/include/arm64/efibind.h
index 142f162..4751e2e 100644
--- a/sys/boot/efi/include/arm64/efibind.h
+++ b/sys/boot/efi/include/arm64/efibind.h
@@ -176,7 +176,7 @@ typedef uint64_t UINTN;
#define VOLATILE volatile
//
-// BugBug: Need to find out if this is portable accross compliers.
+// BugBug: Need to find out if this is portable across compilers.
//
void __mfa (void);
#define MEMORY_FENCE() __mfa()
@@ -190,7 +190,7 @@ void __mfa (void);
#endif
//
-// When build similiar to FW, then link everything together as
+// When build similar to FW, then link everything together as
// one big module.
//
diff --git a/sys/boot/efi/include/efiuga.h b/sys/boot/efi/include/efiuga.h
index 6dfaf50..28c738e 100644
--- a/sys/boot/efi/include/efiuga.h
+++ b/sys/boot/efi/include/efiuga.h
@@ -139,7 +139,7 @@ typedef enum {
@retval EFI_SUCCESS - The Blt operation completed.
@retval EFI_INVALID_PARAMETER - BltOperation is not valid.
- @retval EFI_DEVICE_ERROR - A hardware error occured writting to the video buffer.
+ @retval EFI_DEVICE_ERROR - A hardware error occurred writting to the video buffer.
--*/
typedef
diff --git a/sys/boot/efi/include/i386/efibind.h b/sys/boot/efi/include/i386/efibind.h
index 6e5a716..0f1d4f1 100644
--- a/sys/boot/efi/include/i386/efibind.h
+++ b/sys/boot/efi/include/i386/efibind.h
@@ -234,7 +234,7 @@ typedef uint32_t UINTN;
#else // EFI_NT_EMULATOR
//
-// When build similiar to FW, then link everything together as
+// When build similar to FW, then link everything together as
// one big module.
//
diff --git a/sys/boot/efi/loader/main.c b/sys/boot/efi/loader/main.c
index 91b39b1..2efffce 100644
--- a/sys/boot/efi/loader/main.c
+++ b/sys/boot/efi/loader/main.c
@@ -74,7 +74,7 @@ static void efi_zfs_probe(void);
/*
* Need this because EFI uses UTF-16 unicode string constants, but we
- * use UTF-8. We can't use printf due to the possiblity of \0 and we
+ * use UTF-8. We can't use printf due to the possibility of \0 and we
* don't support support wide characters either.
*/
static void
OpenPOWER on IntegriCloud