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

Go to the source code of this file.

Data Structures

struct  STM_RSC_DESC_HEADER
 
struct  STM_RSC_END
 
struct  STM_RSC_MEM_DESC
 
struct  STM_RSC_IO_DESC
 
struct  STM_RSC_MMIO_DESC
 
struct  STM_RSC_MSR_DESC
 
struct  STM_PCI_DEVICE_PATH_NODE
 
struct  STM_RSC_PCI_CFG_DESC
 
struct  STM_RSC_TRAPPED_IO_DESC
 
struct  STM_RSC_ALL_RESOURCES_DESC
 
struct  STM_REGISTER_VIOLATION_DESC
 
union  STM_RSC
 

Macros

#define END_OF_RESOURCES   0
 
#define MEM_RANGE   1
 
#define IO_RANGE   2
 
#define MMIO_RANGE   3
 
#define MACHINE_SPECIFIC_REG   4
 
#define PCI_CFG_RANGE   5
 
#define TRAPPED_IO_RANGE   6
 
#define ALL_RESOURCES   7
 
#define REGISTER_VIOLATION   8
 
#define MAX_DESC_TYPE   8
 
#define STM_RSC_MEM_R   0x1
 
#define STM_RSC_MEM_W   0x2
 
#define STM_RSC_MEM_X   0x4
 
#define STM_RSC_MMIO_R   0x1
 
#define STM_RSC_MMIO_W   0x2
 
#define STM_RSC_MMIO_X   0x4
 
#define STM_RSC_PCI_CFG_R   0x1
 
#define STM_RSC_PCI_CFG_W   0x2
 

Enumerations

enum  STM_REGISTER_VIOLATION_TYPE {
  StmRegisterCr0 , StmRegisterCr2 , StmRegisterCr3 , StmRegisterCr4 ,
  StmRegisterCr8 , StmRegisterMax
}
 

Detailed Description

STM Resource Descriptor

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

Specification Reference:
SMI Transfer Monitor (STM) User Guide Revision 1.00

Definition in file StmResourceDescriptor.h.

Macro Definition Documentation

◆ ALL_RESOURCES

#define ALL_RESOURCES   7

Definition at line 39 of file StmResourceDescriptor.h.

◆ END_OF_RESOURCES

#define END_OF_RESOURCES   0

Define values for the RscType field of STM_RSC_DESC_HEADER

Definition at line 32 of file StmResourceDescriptor.h.

◆ IO_RANGE

#define IO_RANGE   2

Definition at line 34 of file StmResourceDescriptor.h.

◆ MACHINE_SPECIFIC_REG

#define MACHINE_SPECIFIC_REG   4

Definition at line 36 of file StmResourceDescriptor.h.

◆ MAX_DESC_TYPE

#define MAX_DESC_TYPE   8

Definition at line 41 of file StmResourceDescriptor.h.

◆ MEM_RANGE

#define MEM_RANGE   1

Definition at line 33 of file StmResourceDescriptor.h.

◆ MMIO_RANGE

#define MMIO_RANGE   3

Definition at line 35 of file StmResourceDescriptor.h.

◆ PCI_CFG_RANGE

#define PCI_CFG_RANGE   5

Definition at line 37 of file StmResourceDescriptor.h.

◆ REGISTER_VIOLATION

#define REGISTER_VIOLATION   8

Definition at line 40 of file StmResourceDescriptor.h.

◆ STM_RSC_MEM_R

#define STM_RSC_MEM_R   0x1

Define values for the RWXAttributes field of STM_RSC_MEM_DESC

Definition at line 68 of file StmResourceDescriptor.h.

◆ STM_RSC_MEM_W

#define STM_RSC_MEM_W   0x2

Definition at line 69 of file StmResourceDescriptor.h.

◆ STM_RSC_MEM_X

#define STM_RSC_MEM_X   0x4

Definition at line 70 of file StmResourceDescriptor.h.

◆ STM_RSC_MMIO_R

#define STM_RSC_MMIO_R   0x1

Define values for the RWXAttributes field of STM_RSC_MMIO_DESC

Definition at line 99 of file StmResourceDescriptor.h.

◆ STM_RSC_MMIO_W

#define STM_RSC_MMIO_W   0x2

Definition at line 100 of file StmResourceDescriptor.h.

◆ STM_RSC_MMIO_X

#define STM_RSC_MMIO_X   0x4

Definition at line 101 of file StmResourceDescriptor.h.

◆ STM_RSC_PCI_CFG_R

#define STM_RSC_PCI_CFG_R   0x1

Define values for the RWAttributes field of STM_RSC_PCI_CFG_DESC

Definition at line 156 of file StmResourceDescriptor.h.

◆ STM_RSC_PCI_CFG_W

#define STM_RSC_PCI_CFG_W   0x2

Definition at line 157 of file StmResourceDescriptor.h.

◆ TRAPPED_IO_RANGE

#define TRAPPED_IO_RANGE   6

Definition at line 38 of file StmResourceDescriptor.h.

Enumeration Type Documentation

◆ STM_REGISTER_VIOLATION_TYPE

Enum values for the RWAttributes field of STM_REGISTER_VIOLATION_DESC

Definition at line 195 of file StmResourceDescriptor.h.