]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/BaseLib/Ia32/GccInlinePriv.c
MdePkg/BaseLib: Fix AsmReadSs() with GCC toolchain
authorSatoshi Tanda <tanda.sat@gmail.com>
Mon, 24 May 2021 04:50:18 +0000 (12:50 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 4 Jun 2021 03:24:04 +0000 (03:24 +0000)
commitc410ad4da4b7785170d3d42a3ba190c2caac6feb
treef20b16b6df3aeee592c2adb4fc6397a71a9fa70a
parent75e9154f818a58ffc3a28db9f8c97279e723f02d
MdePkg/BaseLib: Fix AsmReadSs() with GCC toolchain

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3405

AsmReadSs() in Ia32/GccInlinePriv.c and X64/GccInlinePriv.c return the
DS segment selector value instead of SS.

Signed-off-by: Satoshi Tanda <tanda.sat@gmail.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
MdePkg/Library/BaseLib/Ia32/GccInlinePriv.c
MdePkg/Library/BaseLib/X64/GccInlinePriv.c