Commit Graph

530 Commits

Author SHA1 Message Date
niruiyu 283d361e98 Fix the bug that WinNtBlockIo fails to properly allocate a buffer.
Signed-off-by: niruiyu
Reviewed-by: ydong10

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11717 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-31 05:56:20 +00:00
lzeng14 d7bc435d82 Order sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic] and [PcdsDynamicEx].
Signed-off-by: lzeng14
Reviewed-by: lgao4

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11684 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-20 02:21:35 +00:00
vanjeff 4c891546c8 Return scan code for Pause key.
Signed-off-by: vanjeff
Reviewed-by: niruiyu

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11658 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-16 02:04:16 +00:00
mdkinney 99df328c72 Clean up DEC files:
1) Remove section header comment blocks that do not provide any information
2) Combine PCDs listed in multiple sections into a single section that supports multiple PCD types to reduce maintenance overhead
3) Remove ModuleTypeList comments from [Includes], [Protocols], [Ppis], and [Guids] sections that do not properly describe the module type restrictions.
4) Clean up formatting of GUID structure declarations
5) Remove ".common" from section names if they are not required.
6) Order sections consistently as [Defines], [Includes], [LibraryClasses], [Guid], [Ppis], [Protocols], [PcdsFeatureFlag], [PcdsFixedAtBuild], [PcdsPatchableInModule], [PcdsDynamic], and [PcdsDynamicEx]


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11631 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-09 17:49:59 +00:00
mdkinney 58f8069039 Fix DEC files so any PCD declared as Dynamic is also declared as DynamicEx
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11626 6f19259b-4bc3-4df7-8a09-765794883524
2011-05-05 16:16:00 +00:00
niruiyu 66fe714632 Fix NT32 Keyboard driver to call hotkey callback even no one is calling ReadKeyStroke().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11561 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-19 06:46:55 +00:00
mdkinney 75e55c54be Set EXECUTE flags in so RELEASE builds can tun correctly.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11516 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-11 00:13:56 +00:00
hhtian 0929b78a39 Add right PCD Library instance mapping
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11442 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-26 05:53:59 +00:00
rsun3 9531873c8d Add PCD Library instance mapping for GraphicsConsole driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11418 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-24 11:05:27 +00:00
mdkinney 831ff057d7 Add support for the GetTimerValue() to the CPU AP for NT32. This also requires some performance counter APIs to be added to the WinNtThunk Protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11403 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-16 00:38:17 +00:00
vanjeff d0a3ead235 Changed TEMPORARY_RAM_SUPPORT_PPI to EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11385 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-14 02:03:35 +00:00
mdkinney 48fff860a9 Update DebugLib to provide support for "err" command in the EFI Shell to adjust the filter mask for DEBUG() messages. The "err" command provide the ability to adjust this filter mask at a global level through an EFI Variable and at the module level through a the Debug Mask Protocol. In order to support the degree of flexibility, the DebugLib needs to use library to abstract the get/set operations to the filter mask.
1) Add default mappings for the DebugPrintErrorLevelLib to the DSC file for this package.




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11367 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-10 22:19:15 +00:00
jcarsey b80022da3b Correct incoming buffer size comparison to the incoming buffer, not the existing buffer.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11344 6f19259b-4bc3-4df7-8a09-765794883524
2011-03-04 16:22:15 +00:00
hhuan13 aaf779a7ec Fixed a bug: when underlayer receives much more data, return EFI_BUFFER_TOO_SMALL.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11132 6f19259b-4bc3-4df7-8a09-765794883524
2010-12-08 04:42:40 +00:00
mdkinney e74c3676e6 Fix ICC 9.1 build break
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11103 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-29 21:52:24 +00:00
niruiyu 963b62ee23 Set PcdResetOnMemoryTypeInformationChange to FALSE in NT32 to avoid close down in the first start up.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11090 6f19259b-4bc3-4df7-8a09-765794883524
2010-11-25 02:00:29 +00:00
niruiyu 5b313781be Use the correct length to copy KeyData.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10965 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-21 01:49:05 +00:00
ydong10 41e9426b3f Refile code to make code following the UEFI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10942 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-15 06:50:55 +00:00
ydong10 f515069c19 Fixed update file time error problem.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10913 6f19259b-4bc3-4df7-8a09-765794883524
2010-10-09 02:46:37 +00:00
qhuang8 e527bd203a Enlarge the maximum size of VOID* typed PCD to ensure it is greater or equal to the actual size of data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10845 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-31 00:37:16 +00:00
niruiyu 1a2ae0f71f Change DxeNt32PeCoffExtraActionLib to not depend on the library constructor to initialize mWinNt pointer because DxeCore calls the library API before it calls the constructor.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10776 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-06 01:20:17 +00:00
andrewfish 21ff163c8c Make PeCoffExtraActionLib more robust, in case it is called before its constructor gets called. This fixes a crash in TOT.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10775 6f19259b-4bc3-4df7-8a09-765794883524
2010-08-05 20:03:44 +00:00
xdu2 7ee525b2c1 Report correct MediaPresentSupported value from Nt32 SNP mode data.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10620 6f19259b-4bc3-4df7-8a09-765794883524
2010-07-02 03:27:51 +00:00
mdkinney 57b3102955 Update NT32 to produce the gEfiMemoryTypeInformation HOB
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10582 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-14 23:29:06 +00:00
mdkinney ea3cfce6a5 Update NT32 BDS Library to call GenericBdsLib function to save gEfiMemoryTypeInformation
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10581 6f19259b-4bc3-4df7-8a09-765794883524
2010-06-14 23:28:21 +00:00
hhtian 8f2a5f8012 Update the copyright notice format
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10436 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-28 12:24:39 +00:00
lgao4 663ef02094 Remove Framework DataHubDxe and DataHubStdErrDxe drivers from EDKII native PI/UEFI NT32 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10393 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-22 02:49:28 +00:00
niruiyu ff72001b5b Nt32SerialIo driver was changed to produce the flow control device path node when the remaining device path contains such node. And it will return unsupported when receiving a remaining device path only contains UART node and it’s already produced the flow control node.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10352 6f19259b-4bc3-4df7-8a09-765794883524
2010-04-09 08:38:23 +00:00
mdkinney 5b368e7d6c Fix ICC build failures
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10324 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-31 19:20:14 +00:00
lgao4 7cc9c45285 Clean up Nt32Pkg and DuetPkg DSCs to move common used library instance to Common [LibraryClasses] section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10300 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-21 13:14:27 +00:00
lgao4 5fa30855df Clean up PCDs section in Nt32 DSCs by removing those PCDs that use the default values/types from the DEC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10242 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-14 09:53:45 +00:00
xdu2 1b14ec40bb Add VlanConfigDxe to platform DSC/FDF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10170 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 10:47:27 +00:00
xli24 8cc7e3e396 Remove over-specified dependencies on IntelFrameworkPkg and IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10160 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-03 03:27:21 +00:00
lgao4 2014a81a99 Add the missing OUTPUT directory for the EFI and depex file in Rule section.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10135 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 06:47:58 +00:00
lgao4 a0b1646f55 Clean up Rules of Platform FDFs to apply only one EFI image and Depex for each driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10127 6f19259b-4bc3-4df7-8a09-765794883524
2010-03-01 01:39:30 +00:00
vanjeff 53f79f86ab add debug agent null instance in DSC file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10100 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-26 05:48:07 +00:00
klu2 0b757975ef Clean up EFI_SPECIFICATION_VERSION and PI_SPECIFICATION_VERSION.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10073 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-25 16:36:36 +00:00
lgao4 7b202cb0f9 1. Correct File header to ## @file
2. Remove unnecessary .common] postfix on section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10051 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-23 23:58:38 +00:00
mdkinney 70836cb60e Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVER
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10005 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14 06:20:06 +00:00
mdkinney 6635217350 Update PeCoffExtraActionLib for NT32 to allow an app or driver to be loaded more than once. Only the first instance will support source level debug.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9983 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11 04:32:34 +00:00
qhuang8 a3deae0da3 Fix the build warning of potential uninitialized variable of "SizeOfHeaders".
Update the file to use \r\n as end of line
 


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9899 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-01 12:58:52 +00:00
mdkinney f7c58a94cf Remove unnecessary use of FixedPcdxxx() functions and [FixedPcd] INF sections. These should only be used for PCDs that are used to pre-init global variables, pre-init global structures, or size arrays.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9865 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-29 23:30:55 +00:00
AJFISH 225290eba7 Added new PeCoffGetEntryPoint lib function to get size of PE/COFF header. This is needed for debug prints with PE/COFF images that started as ELF or Mach-O. Moved and debugged ARM semihosting lib for RVD that prints out the debugger symbol load commands in a window on the debugger. Trying to write a script file, but that crashes RVD. Added debug print to BeagleBoard Sec that prints out RVD debugger command to load symbols for the Sec. Synced the rest of the code.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9763 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 23:39:29 +00:00
xli24 9c1d98d822 Fix parameter checking for CPU I/O 2 Protocol on NT32 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9750 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-14 09:07:47 +00:00
qhuang8 49b3b3ab26 Don't calculate the directory size and the caller of EFI_FILE protocol can calculate that for better UI.
The enhancement algorithm to calculate directory size (Edk r2583) is incorrect because SetPosition() does not allow other arguments other than 0, causing current file cursor is lost. 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9713 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-12 10:32:47 +00:00
klu2 ba82cb67d7 Implement the simulation version of StallPei for NT32 platform. It bases on window API Sleep().
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9663 6f19259b-4bc3-4df7-8a09-765794883524
2010-01-04 04:45:44 +00:00
xli24 6f7978c41a Refer to OEM status code hook library instances in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9640 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 09:35:34 +00:00
xli24 663ec9c096 Refer to status code library instances in MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9636 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-29 09:10:44 +00:00
xli24 164393a065 Move Status Code Handler modules for PI implementation to MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9611 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 07:29:33 +00:00
xli24 bef09f336e Remove status code modules' dependency on IntelFrameworkModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9606 6f19259b-4bc3-4df7-8a09-765794883524
2009-12-25 06:36:47 +00:00