You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the boot services are invalidated upon calling exit_boot_services, they should not remain available in the safe API. So I would propose having BootServices::exit_boot_services take a self value as a parameter, rather than a &self reference.
One point to be resolved, though, is what should happen if exit_boot_services fails, for example if the mmap_key is invalid. In this case, perhaps the BootServices value, or a subset thereof (to account for partial shutdown), should be returned in order to let the user try again?