UefiCpuPkg: Update code to use new structure field names
Due to coding style fix of the structure definition in BaseLib.h, all code referencing those structure must be updated accordingly. Cc: Dandan Bi <dandan.bi@intel.com> Cc: Eric Dong <eric.dong@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com>
This commit is contained in:
@@ -243,7 +243,7 @@ RestoreVolatileRegisters (
|
||||
VolatileRegisters->Tr < VolatileRegisters->Gdtr.Limit) {
|
||||
Tss = (IA32_TSS_DESCRIPTOR *)(VolatileRegisters->Gdtr.Base +
|
||||
VolatileRegisters->Tr);
|
||||
if (Tss->Bits.P == 1) {
|
||||
if (Tss->Bits.Present == 1) {
|
||||
Tss->Bits.Type &= 0xD; // 1101 - Clear busy bit just in case
|
||||
AsmWriteTr (VolatileRegisters->Tr);
|
||||
}
|
||||
|
Reference in New Issue
Block a user