diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-28 07:39:24 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-28 07:39:24 +0000 |
commit | 391cdf43a2ce99292576c69ffaf4b6fea5f9b250 (patch) | |
tree | 561161f782dd2844f13447de67ef005d0adc0f7a /MdeModulePkg/Universal | |
parent | 0898c57ce7aedffa6b2e58541906045ddb184ad8 (diff) | |
download | edk2-platforms-391cdf43a2ce99292576c69ffaf4b6fea5f9b250.tar.xz |
Remove the non-standard definition: GLYPH_WIDTH and GLYPH_HEIGHT. All reference to these name should use the standard name defined in UEFI 2.1 specification which are EFI_GLYPH_WIDTH and EFI_GLYPH_HEIGHT
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5138 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r-- | MdeModulePkg/Universal/BdsDxe/MemoryTest.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/MemoryTest.c b/MdeModulePkg/Universal/BdsDxe/MemoryTest.c index 09d3ea3339..f9396981cb 100644 --- a/MdeModulePkg/Universal/BdsDxe/MemoryTest.c +++ b/MdeModulePkg/Universal/BdsDxe/MemoryTest.c @@ -127,9 +127,9 @@ Returns: 0,
0,
0,
- PosY - GLYPH_HEIGHT - 1,
+ PosY - EFI_GLYPH_HEIGHT - 1,
SizeOfX,
- SizeOfY - (PosY - GLYPH_HEIGHT - 1),
+ SizeOfY - (PosY - EFI_GLYPH_HEIGHT - 1),
SizeOfX * sizeof (EFI_GRAPHICS_OUTPUT_BLT_PIXEL)
);
} else if (FeaturePcdGet (PcdUgaConsumeSupport)) {
@@ -140,9 +140,9 @@ Returns: 0,
0,
0,
- PosY - GLYPH_HEIGHT - 1,
+ PosY - EFI_GLYPH_HEIGHT - 1,
SizeOfX,
- SizeOfY - (PosY - GLYPH_HEIGHT - 1),
+ SizeOfY - (PosY - EFI_GLYPH_HEIGHT - 1),
SizeOfX * sizeof (EFI_UGA_PIXEL)
);
} else {
@@ -186,8 +186,8 @@ Returns: }
PrintXY (
- (SizeOfX - StrLen (Title) * GLYPH_WIDTH) / 2,
- PosY - GLYPH_HEIGHT - 1,
+ (SizeOfX - StrLen (Title) * EFI_GLYPH_WIDTH) / 2,
+ PosY - EFI_GLYPH_HEIGHT - 1,
&TitleForeground,
&TitleBackground,
Title
|