summaryrefslogtreecommitdiff
path: root/sys/stand
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2024-09-04 07:54:54 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2024-09-04 07:54:54 +0000
commitc08b0d64f93729a6088a731e9e41fda5bec371e1 (patch)
treee09749cad372b028eb5c075077d98bbae8a348bb /sys/stand
parent92740d6c8077a1465c78e747b508ddbb0d12ab57 (diff)
Fix some spelling.
Input and ok jmc@, jsg@
Diffstat (limited to 'sys/stand')
-rw-r--r--sys/stand/efi/include/efiapi.h4
-rw-r--r--sys/stand/efi/include/eficonsctl.h2
-rw-r--r--sys/stand/efi/include/efidef.h2
-rw-r--r--sys/stand/efi/include/efifs.h4
-rw-r--r--sys/stand/efi/include/efiprot.h4
5 files changed, 8 insertions, 8 deletions
diff --git a/sys/stand/efi/include/efiapi.h b/sys/stand/efi/include/efiapi.h
index 40a2ab06cc6..dcbe01d782c 100644
--- a/sys/stand/efi/include/efiapi.h
+++ b/sys/stand/efi/include/efiapi.h
@@ -211,7 +211,7 @@ VOID
//
-// EFI platform varibles
+// EFI platform variables
//
#define EFI_GLOBAL_VARIABLE \
@@ -672,7 +672,7 @@ typedef struct _EFI_TABLE_HEARDER {
//
-// EFI Runtime Serivces Table
+// EFI Runtime Services Table
//
#define EFI_RUNTIME_SERVICES_SIGNATURE 0x56524553544e5552
diff --git a/sys/stand/efi/include/eficonsctl.h b/sys/stand/efi/include/eficonsctl.h
index 0ad3d759842..f61a8847e6e 100644
--- a/sys/stand/efi/include/eficonsctl.h
+++ b/sys/stand/efi/include/eficonsctl.h
@@ -65,7 +65,7 @@ EFI_STATUS
Arguments:
This - Protocol instance pointer.
- Mode - Are we in text of grahics mode.
+ Mode - Are we in text of graphics mode.
GopUgaExists - TRUE if Console Spliter has found a GOP or UGA device
StdInLocked - TRUE if StdIn device is keyboard locked
diff --git a/sys/stand/efi/include/efidef.h b/sys/stand/efi/include/efidef.h
index 772818b7bea..aae4fd7d1b9 100644
--- a/sys/stand/efi/include/efidef.h
+++ b/sys/stand/efi/include/efidef.h
@@ -135,7 +135,7 @@ typedef enum {
MaxAllocateType
} EFI_ALLOCATE_TYPE;
-//Preseve the attr on any range supplied.
+//Preserve the attr on any range supplied.
//ConventialMemory must have WB,SR,SW when supplied.
//When allocating from ConventialMemory always make it WB,SR,SW
//When returning to ConventialMemory always make it WB,SR,SW
diff --git a/sys/stand/efi/include/efifs.h b/sys/stand/efi/include/efifs.h
index 765a41a490d..920232e7c61 100644
--- a/sys/stand/efi/include/efifs.h
+++ b/sys/stand/efi/include/efifs.h
@@ -29,7 +29,7 @@ Revision History
//
-// EFI Partition header (normaly starts in LBA 1)
+// EFI Partition header (normally starts in LBA 1)
//
#define EFI_PARTITION_SIGNATURE 0x5053595320494249
@@ -85,7 +85,7 @@ typedef struct _EFI_FILE_HEADER {
//
-// Logical Block Address List - the fundemental block
+// Logical Block Address List - the fundamental block
// description structure
//
diff --git a/sys/stand/efi/include/efiprot.h b/sys/stand/efi/include/efiprot.h
index 6ed8a28692d..6889e96b0a8 100644
--- a/sys/stand/efi/include/efiprot.h
+++ b/sys/stand/efi/include/efiprot.h
@@ -309,7 +309,7 @@ typedef struct {
// Whenever code needs to know the size of the EFI_FILE_INFO data structure, it needs to
// be the size of the data structure without the FileName field. The following macro
// computes this size correctly no matter how big the FileName array is declared.
-// This is required to make the EFI_FILE_INFO data structure ANSI compilant.
+// This is required to make the EFI_FILE_INFO data structure ANSI compliant.
//
#define SIZE_OF_EFI_FILE_INFO EFI_FIELD_OFFSET(EFI_FILE_INFO,FileName)
@@ -331,7 +331,7 @@ typedef struct {
// Whenever code needs to know the size of the EFI_FILE_SYSTEM_INFO data structure, it needs
// to be the size of the data structure without the VolumeLable field. The following macro
// computes this size correctly no matter how big the VolumeLable array is declared.
-// This is required to make the EFI_FILE_SYSTEM_INFO data structure ANSI compilant.
+// This is required to make the EFI_FILE_SYSTEM_INFO data structure ANSI compliant.
//
#define SIZE_OF_EFI_FILE_SYSTEM_INFO EFI_FIELD_OFFSET(EFI_FILE_SYSTEM_INFO,VolumeLabel)