Sathya,

You need a way to pass the address to your OS. The memory is already there.
You could use a variable, but you need to have a pointer to variable
services.
You can store the information in ASL. Non-trivial to make this work, but I
know that it is possible to do.

-chip


On Tue, May 14, 2013 at 4:16 PM, Prakash, Sathya <[email protected]>wrote:

> Just to clarify further. Are we allowed to access the memory allocated by
> our UEFI driver as RuntimeServiceData in our OS drivers (the physical
> address is passed by the uefi driver to controller and controller to OS
> driver)?
>
> Thanks
> Sathya
>
> -----Original Message-----
> From: Prakash, Sathya [mailto:[email protected]]
> Sent: Tuesday, May 14, 2013 10:17 AM
> To: [email protected]
> Subject: [edk2] Memory reserved using EfiRuntimeServicesData and IOMMU
>
> Folks,
> We allocate some host memory as EfiRuntimeServicesData and utilize the
> memory in host driver for a certain purpose. This works fine with normal
> cases, but will it work with IOMMU?. I see the IOMMU module in linux needs
> to know about the reserved regions through RMRR address table to map the
> access, does the GetMemoryMap supports this?
>
> Thanks
> Sathya
>
>
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
>
>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> edk2-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to