summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-02-15Cleanup SerailIO drivers to have a device path and use PCD settings for ↵andrewfish
various stuff. Also clean up a few coding convention items. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10009 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-15Remove SMM_CORE as a supported module type for the MemoryAllocationLib ↵mdkinney
instance that uses UEFI Boot Services git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10008 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVERmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10007 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVERmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10006 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVERmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10005 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVERmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10004 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVERmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10003 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVERmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10002 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14Add Memory Allocation Library instance for modules of type DXE_SMM_DRIVERmdkinney
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10001 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-141) Remove dependency on the UEFI Boot Services Table Library so the gBS, ↵mdkinney
gST, and gImageHandle symbols will not be automatically linked into an SMM Driver that uses this library. 2) Remove redundant include of <PiDxe.h> 3) Clean up constructor to use InSmm() library function instead of duplicating logic. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10000 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14Remove constructor from this library. This library already has SMM CPU I/O ↵mdkinney
2 in its [Depex], so any module using this library will not be dispatched until the SMM CPU I/O 2 Protocol is installed into the SMM handle database and also copied into the SMM Services Table. The worker functions in this library have also been updated to simply use the instance of the SMM CPU I/O 2 Protocol that is present in the SMM Services Table. The dependency on the UEFI Boot Services Table Library has also been removed so the gBS, gST, and gImageHandle symbols will not be automatically linked into an SMM Driver that uses this library. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9999 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-14Use atomic AsmDisableCache() and AsmDisableCache() functions instead of ↵mdkinney
AsmWriteCr0() and AsmWbinvd() calls git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9998 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-13Update DXE Core to be compatible with PI 1.2 SMM Drivers.mdkinney
PI 1.2 SMM Drivers are allowed to call UEFI/DXE services and Protocols from the entry point of the PI 1.2 SMM Driver. These UEFI/DXE services and Protocols may directly or indirectly calls the UEFI Boot Services RaiseTPL() and RestoreTPL(). These UEFI Boot Services use the CPU Architectural Protocol to enable interrupts if the TPL level is below TPL_HIGH_LEVEL and enable interrupts of the TPL is at TPL_HIGH_LEVEL. Interrupts should be masked while executing SMM drivers, so if a direct or indirect call to the UEFI Boot Service RestoreTPL() would enable interrupts, then an interrupt could be incorrectly delivered in SMM context. The solution is for the DXE Core to register for the PI 1.2 SMM Base2 Protocol. If that protocol is present in the platform, then the DXE Core can use the SMM Base 2 Protocol's InSmm() function to determine if the platform is currently executing in SMM content. If the current context is in SMM, then do not allow any requests to be forwarded to the CPU Architecture Protocol to enable interrupts. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9997 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-12Fix help command scroll issue. Also add FV space used, and free space to dir ↵andrewfish
command. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9996 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-12Update UNDI driver to expose dynamic media detect capability.xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9995 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-12Update SnpDxe to support dynamic media detect.xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9994 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-12Add media status relative definition to UEFI PXE header file.xdu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9993 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-12Change UI for dir of FV to make it less confusing.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9992 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11Add support for Seeking on FV, and update the device syntax to support ↵andrewfish
specifying which section of the FV file you want to operate on, previously the only option was to operate on the Raw file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9991 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11Support HII VOID* dynamic/dynamicEx type PCD.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9990 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11Update HiiDataBase to make sure that the installed StringPackages contains ↵lgao4
the same number string ID. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9989 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11DUET BDS clean up.niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9988 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11To follow UEFI spec 2.3 chapter 3.4.1.1, add the ConnectSingleController for ↵niruiyu
removable media boot. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9987 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11The fix is for EFI Linux capsule test case can not run.li-elvin
It should use runtime library EfiSetVariable, gRT is not converted to virtual address which cause SetVariable failure in EFI Linux. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9986 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11GraphicsOutputBlt() need judge parameter klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9985 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11Fix the issue that unknown format FV in Fvhob is installed for FvInfoPpi ↵klu2
more than one time. The fixing is search dispatched Fv database and cached unknown Fv information for all Fv in FvHob, if Fv has been identified by PeiCore, then no need install FvInfoPpi for it again. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9984 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11Update PeCoffExtraActionLib for NT32 to allow an app or driver to be loaded ↵mdkinney
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-11Do not set gBS to NULL when the ExitBootServices event notification for the ↵mdkinney
UEFI Runtime Lib is executed. There is no guarantee that the ExitBootServices notification function from this lib will be the last ExitBootServices notification function registered by a module that uses the UEFI Runtime lib. If additional ExitBootServices notification functions require the use of gBS, then setting to NULL will break those additional ExitBootServices notification functions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9982 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11Pass the correct TokenNumber into a CallbackOnSet notification function. ↵mdkinney
The value being passed in was off by 1. This would not normally cause an issue because the correct notification function was being called. There is only an issue if the same notification function is being used for multiple tokens, and the notification function needs to use the TokenNumber parameter to determine which token setting caused the callback function to be called. Update the logic so the CallbackOnSet notification functions are not called with the internal PCD database lock in the acquired state. This allows other PCD Get/Set operations to be performed from within a CallbackOnSet notification. Update logic so the PCD database lock is not left in the acquired state when SetWorker() returns EFI_INVALID_PARAMETER. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9981 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11Pass the correct TokenNumber into a CallbackOnSet notification function. ↵mdkinney
The value being passed in was off by 1. This would not normally cause an issue because the correct notification function was being called. There is only an issue if the same notification function is being used for multiple tokens, and the notification function needs to use the TokenNumber parameter to determine which token setting caused the callback function to be called. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9980 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11Fix issue with making a seek to zero on an FV file legal.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9979 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-111. free those inserted NsKeyNode resource when releasing SetKeyBoardLayout ↵erictian
event. 2. cleanup HiiDataBaseDxe to directly use gEfiHiiKeyBoardLayoutGuid which is used as the guid of event group. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9978 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11Coding style fix and minor improvements.rsun3
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9977 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11Support Name/Value Storage in UEFI2.1 HII driver.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9976 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-11Add example of Name/Value pair var store to DriverSamplelgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9975 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10Update EBL to have an optional width specifier on commands. So hexdump.4 ↵andrewfish
means use a width of 4 bytes. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9974 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10Only ment to add support to build and launch Ebl shell, not switch over to ↵andrewfish
it. Undo the switch. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9973 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10Remove dead command and clean up some coding style stuff.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9972 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10The VOLUME name case did not reserve enough storage in the CWD function.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9971 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10Fix issue with VOLUMN Name as an alias for device name.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9970 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10UefiCpuPkg/CpuDxe: Fix build errorjljusten
This driver was not building following the r9935 & r9941 changes. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9969 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10UefiCpuPkg: Add CpuDxe driver to UefiCpuPkg.dsc for build test coveragejljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9968 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10UefiCpuPkg/CpuDxe: Remove unnecessary OvmfPkg dependencyjljusten
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9967 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10Per Framework SMM CIS spec, SMM Base Protocol.Communicate() is availabe in ↵rsun3
runtime. In SmmBaseOnSmmBase2Thunk driver, implementation of Communicate() uses SMM Communication Protocol. The thunk driver caches a pointer to SMM Communication Protocol. This pointer needs to be converted on Virtual Address Change Event. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9966 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10a)Save and disable CPU interrupt before calling AsmWriteIdtr().vanjeff
b)Restore CPU interrupt status after callng AsmWriteIdtr(). git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9965 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10revise the debug message to add 0x in front of the HEX number for consistencyjchen20
replace FixedPcdGetXX with PcdGetXX to access PcdLoadModuleAtFixAddressEnable git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9964 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10Fix ICC build break by do data conversion.lgao4
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9963 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10Leverages SMM Status Code Protocol, instead of OemHookStatusCodeLib.xli24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9962 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10Add device path DXE driver in Duet FDF file to compliant with UEFI.klu2
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9961 6f19259b-4bc3-4df7-8a09-765794883524
2010-02-10Clean up UncachedMemoryAllocationLib to use CPU AP.andrewfish
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9960 6f19259b-4bc3-4df7-8a09-765794883524