[edk2-devel] [edk2-discuss] Need memory barriers in IoLib for AARCH64

Wasim Khan wasim.khan at nxp.com
Sun Jul 12 05:17:12 UTC 2020


Hello 

Any comments ?

> -----Original Message-----
> From: Wasim Khan
> Sent: Friday, July 10, 2020 6:20 PM
> To: michael.d.kinney at intel.com; liming.gao at intel.com; devel at edk2.groups.io
> Subject: [edk2-discuss] Need memory barriers in IoLib for AARCH64
> 
> Hello,
> 
> MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf:
> IoLib library uses IoLibArm.c for AARCH64/ARM architecture and IoLib.c for
> other architectures.
> 
> While IoLib.c already has memory barriers in MmioWrite functions, there
> barriers are missing in IoLibArm.c Is there any reason for **not** adding these
> memory barriers in IoLibArm.c to guarantee that all MMIO operations are
> serialized ?
> 
> I am facing some issues and I need to add memory barriers in IoLibArm.c for
> AARCH64 also .
> 
> 
> Regards,
> Wasim


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#62373): https://edk2.groups.io/g/devel/message/62373
Mute This Topic: https://groups.io/mt/75417094/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list