]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg BaseLib NASM Thunk16: Use bits 16 for 16-bit code
authorJordan Justen <jordan.l.justen@intel.com>
Mon, 1 Sep 2014 17:23:51 +0000 (17:23 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 1 Sep 2014 17:23:51 +0000 (17:23 +0000)
commitf6888eea465a8e293cb46b56c16f9f63eed43f3d
tree30ff51cc804c9c14bd1c9c6a16b663d18ac696e4
parenta8458d6cb3e05157f17c842ddd645dc269c8c12d
MdePkg BaseLib NASM Thunk16: Use bits 16 for 16-bit code

By using 'bits 16', we can write code for 16-bit use the actual
assembly syntax rather than 'DB' and sometimes writing code with
seemingly incorrect operands because we know it will run correctly
when the processor is running in 16-bit mode.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16023 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Library/BaseLib/Ia32/Thunk16.nasm
MdePkg/Library/BaseLib/X64/Thunk16.nasm