clr-boot-manager
clr-boot-manager copied to clipboard
image mode: unify image mode and native mode
This patch attempts to unify both image and native mode. As a result of that we have a single code path for both modes, reduce code complexity and maintenance effort keeping executions consistent across these two major scenarios.
We may argue that with this changes we're adding "extra" operations to former image mode operations - i.e collection kernels on image mode doesn't make sense and just add extra work, however these operations should be consistent across different scenarios and all of them will not impose any extra runtime overhead more than a few extra checks, in the collecting kernels examples we'll not do anything if don't find extra kernels to collect.
Signed-off-by: Leandro Dorileo [email protected]