public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* LocalApicLib: Why two separate directories?
@ 2016-10-28 19:03 Duran, Leo
  2016-10-28 19:22 ` Laszlo Ersek
  2016-10-28 19:28 ` Kinney, Michael D
  0 siblings, 2 replies; 6+ messages in thread
From: Duran, Leo @ 2016-10-28 19:03 UTC (permalink / raw)
  To: edk2-devel@ml01.01.org
  Cc: michael.d.kinney@intel.com, jeff.fan@intel.com,
	liming.gao@intel.com, 'Laszlo Ersek'

All,
Just a quick observation to request comments:

Since a lot of the code in BaseXApicX2ApicLib.c and BaseXApicLib is the same, how about we merge the common code and build the libraries from the same directory?

UefiCpuPkg/Library/LocalApilLib/
- LocalApicLib.c --> common code
- BaseXApicLib.c --> legacy APIC code
- BaseXApicX2ApicLib.c --> X2APIC code
- BaseXApicLib.inf -> builds from LocalApicLib.c + BaseXApicLib.c
- BaseXApicX2ApicLib.inf -> builds from LocalApicLib.c + BaseXApicX2ApicLib.c

Of course, doing this would require modification to existing .DSC files, to point to the appropriate .INF under the merged LocalApicLib directory.
Would that be too disruptive?

Leo.







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

end of thread, other threads:[~2016-10-28 19:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-28 19:03 LocalApicLib: Why two separate directories? Duran, Leo
2016-10-28 19:22 ` Laszlo Ersek
2016-10-28 19:31   ` Duran, Leo
2016-10-28 19:28 ` Kinney, Michael D
2016-10-28 19:36   ` Duran, Leo
2016-10-28 19:40   ` Laszlo Ersek

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