mirror of
https://xff.cz/git/u-boot/
synced 2025-09-30 15:01:27 +02:00
efi_loader: function descriptions efi_watchdog.c
Correct function descriptions in efi_watchdog.c. Add the descriptions to the generated HTML documentation. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
@@ -78,6 +78,12 @@ Memory services
|
|||||||
.. kernel-doc:: lib/efi_loader/efi_memory.c
|
.. kernel-doc:: lib/efi_loader/efi_memory.c
|
||||||
:internal:
|
:internal:
|
||||||
|
|
||||||
|
SetWatchdogTimer service
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. kernel-doc:: lib/efi_loader/efi_watchdog.c
|
||||||
|
:internal:
|
||||||
|
|
||||||
Runtime services
|
Runtime services
|
||||||
----------------
|
----------------
|
||||||
|
|
||||||
|
@@ -13,7 +13,9 @@
|
|||||||
|
|
||||||
static struct efi_event *watchdog_timer_event;
|
static struct efi_event *watchdog_timer_event;
|
||||||
|
|
||||||
/*
|
/**
|
||||||
|
* efi_watchdog_timer_notify() - resets system upon watchdog event
|
||||||
|
*
|
||||||
* Reset the system when the watchdog event is notified.
|
* Reset the system when the watchdog event is notified.
|
||||||
*
|
*
|
||||||
* @event: the watchdog event
|
* @event: the watchdog event
|
||||||
@@ -31,13 +33,13 @@ static void EFIAPI efi_watchdog_timer_notify(struct efi_event *event,
|
|||||||
EFI_EXIT(EFI_UNSUPPORTED);
|
EFI_EXIT(EFI_UNSUPPORTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Reset the watchdog timer.
|
* efi_set_watchdog() - resets the watchdog timer
|
||||||
*
|
*
|
||||||
* This function is used by the SetWatchdogTimer service.
|
* This function is used by the SetWatchdogTimer service.
|
||||||
*
|
*
|
||||||
* @timeout: seconds before reset by watchdog
|
* @timeout: seconds before reset by watchdog
|
||||||
* @return: status code
|
* Return: status code
|
||||||
*/
|
*/
|
||||||
efi_status_t efi_set_watchdog(unsigned long timeout)
|
efi_status_t efi_set_watchdog(unsigned long timeout)
|
||||||
{
|
{
|
||||||
@@ -53,10 +55,12 @@ efi_status_t efi_set_watchdog(unsigned long timeout)
|
|||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* Initialize the EFI watchdog.
|
* efi_watchdog_register() - initializes the EFI watchdog
|
||||||
*
|
*
|
||||||
* This function is called by efi_init_obj_list()
|
* This function is called by efi_init_obj_list().
|
||||||
|
*
|
||||||
|
* Return: status code
|
||||||
*/
|
*/
|
||||||
efi_status_t efi_watchdog_register(void)
|
efi_status_t efi_watchdog_register(void)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user