2 years agoMdeModulePkg/AcpiPlatformDxe: Unload after execution.
2 years agoSecurityPkg/OpalPassword: Add support for pyrite 2.0 devices.
2 years agoSecurityPkg/TcgStorageOpalLib: Add supports for pyrite 2.0 spec.
2 years agoMdePkg: Add Feature definitions added in pyrite 2.0 spec.
2 years agoNetworkPkg/NetworkPkg.dsc: Add the instance of library class [SafeIntLib].
translation of key words.
added a test when this is run straight from command line.
functions (like join) can use the iterator just as easily.
No need to make a list from the set. just pop the item off.
that are only used in constructing sets.
routes all code paths through them.
we dont need to keep data we already have in different formats...
the function is only used in one other function.
just move it there.
this class was never instantiated. the static function was called.
save the function, remove the rest.
move both GetPcdMaxSize and GetPcdSize to the PcdClassObject.
change a dict to a set since we never examine the contents, just the keys.
split them into 2 seperate lines.
no need to construct 2 dictionaries.
since we never access the values in the copied dict, just use a list instead.
this serves no purpose since we dont change the global or assign to it.
since instances are not added to cache, the factory does nothing.
add the API root in one class file.
delete the static API out of both classes.
share it in the single location.
dont use dict.get() inside loops of dictionary contents. its not needed.
make this function @staticmethod since self parameter is not used.
change valuelist to valuedict since it is a dictionary.
2 years agoBaseTools: this function has no purpose.
BaseTools: this function has no purpose.
minimize risk for exceptions.
PCD size by type is shared. just use it.
and makes the function work for all numeric PCD types.
ensures that these functions are compliant when EFI_NOT_FOUND is returned.
if <x> in [None, ''] and similar are superflous.
v2 - add missing namespace.
v2 - split apart FV and GUID types with different meanings.
v2 - revert 2 files. will update later in own patches.
replace raw strings in the code (note: except UPT) with constants.
in post process API also.
User needs to implement hooks of PLATFORM_VIRTUAL_KBD_PROTOCOL.
There're 4 hooks in this protocol.
Reset(): Do the initialization before reading value.
trigger a key pressed event.
Clear(): Clean the value if necessary.
returned by MmioWrite32() and MmioWrite64() as EFI_STATUS return codes.
and removes the code for checking their return values.
lighter weight lib instance that gets linked into several DXE modules.
the formatting and parsing routines in every client module.
it needs to stick with the standalone instance.
FixedAtBuild, Patch, and FeatureFlag PCDs, but that's fine.
obviously works with page granularity only.
instructions to users for updating their local submodules.
Roll back one change in 6be94743, it was updated incorrect.
2 years agoBaseTools: AutoGen - remove unused variables.
BaseTools: AutoGen - remove unused variables.
the variable is a string type since we just used .strip() on it.
assumption that only ancient KVM host implementations required it.
timer support library, so that other virt platforms remain unchanged.
function to ArmGenericTimerCounterLib that we will populate for Xen only.
Fix typo EFI_SECURITY_VIOLATIO to EFI_SECURITY_VIOLATION.