Hello All,
I have a question regarding the use of bitwiseand operator in suppressif
statement.
Basically i have a bitmap in the NVConfig structure. I need to selectively
suppress some of the options to the user based on this bitmap.
I have something similar to this.
"suppressif ideqval NVData.mybitmap & 0x1 == 0x0;".
Is it legal to use BitWiseAnd ("&") operator inside suppressif statement
??
The list file generated the vfrcompiler looks something like this:
suppressif ideqval NVData.mybitmap & 0x1 == 0x0;
>000004A9: 0A 82 ===> suppressif
opcode
>000004AB: 45 8A 01 00 00 00 00 00 00 00 ===> push 64bit unsigned integer
>000004B5: 45 0A 00 00 00 00 00 00 00 00 ===> push 64bit unsigned
integer
>000004BF: 2F 02 ===> push TRUE if
two expressions are equal
>000004C1: 35 02 ===> Bitwise AND
two unsigned integers and push the result.
>000004C3: 29 02 ===> Marks the end
of scope.
I am getting "unrecognised token : &" from vfrcompiler during compilation,
even if the opcode to perform bitwise and operation is generated.
Please let me know how to get around this.
Thanks,
Sajeesh.K.K
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel