Commit Graph

111 Commits

Author SHA1 Message Date
klu2 38ee8d9e66 Change the macro for dynamicEx type PCD and modify autogen tools to auto generate TokenSpaceGuid. After modification, you can use two method access DynamicPCD,
1) PcdGet8/PcdGet32/... to get a value of DynamicEx PCD, same as PcdSetxx
2) PcdGet8Ex/PcdGet32Ex to get a value of DynamicEx PCD, same as PcdSetxxEx.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@549 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-17 09:57:06 +00:00
lgao4 92b34fde25 Rool Back this modification to enable gcc Build.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@544 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 16:45:27 +00:00
bxing 6fe251ad5c Updated CpuFlushCacheLine() to return the address flushed.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@535 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-16 07:02:23 +00:00
bxing ae603c64c2 Thunk16.asm's can use constants defined in BaseLib.h now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@525 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-15 10:25:17 +00:00
yshang1 1ee3e26b94 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@520 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-15 02:54:27 +00:00
bbahnsen 508daae71b Fix an assembler warning.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@514 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-14 15:37:59 +00:00
bbahnsen a68d14777e This was only used by GenFvImage tool, so it can be removed now.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@513 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-14 15:14:46 +00:00
klu2 21e9050f03 Add <TokenSpaceGuid> for all PCD entry in FPD file
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@506 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-14 02:35:56 +00:00
bbahnsen 3786747740 Prepend underscores to procedure identifiers.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@501 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13 16:09:27 +00:00
bbahnsen 09e91c8e30 Sync SetMem64 with MASM version.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@500 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13 16:06:40 +00:00
qhuang8 8960cdebac BaseMemoryLib (BaseMemoryLibRepStr):
Fix a logic error in SetMem64 (); The correct stride should be 8 instead of 4.
	BasePrintLib:
	Fix Printf(“%\n”) passer error.
	Fix BufferSize = 0, 1 issue
	Fix some missing ASSERT ()s
	Move MAXIMUM_VALUE_CHARACTERS from PrintLibInternal.h to PrintLib.h
	ReportStatusCodeLib:
	Add CONST modifier to some interfaces
	Modify 
	DebugLib:
	Replace some Unicode in comments.
	PeiServicesTablePointerLib
	Add ASSERT()s
	PciLib:
	Remove unnecessary ASSERT()s in PciRead/WriteBuffer()


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@496 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-13 06:31:11 +00:00
bbahnsen ec8547f6ef Fixes for gcc assembly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@485 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12 17:11:17 +00:00
klu2 95945c7635 Transfer old <PCDs> in MSA to <PcdCoded>:
1) Add <PcdCoded> definition for library module SA in transition schema.
2) Add <PcdCoded> in all MSA instead of original <PCDs>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@484 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12 15:11:33 +00:00
klu2 6ff7a41cb8 Modify PCD tool according to final PCD schema modification.
1) Change code of PCD tools.
2) Update all FPD file.
3) Fix some bugs in FPD for wrong DatumSize.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@481 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-12 07:57:04 +00:00
lhauch 401693ff43 Removed create/modified/update data, PacakgeType from headers, added HexWordArrayType for VariableName list, the definition accepts the following: 0x000A, 0x000b, 0x00AF or 0x000A 0x000b 0x00AF or 0x000A,0x000b,0x00AF NOTE: LEADING ZERO characters are REQUIRED!
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@473 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 20:29:18 +00:00
qwang12 2a505eac61 1) Sync PcdPpi guid with PCD arch spec.
2) Correct macro PatchPcdSetPtr


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@469 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 12:03:36 +00:00
bxing e65e8d103d 1. Updated PalCallStatic.s in BaseCacheMaintenanceLib
2. Updated PalCallStatic.s in BaseTimerLibLocalApic

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@467 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 10:13:05 +00:00
bxing 15176e0556 Fixed mistyping in Ia32/LongJump.asm and X64/LongJump.asm
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@466 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 09:57:35 +00:00
bxing dee4740abe 1. Added AsmCpuidEx() to BaseLib
2. Added DecimalToBcd8() and BcdToDecimal8() to String.c

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@465 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 09:37:12 +00:00
bxing 4cbd217532 1. Updated SetJump() and LongJump() for IPF
2. Added assertion for SetJump() for all architectures
3. Added CpuSleep() for IPF

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@464 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-10 07:16:11 +00:00
qhuang8 a28984d905 1. Rename PeiCoreLib to PeiServicesLib and rename all the interfaces from PeiCoreXXX() to PeiServicesXXX().
2. Remove PostCode interfaces from ReportStatusCodeLib


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@442 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-08 03:38:14 +00:00
qhuang8 84a99d48f4 1. Rename PeiCoreLib to PeiServicesLib and rename all the interfaces from PeiCoreXXX() to PeiServicesXXX().
2. Remove PostCode interfaces from ReportStatusCodeLib


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@441 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-08 03:36:57 +00:00
qhuang8 533f039eb0 BaseMemoryLib:
Correct wrong ASSERT()s on SetMem16(), SetMem32(), SetMem64()
HobLib:
Add Missing ASSERT()s for BuildGuidHobData() since CopyMem() now allow zero source buffer with length > 0.
BasePrintLib
Add ASSERT()s to check NULL buffer and NULL format.
PostCodeLib
Add 3 instances of PostCodeLib and introduce new Pcd for post code property mask.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@438 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-07 15:38:52 +00:00
qwang12 8a43e8dd55 Sync Pcd Service Driver, PEIM and library with MDE Spec 0.55a.
1) change all PCD_TOKEN_NUMBER to UINTN
2) change all SKU_ID to UINTN

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@437 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-07 12:31:33 +00:00
alfred 72df7b0fc1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@427 6f19259b-4bc3-4df7-8a09-765794883524 2006-06-06 06:27:01 +00:00
qhuang8 9a462b415d UefiLib:
Add two new interfaces of EfiCreateEventLegacyBootEx & EfiCreateEventReadyToBootEx
Fix a bug in EfiCreateEventLegacyBoot & EfiCreateEventReadyToBoot. (#51)
PciLib:
Add missing ASSERT()s in PciReadBuffer() & PciWriteBuffer() (#70)
IoLib
Add ASSERT()s to check alignment.
MemoryAllocationLib:
For AllocateXXXCopyBuffer(). Add ASSERT()s for cases when allocations fails.
BaseLib:
Change the return type of InternalMathModU64x32 from UINT64 to UINT32


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@416 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04 13:08:25 +00:00
klu2 8840ad589e PCD tools update:
1) CollectPCDAction will get all PCD information from FPD file but *not* search SPD and MSA file.
2) ALL PcdBuildDeclaration in FPD file has been moved from common <PcdBuildDeclaration> to seperated module's <PcdBuildDeclaration>. Common <PcdBuildDeclaration> was removed from FPD file.
3) The platform information for Dyanmic and DynamicEx type PCD should be record into <PcdDynamicBuildDeclaration> now.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@415 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04 10:00:41 +00:00
lhauch 0850ca3b8c Updated the FPD and SPD files to newer schema formats. Also updated a couple of items in the XML Schema (added a new element)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@412 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-04 06:09:14 +00:00
mdkinney 1d580c1447 1) Add support for %p to print pointers
2) Fix %d,%x,%X to pull values off the vararg stack using (int) and (unsigned int) types to resolve compatibility issues with X64


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@408 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-03 21:51:12 +00:00
vanjeff 717841f1d6 sync with MdePkg.fpd to add PcdPciExpressBaseAddress
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@395 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 08:53:53 +00:00
vanjeff 7d7c2b4640 Deleted x64\SwitchStack.c Ipf/SwitchStack.c.
Added SwitchStack.c in Baselib\
Rename Ia32/SwitchStack.c to Ia32/InternalSwitchStack.c
Changed _SwitchStack() into InternalSwitchStack() in SwitchStack.asm and SwitchStack.s
Fixed one bug in LinkedList.c, that List length couldn't up to PcdMaximumLinkedListLength. 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@394 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 07:58:31 +00:00
vanjeff 6fc80a45b5 Removed file/folder
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@393 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 07:51:47 +00:00
vanjeff 317066baf9 Removed file/folder
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@392 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 07:51:15 +00:00
vanjeff 692ad74b77 Removed file/folder
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@391 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 07:50:05 +00:00
qwang12 3496595d7b Make sure the PCD dxe service driver can handle the case where no PEIM is using any dynamic PCD entry and the PEI phase PCD database is empty.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@388 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-02 05:28:18 +00:00
klu2 0950e6cdc9 Add <FrameworkModules> in EdkModulePkg-All-Archs.fpd and MdePkg-All-Archs.fpd file for future updated PCD tools according to transition schema.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@372 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 18:23:03 +00:00
klu2 9f3a4be8ab Modify fpd file according to transition schema. Before PCD tools updated, all information in fpd file should be correct.
1) Add <FrameworkModules> element in FPD
2) Add all PCD entried for all modules in <FrameworkModules>



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@364 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 09:50:37 +00:00
vanjeff 52166c09d6 Added function declaration
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@362 6f19259b-4bc3-4df7-8a09-765794883524
2006-06-01 02:13:30 +00:00
vanjeff d17412e3e7 Created as one wrapper
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@352 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 09:40:46 +00:00
vanjeff 25af9f3043 Created as one wrapper for SwitchStack.c to add assert()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@351 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 09:27:13 +00:00
vanjeff 3f9f540dac add function header
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@350 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:56:42 +00:00
vanjeff 86d9a2e25e Changed SwitchStack() to _SwitchStack()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@349 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:54:07 +00:00
vanjeff 6586cdf395 Changed LongJump() to _LongJump()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@348 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:53:35 +00:00
vanjeff 493b974b1b Created as wrapper for SwitchStack() to add assert()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@347 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:52:54 +00:00
vanjeff b48638214f Changed SwitchStack() to _SwitchStack()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@346 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:52:04 +00:00
vanjeff 81d5a316ad Changed LongJump() to _LongJump()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@345 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:51:26 +00:00
vanjeff e513625f22 change LongJump() to _LongJump()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@344 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:50:43 +00:00
vanjeff c39b1ee3cd Move SetJumpLongJump.c and SwitchStack,c into ebc sub directory.
Add LongJump.c as wrapper to add assert()

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@343 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:49:32 +00:00
vanjeff 6edd7697ec Fixed one bug of WriteUnaligned24()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@342 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:46:41 +00:00
vanjeff 94e68c3e10 Created as one wrapper for LongJump(), to added assert() function
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@341 6f19259b-4bc3-4df7-8a09-765794883524
2006-05-31 08:45:29 +00:00