diff options
author | Antoine Coeur <coeur@gmx.fr> | 2020-02-07 02:08:10 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-02-10 22:30:07 +0000 |
commit | a2e75595766b370bf12207b716f9fbf1b5895445 (patch) | |
tree | 7f20f233f8e11e33bde3f1e1be7383d77b2b94af /OvmfPkg/QemuVideoDxe | |
parent | f6fc95c943c1907ac44404c4937937febf13fe80 (diff) | |
download | edk2-a2e75595766b370bf12207b716f9fbf1b5895445.tar.gz edk2-a2e75595766b370bf12207b716f9fbf1b5895445.tar.bz2 edk2-a2e75595766b370bf12207b716f9fbf1b5895445.zip |
OvmfPkg/Qemu: Fix various typos
Fix various typos in comments and documentation.
When "VbeShim.asm" is modified, we have to re-run "VbeShim.sh"
to update "VbeShim.h".
The string modified by this patch is only used when the DEBUG
macro (at the top of the file) is commented out. Since the
string is not referenced, NASM eliminates it, resulting in
the same byte array content in "VbeShim.h".
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: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
Message-Id: <20200207010831.9046-58-philmd@redhat.com>
Diffstat (limited to 'OvmfPkg/QemuVideoDxe')
-rw-r--r-- | OvmfPkg/QemuVideoDxe/Driver.c | 2 | ||||
-rw-r--r-- | OvmfPkg/QemuVideoDxe/VbeShim.asm | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/OvmfPkg/QemuVideoDxe/Driver.c b/OvmfPkg/QemuVideoDxe/Driver.c index 522110ef4e..6a4a860b3c 100644 --- a/OvmfPkg/QemuVideoDxe/Driver.c +++ b/OvmfPkg/QemuVideoDxe/Driver.c @@ -206,7 +206,7 @@ QemuVideoControllerDriverStart ( OldTpl = gBS->RaiseTPL (TPL_CALLBACK);
//
- // Allocate Private context data for GOP inteface.
+ // Allocate Private context data for GOP interface.
//
Private = AllocateZeroPool (sizeof (QEMU_VIDEO_PRIVATE_DATA));
if (Private == NULL) {
diff --git a/OvmfPkg/QemuVideoDxe/VbeShim.asm b/OvmfPkg/QemuVideoDxe/VbeShim.asm index cb2a60d827..1d284b2641 100644 --- a/OvmfPkg/QemuVideoDxe/VbeShim.asm +++ b/OvmfPkg/QemuVideoDxe/VbeShim.asm @@ -49,7 +49,7 @@ Handler: je ReadEdid
cmp ah, 0x00
je SetModeLegacy
- DebugLog StrUnkownFunction
+ DebugLog StrUnknownFunction
Hang:
jmp Hang
@@ -93,7 +93,7 @@ GetModeInfo: and cx, ~0x4000 ; clear potentially set LFB bit in mode number
cmp cx, 0x00f1
je KnownMode1
- DebugLog StrUnkownMode
+ DebugLog StrUnknownMode
jmp Hang
KnownMode1:
; target (es:di) set on input
@@ -155,7 +155,7 @@ SetMode: cmp bx, 0x40f1
je KnownMode2
- DebugLog StrUnkownMode
+ DebugLog StrUnknownMode
jmp Hang
KnownMode2:
@@ -203,7 +203,7 @@ SetModeLegacy: je KnownMode3
cmp al, 0x12
je KnownMode4
- DebugLog StrUnkownMode
+ DebugLog StrUnknownMode
jmp Hang
KnownMode3:
mov al, 0x30
@@ -252,7 +252,7 @@ StrExitSuccess: StrExitUnsupported:
db 'Unsupported', 0x0a, 0
-StrUnkownFunction:
+StrUnknownFunction:
db 'Unknown Function', 0x0a, 0
StrEnterGetInfo:
@@ -270,8 +270,8 @@ StrEnterSetMode: StrEnterSetModeLegacy:
db 'SetModeLegacy', 0x0a, 0
-StrUnkownMode:
- db 'Unkown Mode', 0x0a, 0
+StrUnknownMode:
+ db 'Unknown Mode', 0x0a, 0
StrGetPmCapabilities:
db 'GetPmCapabilities', 0x0a, 0
|