summaryrefslogtreecommitdiff
path: root/cgpt/cmd_repair.c
diff options
context:
space:
mode:
authorHsin-Te Yuan <yuanhsinte@google.com>2022-06-28 16:38:26 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-13 05:01:22 +0000
commit4756206b07f2250155c9c4c1d75577281ea111f5 (patch)
tree90a27dd88ac49fefe6ed2571b8eb0690ad6c12ef /cgpt/cmd_repair.c
parent35f4cb027230e03af30a6206cbea8e638d9dd0d0 (diff)
downloadvboot-4756206b07f2250155c9c4c1d75577281ea111f5.tar.gz
vboot_api_kernel.c: Remove kparams_ptr
Pass VbSelectAndLoadKernelParams kparams as a function argument instead of using global variable kparams_ptr. Remove VbSelectAndLoadKernel and replace its tests with the unit tests for vb2_set_boot_mode, vb2api_kernel_phase2, vb2api_kernel_finalize, and vb2api_normal_boot. BUG=b:172339016 BRANCH=none TEST=make runtests Cq-Depend: chromium:3731710 Signed-off-by: Hsin-Te Yuan <yuanhsinte@google.com> Change-Id: I26895ced5e310b2894b9d42d0ad5514d3b0b930a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/3731412 Reviewed-by: Yu-Ping Wu <yupingso@chromium.org>
Diffstat (limited to 'cgpt/cmd_repair.c')
0 files changed, 0 insertions, 0 deletions