#include <Uefi.h>
#include <Protocol/SimpleFileSystem.h>
Go to the source code of this file.
Data Structures | |
struct | OC_LOG_PROTOCOL_ |
Macros | |
#define | OC_LOG_REVISION 0x01000B |
#define | OC_LOG_ENABLE BIT0 |
#define | OC_LOG_CONSOLE BIT1 |
#define | OC_LOG_DATA_HUB BIT2 |
#define | OC_LOG_SERIAL BIT3 |
#define | OC_LOG_VARIABLE BIT4 |
#define | OC_LOG_NONVOLATILE BIT5 |
#define | OC_LOG_FILE BIT6 |
#define | OC_LOG_UNSAFE BIT7 |
#define | OC_LOG_ALL_BITS |
#define | OC_LOG_PREFIX_CHAR_MAX 8U |
#define | OC_LOG_PROTOCOL_GUID |
Typedefs | |
typedef UINT32 | OC_LOG_OPTIONS |
typedef struct OC_LOG_PROTOCOL_ | OC_LOG_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | OC_LOG_ADD_ENTRY) (IN OC_LOG_PROTOCOL *This, IN UINTN ErrorLevel, IN CONST CHAR8 *FormatString, IN VA_LIST Marker) |
typedef EFI_STATUS(EFIAPI * | OC_LOG_RESET_TIMERS) (IN OC_LOG_PROTOCOL *This) |
typedef EFI_STATUS(EFIAPI * | OC_LOG_GET_LOG) (IN OC_LOG_PROTOCOL *This, OUT CHAR8 **OcLogBuffer) |
typedef EFI_STATUS(EFIAPI * | OC_LOG_SAVE_LOG) (IN OC_LOG_PROTOCOL *This, IN UINT32 NonVolatile OPTIONAL, IN EFI_DEVICE_PATH_PROTOCOL *FilePath OPTIONAL) |
Variables | |
EFI_GUID | gOcLogProtocolGuid |
A global variable storing the GUID of the OC_LOG_PROTOCOL. | |
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 OcLog.h.
#define OC_LOG_ALL_BITS |
#define OC_LOG_PREFIX_CHAR_MAX 8U |
#define OC_LOG_PROTOCOL_GUID |
#define OC_LOG_REVISION 0x01000B |
typedef EFI_STATUS(EFIAPI * OC_LOG_ADD_ENTRY) (IN OC_LOG_PROTOCOL *This, IN UINTN ErrorLevel, IN CONST CHAR8 *FormatString, IN VA_LIST Marker) |
typedef EFI_STATUS(EFIAPI * OC_LOG_GET_LOG) (IN OC_LOG_PROTOCOL *This, OUT CHAR8 **OcLogBuffer) |
typedef UINT32 OC_LOG_OPTIONS |
typedef struct OC_LOG_PROTOCOL_ OC_LOG_PROTOCOL |
typedef EFI_STATUS(EFIAPI * OC_LOG_RESET_TIMERS) (IN OC_LOG_PROTOCOL *This) |
typedef EFI_STATUS(EFIAPI * OC_LOG_SAVE_LOG) (IN OC_LOG_PROTOCOL *This, IN UINT32 NonVolatile OPTIONAL, IN EFI_DEVICE_PATH_PROTOCOL *FilePath OPTIONAL) |
|
extern |
A global variable storing the GUID of the OC_LOG_PROTOCOL.