mirror of https://github.com/acidanthera/audk.git
BaseTools: Fix VOID* type bug
Code miss UINT32 and UINT64 value type setting in VOID*, like as {UINT32({TRUE})} Cc: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Yunhua Feng <yunhuax.feng@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
parent
6791175f05
commit
a35918caae
|
@ -857,8 +857,10 @@ class ValueExpressionEx(ValueExpression):
|
||||||
ValueType = "UINT16"
|
ValueType = "UINT16"
|
||||||
elif Item.startswith('UINT32'):
|
elif Item.startswith('UINT32'):
|
||||||
ItemSize = 4
|
ItemSize = 4
|
||||||
|
ValueType = "UINT32"
|
||||||
elif Item.startswith('UINT64'):
|
elif Item.startswith('UINT64'):
|
||||||
ItemSize = 8
|
ItemSize = 8
|
||||||
|
ValueType = "UINT64"
|
||||||
else:
|
else:
|
||||||
ItemSize = 0
|
ItemSize = 0
|
||||||
if ValueType:
|
if ValueType:
|
||||||
|
|
Loading…
Reference in New Issue