From: "Yao, Jiewen" <jiewen.yao@intel.com>
To: Amit kumar <akamit91@hotmail.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: Unable to Loacte EdkiiIoMmuProtocol.
Date: Mon, 27 Nov 2017 14:01:22 +0000 [thread overview]
Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503AA2E730@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <DM5PR11MB15787E1B3DCFFBAB125AF2B2DC250@DM5PR11MB1578.namprd11.prod.outlook.com>
You need include a driver to produce gEdkiiIoMmuProtocolGuid.
One sample is IntelSiliconPkg\Feature\VTd\IntelVTdDxe
Thank you
Yao Jiewen
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Amit
> kumar
> Sent: Monday, November 27, 2017 7:24 PM
> To: edk2-devel@lists.01.org
> Subject: [edk2] Unable to Loacte EdkiiIoMmuProtocol.
>
> 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
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
next prev parent reply other threads:[~2017-11-27 13:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-27 11:24 Unable to Loacte EdkiiIoMmuProtocol Amit kumar
2017-11-27 14:01 ` Yao, Jiewen [this message]
2017-11-27 15:58 ` Andrew Fish
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=74D8A39837DF1E4DA445A8C0B3885C503AA2E730@shsmsx102.ccr.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox