cpu/intel/common: Add `set_feature_ctrl_vmx_arg()`
commitb998fd073dc404556e8f11b798f3e045d7342114
authorAngel Pons <th3fanbus@gmail.com>
Mon, 31 Jan 2022 16:38:06 +0000 (31 17:38 +0100)
committerFelix Held <felix-coreboot@felixheld.de>
Wed, 2 Feb 2022 13:26:02 +0000 (2 13:26 +0000)
tree0e083361127b83d49366048b15608368ab562b55
parent57fc1b91b935cf1984d87690221d6f87b9942cbf
cpu/intel/common: Add `set_feature_ctrl_vmx_arg()`

Allow deciding whether to enable VMX through a function parameter. Used
in a follow-up.

Change-Id: I4f932de53207cd4e24cb4c67d20c60f708bfaa89
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61505
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Marvin Drees <marvin.drees@9elements.com>
src/cpu/intel/common/common.h
src/cpu/intel/common/common_init.c