summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Csm/BiosThunk
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:08:08 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commit48cf40b8c92e164f0785cccf5b9c6815561c8474 (patch)
treed89896500af74ce6b9b97481dc3f531217229b10 /OvmfPkg/Csm/BiosThunk
parentf221466ea77a897d0f21e2092d5564249ab828c1 (diff)
downloadedk2-48cf40b8c92e164f0785cccf5b9c6815561c8474.tar.gz
edk2-48cf40b8c92e164f0785cccf5b9c6815561c8474.tar.bz2
edk2-48cf40b8c92e164f0785cccf5b9c6815561c8474.zip
OvmfPkg/Csm: Fix various typos
Fix various typos in documentation, comments and strings. Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: David Woodhouse <dwmw2@infradead.org> Acked-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-56-philmd@redhat.com>
Diffstat (limited to 'OvmfPkg/Csm/BiosThunk')
-rw-r--r--OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.c4
-rw-r--r--OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.h10
-rw-r--r--OvmfPkg/Csm/BiosThunk/VideoDxe/VesaBiosExtensions.h8
3 files changed, 11 insertions, 11 deletions
diff --git a/OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.c b/OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.c
index 0640656dba..0a189bc592 100644
--- a/OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.c
+++ b/OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.c
@@ -381,7 +381,7 @@ BiosVideoDriverBindingStart (
(FeaturePcdGet (PcdBiosVideoCheckVbeEnable) || FeaturePcdGet (PcdBiosVideoCheckVgaEnable))) {
//
// If RemainingDevicePath is the End of Device Path Node,
- // don't create any child device and return EFI_SUCESS
+ // don't create any child device and return EFI_SUCCESS
Status = EFI_SUCCESS;
goto Done;
}
@@ -3211,7 +3211,7 @@ BiosVideoVgaMiniPortSetMode (
/**
Event handler for Exit Boot Service.
- @param Event The event that be siganlled when exiting boot service.
+ @param Event The event that be signalled when exiting boot service.
@param Context Pointer to instance of BIOS_VIDEO_DEV.
**/
diff --git a/OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.h b/OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.h
index 951f4e6f76..d4fe15428b 100644
--- a/OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.h
+++ b/OvmfPkg/Csm/BiosThunk/VideoDxe/BiosVideo.h
@@ -241,7 +241,7 @@ BiosVideoCheckForVga (
/**
- Release resource for biso video instance.
+ Release resource for BIOS video instance.
@param BiosVideoPrivate Video child device private data structure
@@ -347,9 +347,9 @@ BiosVideoGraphicsOutputVbeBlt (
/**
- Grahpics Output protocol instance to block transfer for VGA device.
+ Graphics Output protocol instance to block transfer for VGA device.
- @param This Pointer to Grahpics Output protocol instance
+ @param This Pointer to Graphics Output protocol instance
@param BltBuffer The data to transfer to screen
@param BltOperation The operation to perform
@param SourceX The X coordinate of the source for BltOperation
@@ -412,7 +412,7 @@ BiosVideoVgaMiniPortSetMode (
/**
Event handler for Exit Boot Service.
- @param Event The event that be siganlled when exiting boot service.
+ @param Event The event that be signalled when exiting boot service.
@param Context Pointer to instance of BIOS_VIDEO_DEV.
**/
@@ -506,7 +506,7 @@ BiosVideoChildHandleUninstall (
);
/**
- Release resource for biso video instance.
+ Release resource for BIOS video instance.
@param BiosVideoPrivate Video child device private data structure
diff --git a/OvmfPkg/Csm/BiosThunk/VideoDxe/VesaBiosExtensions.h b/OvmfPkg/Csm/BiosThunk/VideoDxe/VesaBiosExtensions.h
index dbf706179f..88065f15c6 100644
--- a/OvmfPkg/Csm/BiosThunk/VideoDxe/VesaBiosExtensions.h
+++ b/OvmfPkg/Csm/BiosThunk/VideoDxe/VesaBiosExtensions.h
@@ -250,7 +250,7 @@ typedef struct {
#define VESA_BIOS_EXTENSIONS_VERSION_3_0 0x0300
//
-// Super VGA Information Block Capabilities field bit defintions
+// Super VGA Information Block Capabilities field bit definitions
//
#define VESA_BIOS_EXTENSIONS_CAPABILITY_8_BIT_DAC 0x01 // 0: DAC width is fixed at 6 bits/color
// 1: DAC width switchable to 8 bits/color
@@ -358,7 +358,7 @@ typedef struct {
} VESA_BIOS_EXTENSIONS_MODE_INFORMATION_BLOCK;
//
-// Super VGA Mode Information Block ModeAttributes field bit defintions
+// Super VGA Mode Information Block ModeAttributes field bit definitions
//
#define VESA_BIOS_EXTENSIONS_MODE_ATTRIBUTE_HARDWARE 0x0001 // 0: Mode not supported in handware
// 1: Mode supported in handware
@@ -396,7 +396,7 @@ typedef struct {
#define VESA_BIOS_EXTENSIONS_MODE_ATTRIBUTE_DUAL_DISPLAY 0x1000 // 0: No dual display start address support
// 1: Dual display start address support
//
-// Super VGA Mode Information Block WinAAttribite/WinBAttributes field bit defintions
+// Super VGA Mode Information Block WinAAttribite/WinBAttributes field bit definitions
//
#define VESA_BIOS_EXTENSIONS_WINX_ATTRIBUTE_RELOCATABLE 0x01 // 0: Single non-relocatable window only
// 1: Relocatable window(s) are supported
@@ -407,7 +407,7 @@ typedef struct {
#define VESA_BIOS_EXTENSIONS_WINX_ATTRIBUTE_WRITABLE 0x04 // 0: Window is not writable
// 1: Window is writable
//
-// Super VGA Mode Information Block DirectColorMode field bit defintions
+// Super VGA Mode Information Block DirectColorMode field bit definitions
//
#define VESA_BIOS_EXTENSIONS_DIRECT_COLOR_MODE_PROG_COLOR_RAMP 0x01 // 0: Color ram is fixed
// 1: Color ramp is programmable