Add Haven v3 support (#134)
This commit is contained in:
parent
ae15b9f5ac
commit
3ecda3e63a
7 changed files with 466 additions and 402 deletions
|
@ -282,7 +282,8 @@ constexpr static const char *pow_variant_names[] = {
|
|||
"ipbc",
|
||||
"alloy",
|
||||
"xtl",
|
||||
"msr"
|
||||
"msr",
|
||||
"xhv"
|
||||
};
|
||||
|
||||
Options *Options::parse(int argc, char **argv)
|
||||
|
@ -1028,6 +1029,11 @@ bool Options::parsePowVariant(const char *powVariant)
|
|||
break;
|
||||
}
|
||||
|
||||
if (i == ARRAY_SIZE(pow_variant_names) - 1 && !strcmp(powVariant, "haven")) {
|
||||
m_powVariant = POW_XHV;
|
||||
break;
|
||||
}
|
||||
|
||||
if (i == ARRAY_SIZE(pow_variant_names) - 1) {
|
||||
showUsage(1);
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue