Skip to content

Commit c548f0d

Browse files
committed
fixed tpm
1 parent 43044d1 commit c548f0d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/vmaware.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5663,7 +5663,6 @@ struct VM {
56635663
#pragma pack(pop)
56645664

56655665
constexpr DWORD ACPI_SIG = 'ACPI';
5666-
constexpr DWORD dsdtSig = 'TDSD';
56675666
constexpr DWORD HPET_SIG = 'TEPH';
56685667

56695668
// "WAET" is also present as a string inside the WAET table, so there's no need to check for its table signature
@@ -8059,9 +8058,9 @@ struct VM {
80598058
return false;
80608059
}
80618060

8062-
debug("TPM: Manufacturer -> 0x", std::hex, manufacturerVal);
8061+
debug("TPM: Manufacturer -> 0x", std::hex, tpm);
80638062

8064-
switch (manufacturerVal) {
8063+
switch (tpm) {
80658064
case 0x414D4400u: // "AMD\0"
80668065
case 0x41544D4Cu: // "ATML"
80678066
case 0x4252434Du: // "BRCM"

0 commit comments

Comments
 (0)