public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Unable to Loacte EdkiiIoMmuProtocol.
@ 2017-11-27 11:24 Amit kumar
  2017-11-27 14:01 ` Yao, Jiewen
  2017-11-27 15:58 ` Andrew Fish
  0 siblings, 2 replies; 3+ messages in thread
From: Amit kumar @ 2017-11-27 11:24 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

Hi.
I am trying to allocate a mem buffer above 4Gb address but the allocation
since i am unable to locate EdkiiIoMmuProtocol.

Status = gBS->LocateProtocol (&gEdkiiIoMmuProtocolGuid, NULL, (VOID **)&mIoMmuProtocol);
      Status = mIoMmuProtocol->AllocateBuffer (
                   mIoMmuProtocol,
                   MaxAllocateType,
                   EfiBootServicesData,
                   1,
                  HostAddress,
                  EDKII_IOMMU_ATTRIBUTE_DUAL_ADDRESS_CYCLE
                  );


can somebody tell me the right way to do it. ?


Best Regards
Amit Kumar



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-27 15:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-27 11:24 Unable to Loacte EdkiiIoMmuProtocol Amit kumar
2017-11-27 14:01 ` Yao, Jiewen
2017-11-27 15:58 ` Andrew Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox