TianoCore EDK2 master
Loading...
Searching...
No Matches
FvbSmmCommon.h File Reference

Go to the source code of this file.

Data Structures

struct  SMM_FVB_COMMUNICATE_FUNCTION_HEADER
 
struct  SMM_FVB_ATTRIBUTES_HEADER
 
struct  SMM_FVB_PHYSICAL_ADDRESS_HEADER
 
struct  SMM_FVB_BLOCK_SIZE_HEADER
 
struct  SMM_FVB_READ_WRITE_HEADER
 
struct  SMM_FVB_BLOCKS_HEADER
 

Macros

#define EFI_FUNCTION_GET_ATTRIBUTES   1
 
#define EFI_FUNCTION_SET_ATTRIBUTES   2
 
#define EFI_FUNCTION_GET_PHYSICAL_ADDRESS   3
 
#define EFI_FUNCTION_GET_BLOCK_SIZE   4
 
#define EFI_FUNCTION_READ   5
 
#define EFI_FUNCTION_WRITE   6
 
#define EFI_FUNCTION_ERASE_BLOCKS   7
 
#define SMM_COMMUNICATE_HEADER_SIZE   (OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, Data))
 
#define SMM_FVB_COMMUNICATE_HEADER_SIZE   (OFFSET_OF (SMM_FVB_COMMUNICATE_FUNCTION_HEADER, Data))
 

Detailed Description

The common header file for SMM FVB module.

Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file FvbSmmCommon.h.

Macro Definition Documentation

◆ EFI_FUNCTION_ERASE_BLOCKS

#define EFI_FUNCTION_ERASE_BLOCKS   7

Definition at line 20 of file FvbSmmCommon.h.

◆ EFI_FUNCTION_GET_ATTRIBUTES

#define EFI_FUNCTION_GET_ATTRIBUTES   1

Definition at line 14 of file FvbSmmCommon.h.

◆ EFI_FUNCTION_GET_BLOCK_SIZE

#define EFI_FUNCTION_GET_BLOCK_SIZE   4

Definition at line 17 of file FvbSmmCommon.h.

◆ EFI_FUNCTION_GET_PHYSICAL_ADDRESS

#define EFI_FUNCTION_GET_PHYSICAL_ADDRESS   3

Definition at line 16 of file FvbSmmCommon.h.

◆ EFI_FUNCTION_READ

#define EFI_FUNCTION_READ   5

Definition at line 18 of file FvbSmmCommon.h.

◆ EFI_FUNCTION_SET_ATTRIBUTES

#define EFI_FUNCTION_SET_ATTRIBUTES   2

Definition at line 15 of file FvbSmmCommon.h.

◆ EFI_FUNCTION_WRITE

#define EFI_FUNCTION_WRITE   6

Definition at line 19 of file FvbSmmCommon.h.

◆ SMM_COMMUNICATE_HEADER_SIZE

#define SMM_COMMUNICATE_HEADER_SIZE   (OFFSET_OF (EFI_SMM_COMMUNICATE_HEADER, Data))

Size of SMM communicate header, without including the payload.

Definition at line 31 of file FvbSmmCommon.h.

◆ SMM_FVB_COMMUNICATE_HEADER_SIZE

#define SMM_FVB_COMMUNICATE_HEADER_SIZE   (OFFSET_OF (SMM_FVB_COMMUNICATE_FUNCTION_HEADER, Data))

Size of SMM FVB communicate function header, without including the payload.

Definition at line 36 of file FvbSmmCommon.h.