Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MdePkg/BaseLib: Add support for the XSETBV instruction #1534

Merged
merged 1 commit into from Apr 6, 2021

Conversation

mdkinney
Copy link
Member

@mdkinney mdkinney commented Apr 5, 2021

*v2: refine the coding format.

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

This patch is to support XSETBV instruction so as to support
Extended Control Register(XCR) write.

Extended Control Register(XCR) read has already been supported
by below commit to support XGETBV instruction:
9b3ca50

Cc: Michael D Kinney michael.d.kinney@intel.com
Cc: Liming Gao gaoliming@byosoft.com.cn
Cc: Zhiguang Liu zhiguang.liu@intel.com
Cc: Ni Ray ray.ni@intel.com
Cc: Yao Jiewen jiewen.yao@intel.com
Signed-off-by: Jiaxin Wu Jiaxin.wu@intel.com
Signed-off-by: Zhang Hongbin1 hongbin1.zhang@intel.com
Reviewed-by: Ray Ni ray.ni@intel.com
Reviewed-by: Liming Gao gaoliming@byosoft.com.cn

*v2: refine the coding format.

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

This patch is to support XSETBV instruction so as to support
Extended Control Register(XCR) write.

Extended Control Register(XCR) read has already been supported
by below commit to support XGETBV instruction:
9b3ca50

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Ni Ray <ray.ni@intel.com>
Cc: Yao Jiewen <jiewen.yao@intel.com>
Signed-off-by: Jiaxin Wu <Jiaxin.wu@intel.com>
Signed-off-by: Zhang Hongbin1 <hongbin1.zhang@intel.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
@mergify
Copy link

mergify bot commented Apr 5, 2021

All checks passed. Auto close personal build.

@mergify mergify bot closed this Apr 5, 2021
@mdkinney mdkinney added the push Auto push patch series in PR if all checks pass label Apr 5, 2021
@mdkinney mdkinney reopened this Apr 6, 2021
@mergify mergify bot merged commit 4ac0296 into tianocore:master Apr 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
push Auto push patch series in PR if all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants