public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Accessing memory above 0xFFFFFFFF limit.
@ 2017-11-27 12:20 Amit kumar
  2017-11-27 15:34 ` Laszlo Ersek
  0 siblings, 1 reply; 2+ messages in thread
From: Amit kumar @ 2017-11-27 12:20 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
                  );

Best Regards
Amit Kumar



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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-27 12:20 Accessing memory above 0xFFFFFFFF limit Amit kumar
2017-11-27 15:34 ` Laszlo Ersek

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