mirror of
https://git.proxmox.com/git/mirror_edk2
synced 2026-01-15 20:27:57 +00:00
Update Shell Protocol EfiShellGetMapFromDevicePath() to not set the end if the device path if it is already an end of entire device path. This removes a write operation that can cause failures if the Device Path Protocol is mapped to read-only memory. In general Device Path Protocols should not be modified unless the API explicitly states that the device path is modified. Cc: Ard Biesheuvel <ardb@kernel.org> Cc: Ray Ni <ray.ni@intel.com> Cc: Zhichao Gao <zhichao.gao@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com> |
||
|---|---|---|
| .. | ||
| ConsoleLogger.c | ||
| ConsoleLogger.h | ||
| ConsoleWrappers.c | ||
| ConsoleWrappers.h | ||
| FileHandleInternal.h | ||
| FileHandleWrappers.c | ||
| FileHandleWrappers.h | ||
| Shell.c | ||
| Shell.h | ||
| Shell.inf | ||
| Shell.uni | ||
| ShellEnvVar.c | ||
| ShellEnvVar.h | ||
| ShellManParser.c | ||
| ShellManParser.h | ||
| ShellParametersProtocol.c | ||
| ShellParametersProtocol.h | ||
| ShellProtocol.c | ||
| ShellProtocol.h | ||