summaryrefslogtreecommitdiffstats
path: root/Nt32Pkg
Commit message (Collapse)AuthorAgeFilesLines
* Change the type of NotifyHandle from EFI_HANDLE to VOID * for SimpleTextInEx ↵niruiyu2012-07-302-8/+6
| | | | | | | | | | | protocol. Clean up the code to remove unnecessary NotifyHandle in the private data structure. Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com> Reviewed-by: Elvin Li<elvin.li@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13565 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed build failed.ydong102012-05-311-1/+1
| | | | | | Signed-off-by: Eric Dong <eric.dong@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13406 6f19259b-4bc3-4df7-8a09-765794883524
* Add new interface GetVariable2 and GetEfiGlobalVariable2 to return more ↵ydong102012-05-301-2/+2
| | | | | | | | | info. Also replace old interface with new one. Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13375 6f19259b-4bc3-4df7-8a09-765794883524
* Remove the check of signature because the code which looks for the input ↵niruiyu2012-05-241-5/+1
| | | | | | | | | | | NotifyHandle in the internal linked list is enough. Enhance ConSplitter to register hot keys for new connected consoles. Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13358 6f19259b-4bc3-4df7-8a09-765794883524
* Add logic to validate variable before use it.ydong102012-05-181-1/+48
| | | | | | | | | Signed-off-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Jiewen Yao <jiewen,yao@intel.com> Reviewed-by: Michael D. Kinney <michael.d.kinney@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13323 6f19259b-4bc3-4df7-8a09-765794883524
* Update copyright formathhtian2012-04-241-3/+1
| | | | | | Signed-off-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13213 6f19259b-4bc3-4df7-8a09-765794883524
* Add missing secure boot build optionhhtian2012-04-161-0/+2
| | | | | | Signed-off-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13196 6f19259b-4bc3-4df7-8a09-765794883524
* EDK II Packages: Add Contributions.txt and License.txt filesjljusten2012-04-112-0/+215
| | | | | | | | | | | | | Contributions.txt documents the contribution process for all tianocore projects. The conents of Contributions.txt should match in all cases. License.txt is a per-project document showing the license terms used by that project. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13187 6f19259b-4bc3-4df7-8a09-765794883524
* Nt32Pkg: Add Secure Boot build option including Custom Mode setupleegrosenbaum2012-04-114-1/+142
| | | | | | | | | | If –D SECURE_BOOT_ENABLE is specified with the build command, Secure Boot support is enabled including custom mode setup. This allows Secure Boot to be configured through setup allowing Nt32Pkg to be a fully functional Secure Boot reference platforms. Signed-off-by: lee.g.rosenbaum@intel.com Reviewed-by: jiewen.yao@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13186 6f19259b-4bc3-4df7-8a09-765794883524
* Updated platform DSC files to add CPU Exception Library instances.vanjeff2012-03-151-1/+2
| | | | | | | | Signed-off-by: vanjeff Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13100 6f19259b-4bc3-4df7-8a09-765794883524
* Override the base address to make LoadLibraryEx success in WIN7 SP1 OS.ydong102012-03-081-1/+1
| | | | | | | Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13088 6f19259b-4bc3-4df7-8a09-765794883524
* Enable write file to USB from Shell in Win7 OSydong102012-02-151-1/+16
| | | | | | | Signed-off-by: ydong10 Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13013 6f19259b-4bc3-4df7-8a09-765794883524
* Append double-null for Type 19 data record.lzeng142012-02-031-3/+2
| | | | | | | Signed-off-by: lzeng14 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12983 6f19259b-4bc3-4df7-8a09-765794883524
* Add Missing invocations to VA_END() for VA_START().rsun32012-02-012-7/+5
| | | | | | | Signed-off-by: rsun3 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12979 6f19259b-4bc3-4df7-8a09-765794883524
* Update the Package version.niruiyu2011-12-132-2/+2
| | | | | | | Signed-off-by: niruiyu Reviewed-by: hhtian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12841 6f19259b-4bc3-4df7-8a09-765794883524
* Update console mode setup to use PcdSetupConOutColumn and PcdSetupConOutRow ↵li-elvin2011-11-241-2/+2
| | | | | | | | | | which are specially for BIOS setup. Signed-off-by: li-elvin Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12771 6f19259b-4bc3-4df7-8a09-765794883524
* According to PI errata 0000654 and 000811, we need use 0xFFFE to instead of ↵lzeng142011-11-2115-108/+87
| | | | | | | | | 0 for EFI_SMBIOS_PROTOCOL.Add() SmbiosHandle parameter to assign a unique handle to the SMBIOS record, and for EFI_SMBIOS_PROTOCOL.GetNext() SmbiosHandle parameter to get the first matched SMBIOS handle or indicate no more SMBIOS record. Signed-off-by: lzeng14 Reviewed-by: li-elvin git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12751 6f19259b-4bc3-4df7-8a09-765794883524
* Correct the code to use SIZE_OF_EFI_FILE_INFO instead of sizeof ↵niruiyu2011-11-171-2/+2
| | | | | | | | | (EFI_FILE_INFO) to fix a bug when creating a file/directory with single char as file name in root directory. Signed-off-by: niruiyu Reviewed-by: jcarsey git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12728 6f19259b-4bc3-4df7-8a09-765794883524
* Fix a bug which cause a CRTL, ALT, or SHIFT is pressed on the GOP console ↵qianouyang2011-10-261-5/+3
| | | | | | | | | | | for NT32, it inserts a ' 'character character. Root cause is that the parameter of UnicodeStr doesn’t initialize. Signed-off-by: qianouyang Reviewed-by: niruiyu git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12575 6f19259b-4bc3-4df7-8a09-765794883524
* Change the SimpleTextInEx implementation to return CTRL+C when CTRL and C ↵niruiyu2011-10-251-10/+10
| | | | | | | | | are both pressed; SimpleTextIn implementation still returns CTRL+3. Signed-off-by: niruiyu Reviewed-by: qianouyang git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12564 6f19259b-4bc3-4df7-8a09-765794883524
* Enable the SE_TIME_ZONE_NAME privilege for NT32 to fix SetTime function test ↵niruiyu2011-10-243-5/+22
| | | | | | | | | | | running in Win7 Fix the GetTime implementation to return the correct Daylight value. Signed-off-by: niruiyu Reviewed-by: erictian git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12559 6f19259b-4bc3-4df7-8a09-765794883524
* Avoid using code name in comments.niruiyu2011-10-191-4/+4
| | | | | | | Signed-off-by: niruiyu Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12551 6f19259b-4bc3-4df7-8a09-765794883524
* 1. Add Partial Keystroke Support in Nt32 WinNTGopDxe driver. See the ↵qianouyang2011-09-303-240/+343
| | | | | | | | | | | | Uefi2.3.1a chapter 11.2 2. Fix the bug of "NT32 Keyboard driver don't support the ALT+ValueKey". Signed-off-by: qianouyang Reviewed-by: niruiyu vanjeff git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12496 6f19259b-4bc3-4df7-8a09-765794883524
* Clean up invalid keywords and missing keywords in [Define] section of ↵lzeng142011-06-282-2/+4
| | | | | | | | | | INF/DEC files. Signed-off-by: lzeng14 Reviewed-by: lhauch Reviewed-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11906 6f19259b-4bc3-4df7-8a09-765794883524
* Fix ICC build issuesmdkinney2011-06-093-14/+16
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11773 6f19259b-4bc3-4df7-8a09-765794883524
* Fix the bug that WinNtBlockIo fails to properly allocate a buffer.niruiyu2011-05-311-2/+2
| | | | | | | 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
* Order sections as [Defines], [Includes], [LibraryClasses], [Guids], [Ppis], ↵lzeng142011-05-201-6/+6
| | | | | | | | | [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
* Return scan code for Pause key.vanjeff2011-05-161-0/+1
| | | | | | | 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
* Clean up DEC files:mdkinney2011-05-091-35/+1
| | | | | | | | | | | | 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
* Fix DEC files so any PCD declared as Dynamic is also declared as DynamicExmdkinney2011-05-051-15/+12
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11626 6f19259b-4bc3-4df7-8a09-765794883524
* Fix NT32 Keyboard driver to call hotkey callback even no one is calling ↵niruiyu2011-04-193-105/+211
| | | | | | ReadKeyStroke(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11561 6f19259b-4bc3-4df7-8a09-765794883524
* Set EXECUTE flags in so RELEASE builds can tun correctly.mdkinney2011-04-111-3/+3
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11516 6f19259b-4bc3-4df7-8a09-765794883524
* Add right PCD Library instance mappinghhtian2011-03-261-1/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11442 6f19259b-4bc3-4df7-8a09-765794883524
* Add PCD Library instance mapping for GraphicsConsole driver.rsun32011-03-241-1/+4
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11418 6f19259b-4bc3-4df7-8a09-765794883524
* Add support for the GetTimerValue() to the CPU AP for NT32. This also ↵mdkinney2011-03-165-14/+53
| | | | | | 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
* Changed TEMPORARY_RAM_SUPPORT_PPI to EFI_PEI_TEMPORARY_RAM_SUPPORT_PPI.vanjeff2011-03-141-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11385 6f19259b-4bc3-4df7-8a09-765794883524
* Update DebugLib to provide support for "err" command in the EFI Shell to ↵mdkinney2011-03-101-1/+3
| | | | | | | | | | | 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
* Correct incoming buffer size comparison to the incoming buffer, not the ↵jcarsey2011-03-041-2/+2
| | | | | | existing buffer. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11344 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed a bug: when underlayer receives much more data, return ↵hhuan132010-12-081-1/+4
| | | | | | EFI_BUFFER_TOO_SMALL. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11132 6f19259b-4bc3-4df7-8a09-765794883524
* Fix ICC 9.1 build breakmdkinney2010-11-291-3/+10
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11103 6f19259b-4bc3-4df7-8a09-765794883524
* Set PcdResetOnMemoryTypeInformationChange to FALSE in NT32 to avoid close ↵niruiyu2010-11-251-0/+1
| | | | | | down in the first start up. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11090 6f19259b-4bc3-4df7-8a09-765794883524
* Use the correct length to copy KeyData.niruiyu2010-10-211-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10965 6f19259b-4bc3-4df7-8a09-765794883524
* Refile code to make code following the UEFI spec.ydong102010-10-151-1/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10942 6f19259b-4bc3-4df7-8a09-765794883524
* Fixed update file time error problem.ydong102010-10-093-2/+37
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10913 6f19259b-4bc3-4df7-8a09-765794883524
* Enlarge the maximum size of VOID* typed PCD to ensure it is greater or equal ↵qhuang82010-08-311-6/+6
| | | | | | to the actual size of data. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10845 6f19259b-4bc3-4df7-8a09-765794883524
* Change DxeNt32PeCoffExtraActionLib to not depend on the library constructor ↵niruiyu2010-08-062-12/+6
| | | | | | 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
* Make PeCoffExtraActionLib more robust, in case it is called before its ↵andrewfish2010-08-051-0/+7
| | | | | | 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
* Report correct MediaPresentSupported value from Nt32 SNP mode data.xdu22010-07-021-2/+2
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10620 6f19259b-4bc3-4df7-8a09-765794883524
* Update NT32 to produce the gEfiMemoryTypeInformation HOBmdkinney2010-06-142-3/+63
| | | | git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10582 6f19259b-4bc3-4df7-8a09-765794883524
* Update NT32 BDS Library to call GenericBdsLib function to save ↵mdkinney2010-06-141-0/+1
| | | | | | gEfiMemoryTypeInformation git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10581 6f19259b-4bc3-4df7-8a09-765794883524