SecurityPkg: 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>
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
/** @file
|
||||
Load the deferred images after user is identified.
|
||||
|
||||
Copyright (c) 2009 - 2010, 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
|
||||
|
||||
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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
@@ -39,7 +39,7 @@ LoadDeferredImage (
|
||||
UINTN DriverIndex;
|
||||
EFI_DEVICE_PATH_PROTOCOL *ImageDevicePath;
|
||||
VOID *DriverImage;
|
||||
UINTN ImageSize;
|
||||
UINTN ImageSize;
|
||||
BOOLEAN BootOption;
|
||||
EFI_HANDLE ImageHandle;
|
||||
UINTN ExitDataSize;
|
||||
@@ -77,16 +77,16 @@ LoadDeferredImage (
|
||||
// Load all the deferred images in this protocol instance.
|
||||
//
|
||||
Status = DeferredImage->GetImageInfo(
|
||||
DeferredImage,
|
||||
DriverIndex,
|
||||
&ImageDevicePath,
|
||||
DeferredImage,
|
||||
DriverIndex,
|
||||
&ImageDevicePath,
|
||||
(VOID **) &DriverImage,
|
||||
&ImageSize,
|
||||
&ImageSize,
|
||||
&BootOption
|
||||
);
|
||||
if (EFI_ERROR (Status)) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Load and start the image.
|
||||
@@ -106,7 +106,7 @@ LoadDeferredImage (
|
||||
//
|
||||
gBS->SetWatchdogTimer (5 * 60, 0x0000, 0x00, NULL);
|
||||
Status = gBS->StartImage (ImageHandle, &ExitDataSize, &ExitData);
|
||||
|
||||
|
||||
//
|
||||
// Clear the Watchdog Timer after the image returns.
|
||||
//
|
||||
@@ -115,7 +115,7 @@ LoadDeferredImage (
|
||||
DriverIndex++;
|
||||
} while (TRUE);
|
||||
}
|
||||
FreePool (HandleBuf);
|
||||
FreePool (HandleBuf);
|
||||
}
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ LoadDeferredImageInit (
|
||||
EFI_EVENT Event;
|
||||
|
||||
mDeferredImageHandle = ImageHandle;
|
||||
|
||||
|
||||
Status = gBS->CreateEventEx (
|
||||
EVT_NOTIFY_SIGNAL,
|
||||
TPL_CALLBACK,
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,13 +1,13 @@
|
||||
/** @file
|
||||
The header file for User identify Manager driver.
|
||||
|
||||
Copyright (c) 2009 - 2011, 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
|
||||
|
||||
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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
@@ -239,34 +239,34 @@ UserProfileIdentify (
|
||||
Find a user using a user information record.
|
||||
|
||||
This function searches all user profiles for the specified user information record.
|
||||
The search starts with the user information record handle following UserInfo and
|
||||
The search starts with the user information record handle following UserInfo and
|
||||
continues until either the information is found or there are no more user profiles.
|
||||
A match occurs when the Info.InfoType field matches the user information record
|
||||
type and the user information record data matches the portion of Info passed the
|
||||
type and the user information record data matches the portion of Info passed the
|
||||
EFI_USER_INFO header.
|
||||
|
||||
@param[in] This Points to this instance of the EFI_USER_MANAGER_PROTOCOL.
|
||||
@param[in, out] User On entry, points to the previously returned user profile
|
||||
@param[in, out] User On entry, points to the previously returned user profile
|
||||
handle, or NULL to start searching with the first user profile.
|
||||
On return, points to the user profile handle, or NULL if not
|
||||
found.
|
||||
@param[in, out] UserInfo On entry, points to the previously returned user information
|
||||
handle, or NULL to start searching with the first. On return,
|
||||
handle, or NULL to start searching with the first. On return,
|
||||
points to the user information handle of the user information
|
||||
record, or NULL if not found. Can be NULL, in which case only
|
||||
one user information record per user can be returned.
|
||||
@param[in] Info Points to the buffer containing the user information to be
|
||||
compared to the user information record. If NULL, then only
|
||||
the user information record type is compared. If InfoSize is 0,
|
||||
record, or NULL if not found. Can be NULL, in which case only
|
||||
one user information record per user can be returned.
|
||||
@param[in] Info Points to the buffer containing the user information to be
|
||||
compared to the user information record. If NULL, then only
|
||||
the user information record type is compared. If InfoSize is 0,
|
||||
then the user information record must be empty.
|
||||
|
||||
@param[in] InfoSize The size of Info, in bytes.
|
||||
@param[in] InfoSize The size of Info, in bytes.
|
||||
|
||||
@retval EFI_SUCCESS User information was found. User points to the user profile handle,
|
||||
and UserInfo points to the user information handle.
|
||||
@retval EFI_NOT_FOUND User information was not found. User points to NULL and UserInfo
|
||||
@retval EFI_NOT_FOUND User information was not found. User points to NULL and UserInfo
|
||||
points to NULL.
|
||||
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
@@ -409,5 +409,5 @@ UserProfileGetNextInfo (
|
||||
IN EFI_USER_PROFILE_HANDLE User,
|
||||
IN OUT EFI_USER_INFO_HANDLE *UserInfo
|
||||
);
|
||||
|
||||
|
||||
#endif
|
||||
|
@@ -1,13 +1,13 @@
|
||||
/** @file
|
||||
Data structure used by the user identify manager driver.
|
||||
|
||||
Copyright (c) 2009 - 2011, 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
|
||||
|
||||
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
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
**/
|
||||
|
@@ -2,8 +2,8 @@
|
||||
# Produces user manager protocol
|
||||
#
|
||||
# This module manages user information and produces user manager protocol.
|
||||
#
|
||||
# Copyright (c) 2009 - 2014, 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
|
||||
@@ -48,7 +48,7 @@
|
||||
[Guids]
|
||||
gEfiIfrTianoGuid ## SOMETIMES_CONSUMES ## GUID
|
||||
gEfiEventUserProfileChangedGuid ## SOMETIMES_PRODUCES ## Event
|
||||
|
||||
|
||||
## SOMETIMES_PRODUCES ## Variable:L"Userxxxx"
|
||||
## SOMETIMES_CONSUMES ## Variable:L"Userxxxx"
|
||||
## CONSUMES ## HII
|
||||
@@ -64,16 +64,16 @@
|
||||
gEfiSimpleTextInputExProtocolGuid ## SOMETIMES_CONSUMES
|
||||
gEfiHiiConfigAccessProtocolGuid ## PRODUCES
|
||||
gEfiDevicePathProtocolGuid ## PRODUCES
|
||||
|
||||
|
||||
## PRODUCES
|
||||
## SOMETIMES_PRODUCES ## SystemTable
|
||||
gEfiUserManagerProtocolGuid
|
||||
gEfiUserManagerProtocolGuid
|
||||
|
||||
[Depex]
|
||||
gEfiHiiDatabaseProtocolGuid AND
|
||||
gEfiHiiStringProtocolGuid AND
|
||||
gEfiFormBrowser2ProtocolGuid
|
||||
gEfiHiiDatabaseProtocolGuid AND
|
||||
gEfiHiiStringProtocolGuid AND
|
||||
gEfiFormBrowser2ProtocolGuid
|
||||
|
||||
[UserExtensions.TianoCore."ExtraFiles"]
|
||||
UserIdentifyManagerExtra.uni
|
||||
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
// /** @file
|
||||
// UserIdentifyManager Localized Strings and Content
|
||||
//
|
||||
// Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
// Copyright (c) 2013 - 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
|
||||
@@ -12,8 +12,8 @@
|
||||
//
|
||||
// **/
|
||||
|
||||
#string STR_PROPERTIES_MODULE_NAME
|
||||
#language en-US
|
||||
#string STR_PROPERTIES_MODULE_NAME
|
||||
#language en-US
|
||||
"User Identify Manager"
|
||||
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
String definitions for the User Identify Manager driver.
|
||||
|
||||
Copyright (c) 2009 - 2010, 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
|
||||
@@ -16,12 +16,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#langdef fr-FR "Francais"
|
||||
|
||||
#string STR_TITLE #language en-US "User Identity Manager"
|
||||
#language fr-FR "User Identity Manager(French)"
|
||||
#language fr-FR "User Identity Manager(French)"
|
||||
#string STR_USER_SELECT #language en-US "User Selection"
|
||||
#language fr-FR "User Selection(French)"
|
||||
#string STR_PROVIDER_SELECT #language en-US "Provider Selection"
|
||||
#language fr-FR "User Selection(French)"
|
||||
#language fr-FR "User Selection(French)"
|
||||
#string STR_NULL_STRING #language en-US ""
|
||||
#language fr-FR ""
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user