OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
OcFirmwarePasswordLib.c File Reference
#include <Uefi.h>
#include <Library/DebugLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Protocol/AppleFirmwarePassword.h>
#include "AppleFwPasswordInternal.h"

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI AppleFirmwarePasswordCheck (IN APPLE_FIRMWARE_PASSWORD_PROTOCOL *This, IN OUT UINTN *Arg1)
 
EFI_STATUS OcFirmwarePasswordInstallProtocol (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Detailed Description

Copyright (C) 2016, The HermitCrabs Lab. All rights reserved.

All rights reserved.

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, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file OcFirmwarePasswordLib.c.

Function Documentation

◆ AppleFirmwarePasswordCheck()

EFI_STATUS EFIAPI AppleFirmwarePasswordCheck ( IN APPLE_FIRMWARE_PASSWORD_PROTOCOL * This,
IN OUT UINTN * Arg1 )
Parameters
[in]ThisThis protocol.
[in]Arg1
Return values
EFI_SUCCESSThe log was saved successfully.
other

Definition at line 37 of file OcFirmwarePasswordLib.c.

◆ OcFirmwarePasswordInstallProtocol()

EFI_STATUS OcFirmwarePasswordInstallProtocol ( IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE * SystemTable )

Install the Apple Firmware Password protocol

Parameters
[in]ImageHandleThe firmware allocated handle for the EFI image.
[in]SystemTableA pointer to the EFI System Table.
Return values
EFI_SUCCESSThe entry point is executed successfully.

Definition at line 54 of file OcFirmwarePasswordLib.c.