mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
efi: loader: Make efi_event_queue and efi_register_notify_events static
efi_event_queue and efi_register_notify_events are only referenced in efi_boottime.c Signed-off-by: Bin Meng <bmeng@tinylab.org>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
8063c55e58
commit
ee23830b6e
@@ -513,9 +513,6 @@ struct efi_register_notify_event {
|
||||
struct list_head handles;
|
||||
};
|
||||
|
||||
/* List of all events registered by RegisterProtocolNotify() */
|
||||
extern struct list_head efi_register_notify_events;
|
||||
|
||||
/* called at pre-initialization */
|
||||
int efi_init_early(void);
|
||||
/* Initialize efi execution environment */
|
||||
|
@@ -35,7 +35,7 @@ LIST_HEAD(efi_obj_list);
|
||||
__efi_runtime_data LIST_HEAD(efi_events);
|
||||
|
||||
/* List of queued events */
|
||||
LIST_HEAD(efi_event_queue);
|
||||
static LIST_HEAD(efi_event_queue);
|
||||
|
||||
/* Flag to disable timer activity in ExitBootServices() */
|
||||
static bool timers_enabled = true;
|
||||
@@ -44,7 +44,7 @@ static bool timers_enabled = true;
|
||||
bool efi_st_keep_devices;
|
||||
|
||||
/* List of all events registered by RegisterProtocolNotify() */
|
||||
LIST_HEAD(efi_register_notify_events);
|
||||
static LIST_HEAD(efi_register_notify_events);
|
||||
|
||||
/* Handle of the currently executing image */
|
||||
static efi_handle_t current_image;
|
||||
|
Reference in New Issue
Block a user