-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create separate FrameBufferMemDrawLib inf for PEI and DXE (#373)
## Description Splitting inf's for PEI and DXE FrameBufferMemDrawLib to support building for 64bit PEIM. - [ ] Impacts functionality? - **Functionality** - Does the change ultimately impact how firmware functions? - Examples: Add a new library, publish a new PPI, update an algorithm, ... - [ ] Impacts security? - **Security** - Does the change have a direct security impact on an application, flow, or firmware? - Examples: Crypto algorithm change, buffer overflow fix, parameter validation improvement, ... - [x] Breaking change? - **Breaking change** - Will anyone consuming this change experience a break in build or boot behavior? Remove old inf path and add the separate PEI and DXE inf to DSC files. - [ ] Includes tests? - **Tests** - Does the change include any explicit test code? - Examples: Unit tests, integration tests, robot tests, ... - [ ] Includes documentation? - **Documentation** - Does the change contain explicit documentation additions outside direct code modifications (and comments)? - Examples: Update readme file, add feature readme file, link to documentation on an a separate Web page, ... ## How This Was Tested Verified platform packages consuming the library can build fine and FrameBufferDraw works as expected for PEI and DXE graphics. ## Integration Instructions Update dsc file to remove the old inf path and include separate PEI and DXE infs.
- Loading branch information
1 parent
c2e0410
commit 7309048
Showing
6 changed files
with
50 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
MsGraphicsPkg/Library/FrameBufferMemDrawLib/FrameBufferMemDrawLibPei.inf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
|
||
## @file | ||
# A library for drawing directly to the FrameBuffer memory region | ||
# | ||
# Copyright (C) Microsoft Corporation. All rights reserved. | ||
# SPDX-License-Identifier: BSD-2-Clause-Patent | ||
## | ||
|
||
|
||
[Defines] | ||
INF_VERSION = 0x00010017 | ||
BASE_NAME = FrameBufferMemDrawLibPei | ||
FILE_GUID = 23E999E3-B231-4076-8791-DA5151BB3DC4 | ||
VERSION_STRING = 1.0 | ||
MODULE_TYPE = PEIM | ||
LIBRARY_CLASS = FrameBufferMemDrawLib | ||
|
||
[LibraryClasses] | ||
DebugLib | ||
FrameBufferBltLib | ||
MemoryAllocationLib | ||
PeiServicesLib | ||
|
||
[Packages] | ||
MdePkg/MdePkg.dec | ||
MdeModulePkg/MdeModulePkg.dec | ||
MsGraphicsPkg/MsGraphicsPkg.dec | ||
|
||
[Sources] | ||
FrameBufferMemDrawLib.c | ||
FrameBufferMemDrawLibPeim.c | ||
FrameBufferMemDrawLib.h | ||
|
||
[Ppis] | ||
gEfiPeiGraphicsPpiGuid | ||
|
||
[Depex] | ||
gEfiPeiGraphicsPpiGuid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters