mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 16:37:19 +09:00
I very much dislike the approach in which we were mixing Linux and UEFI C code
in the same subdirectory. No code was shared between two environments. This
layout was created in e7dd673d1e, with the
justification of "being more consistent with the rest of systemd", but I don't
see how it's supposed to be so.
Originally, when the C code was just a single bootctl.c file, this wasn't so
bad. But over time the userspace code grew quite a bit. With the moves done in
previuos commits, the intermediate subdirectory is now empty except for the
efi/ subdir, and this additional subdirectory level doesn't have a good
justification. The components is called "systemd-boot", not "systemd-efi", and
we can remove one level of indentation.
12 lines
313 B
C
12 lines
313 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
#pragma once
|
|
|
|
#include "efi.h"
|
|
#include "proto/loaded-image.h"
|
|
|
|
EFI_STATUS reconnect_all_drivers(void);
|
|
EFI_STATUS load_drivers(
|
|
EFI_HANDLE parent_image,
|
|
EFI_LOADED_IMAGE_PROTOCOL *loaded_image,
|
|
EFI_FILE *root_dir);
|