public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Gao, Liming" <liming.gao@intel.com>
To: "Tomas Pilar (tpilar)" <tpilar@solarflare.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: Reusing DXE driver code in edk2 packages
Date: Wed, 17 May 2017 14:31:57 +0000	[thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D7300E8@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <1bdfe843-f708-2523-474f-0e0fa33771db@solarflare.com>

Tom:
  Your request is to combine two drivers into one. This is not supported in BaseTools. Now, you have to copy the cod logic from TimestampDxe to your UEFI driver to install gEfiTimestampProtocolGuid.

  If you want to this support, you can specify this request in https://bugzilla.tianocore.org/ 

Thanks
Liming
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Tomas Pilar (tpilar)
> Sent: Wednesday, May 17, 2017 10:19 PM
> To: edk2-devel@lists.01.org
> Subject: [edk2] Reusing DXE driver code in edk2 packages
> 
> Hi,
> 
> I want to use timestamping in my optionrom UEFI driver so I checkout the
> Timestamp protocol that comes in UEFI 2.5. I check my platform for
> gEfiTimestampProtocolGuid using gBS->LocateProtocol but that comes up
> empty.
> 
> In EDK2 I notice MdeModulePkg/Universal/TimestampDxe which is a DXE
> driver that uses TimerLib to produce timestamps. How would I use this in
> my driver? Can I just stick the TimestampDxe.inf as a library to
> [LibraryClasses] in my package DSC file?
> 
> Cheers,
> Tom
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


  reply	other threads:[~2017-05-17 14:36 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-17 14:18 Reusing DXE driver code in edk2 packages Tomas Pilar (tpilar)
2017-05-17 14:31 ` Gao, Liming [this message]
2017-05-17 14:44 ` Sergei Temerkhanov
2017-05-17 15:41   ` Kinney, Michael D

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=4A89E2EF3DFEDB4C8BFDE51014F606A14D7300E8@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