On architectures that require aligned reads/writes, the PCD PEIM can cause a 
misaligned access exception.  This stems from the PcdPeim's SetWorker not using 
the WriteUnalignedN functions from the BaseLib.  The attached patch file 
includes modifications to the PEIM that enforce unaligned access for calls to 
PcdSet.

Best Regards,
Aaron

The information contained in this message may be confidential and proprietary 
to American Megatrends, Inc.  This communication is intended to be read only by 
the individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any distribution of this message, in any form, is strictly prohibited.  Please 
promptly notify the sender by reply e-mail or by telephone at 770-246-8600, and 
then delete or destroy all copies of the transmission.

Attachment: Pcd-Pei-Unaligned-Set.patch
Description: Pcd-Pei-Unaligned-Set.patch

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to