]> git.proxmox.com Git - mirror_edk2.git/commitdiff
UefiCpuPkg/PiSmmCpuDxeSmm: remove superfluous ENDs from NASM source
authorLaszlo Ersek <lersek@redhat.com>
Thu, 14 Jul 2016 14:36:37 +0000 (16:36 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Mon, 18 Jul 2016 17:23:01 +0000 (19:23 +0200)
Commits 28ee5816465b1 and 246cd9085f806 added these ENDs as part of the
manual conversion from *.asm files. However, the ENDs makes no sense for
NASM. Although they don't break the build, NASM complains about them:

  label alone on a line without a colon might be in error

(This NASM warning category dates back to NASM 0.95, commit
6768eb71d8deb.)

Remove the ENDs.

Cc: Jeff Fan <jeff.fan@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiException.nasm
UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmmInit.nasm

index f9f3986ea1cc6416be641d38070d69327be5bc93..6a328289a8af5e60ee7df5d13b61a40be86176de 100644 (file)
@@ -733,5 +733,3 @@ ASM_PFX(InitializeIDTSmmStackGuard):
     mov     [ebx + 4], eax\r
     pop     ebx\r
     ret\r
-\r
-    END\r
index c2295e48e2ee4cdf2bf0304def2e6bfc541e455f..d9df3626c7545165b946c3acf90bafe8f4db95ec 100644 (file)
@@ -85,4 +85,3 @@ ASM_PFX(SmmRelocationSemaphoreComplete):
     mov     byte [eax], 1\r
     pop     eax\r
     jmp     [ASM_PFX(mSmmRelocationOriginalAddress)]\r
-    END\r