MdeModulePkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Internal include file for Report Status Code Router Driver.
|
||||
|
||||
Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@ -56,7 +56,7 @@ typedef struct {
|
||||
|
||||
/**
|
||||
Register the callback function for ReportStatusCode() notification.
|
||||
|
||||
|
||||
When this function is called the function pointer is added to an internal list and any future calls to
|
||||
ReportStatusCode() will be forwarded to the Callback function. During the bootservices,
|
||||
this is the callback for which this service can be invoked. The report status code router
|
||||
@ -70,11 +70,11 @@ typedef struct {
|
||||
2. not unregister at exit boot services so that the router will still have its callback address
|
||||
3. the caller must be self-contained (eg. Not call out into any boot-service interfaces) and be
|
||||
runtime safe, in general.
|
||||
|
||||
|
||||
@param[in] Callback A pointer to a function of type EFI_RSC_HANDLER_CALLBACK that is called when
|
||||
a call to ReportStatusCode() occurs.
|
||||
@param[in] Tpl TPL at which callback can be safely invoked.
|
||||
|
||||
@param[in] Tpl TPL at which callback can be safely invoked.
|
||||
|
||||
@retval EFI_SUCCESS Function was successfully registered.
|
||||
@retval EFI_INVALID_PARAMETER The callback function was NULL.
|
||||
@retval EFI_OUT_OF_RESOURCES The internal buffer ran out of space. No more functions can be
|
||||
@ -91,13 +91,13 @@ Register (
|
||||
|
||||
/**
|
||||
Remove a previously registered callback function from the notification list.
|
||||
|
||||
|
||||
A callback function must be unregistered before it is deallocated. It is important that any registered
|
||||
callbacks that are not runtime complaint be unregistered when ExitBootServices() is called.
|
||||
|
||||
|
||||
@param[in] Callback A pointer to a function of type EFI_RSC_HANDLER_CALLBACK that is to be
|
||||
unregistered.
|
||||
|
||||
|
||||
@retval EFI_SUCCESS The function was successfully unregistered.
|
||||
@retval EFI_INVALID_PARAMETER The callback function was NULL.
|
||||
@retval EFI_NOT_FOUND The callback function was not found to be unregistered.
|
||||
|
Reference in New Issue
Block a user