It is a copy paste bug (EDK to edk2) in the coding standard document. 

VOLATILE is not defined as an EFI type in the UEFI spec (2.3.1 Data Types). The 
edk2 MdePkg cleaned up definitions to match the UEFI spec, as there were things 
in the EDK that did not match the spec, and in some cases typos, and all these 
got changed. So VOLATILE was not in the UEFI spec so it got removed. 

Thanks, 

Andrew Fish


On Jun 21, 2013, at 9:41 AM, "Kirkendall, Garrett" <[email protected]> 
wrote:

> My coding standards police have found that the EDKII Coding Standards 
> document has VOLATILE defined under “Table 6. Modifiers for Common EFI Data 
> Types”, and that  VOLATILE is not defined in any EDKII native header file.  
> Is there a reason it was left out, or just an oversight?  
>  
> It does happen to be defined in 
> EdkCompatibilityPkg/Foundation/Efi/Include/EfiTypes.h.
>  
> Garrett Kirkendall
> SMTS Firmware Engineer
> AMD Technology & Engineering
> 7171 Southwest Parkway
> Austin, TX, 78735
> U.S.A.
> O: +(1) 512 602 3255
>  
> <image003.jpg>  Visit us at: Facebook | amd.com
>  
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev_______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to