]> git.proxmox.com Git - mirror_edk2.git/commit - EmulatorPkg/Unix/Host/Host.c
EmulatorPkg: Record Argc, Argv and Envp in EmuThunk Ppi
authorLiu, Zhiguang <Zhiguang.Liu@intel.com>
Tue, 6 Dec 2022 05:41:36 +0000 (13:41 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 8 Dec 2022 10:44:20 +0000 (10:44 +0000)
commit8a485e4bb8b5c5a800d6b3e1b8fa80fe27afb274
treeb43a6e3d3f484b91e34d2c8f465489541ccc821c
parent2c284027b23ca63cc459411df9d1fcbfc47a5126
EmulatorPkg: Record Argc, Argv and Envp in EmuThunk Ppi

Record Argc, Argv and Envp in EmuThunk Ppi so that other modules
can use these fields to change behavior depends on boot parameters
or environment.

Cc: Andrew Fish <afish@apple.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
EmulatorPkg/Include/Ppi/EmuThunk.h
EmulatorPkg/Unix/Host/Host.c
EmulatorPkg/Win/Host/WinHost.c