MdePkg[all]
1.08
|
Data Structures | |
struct | SMRAM_SAVE_STATE_MAP32 |
struct | SMRAM_SAVE_STATE_MAP64 |
union | SMRAM_SAVE_STATE_MAP |
union | SMRAM_SAVE_STATE_IOMISC |
Macros | |
#define | SMM_DEFAULT_SMBASE 0x30000 |
#define | SMM_HANDLER_OFFSET 0x8000 |
#define | SMRAM_SAVE_STATE_MAP_OFFSET 0xfc00 |
#define | SMRAM_SAVE_STATE_MIN_REV_ID_IOMISC 0x30004 |
#define | SMM_IO_LENGTH_BYTE 0x01 |
#define | SMM_IO_LENGTH_WORD 0x02 |
#define | SMM_IO_LENGTH_DWORD 0x04 |
#define | SMM_IO_TYPE_IN_IMMEDIATE 0x9 |
#define | SMM_IO_TYPE_IN_DX 0x1 |
#define | SMM_IO_TYPE_OUT_IMMEDIATE 0x8 |
#define | SMM_IO_TYPE_OUT_DX 0x0 |
#define | SMM_IO_TYPE_INS 0x3 |
#define | SMM_IO_TYPE_OUTS 0x2 |
#define | SMM_IO_TYPE_REP_INS 0x7 |
#define | SMM_IO_TYPE_REP_OUTS 0x6 |
SMRAM Save State Map Definitions.
SMRAM Save State Map definitions based on contents of the Intel(R) 64 and IA-32 Architectures Software Developer's Manual Volume 3C, Section 34.4 SMRAM Volume 3C, Section 34.5 SMI Handler Execution Environment Volume 3C, Section 34.7 Managing Synchronous and Asynchronous SMIs
Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
#define SMM_DEFAULT_SMBASE 0x30000 |
Default SMBASE address
#define SMM_HANDLER_OFFSET 0x8000 |
Offset of SMM handler from SMBASE
#define SMM_IO_LENGTH_BYTE 0x01 |
SMRAM Save State Map IOMisc I/O Length Values
#define SMM_IO_LENGTH_DWORD 0x04 |
#define SMM_IO_LENGTH_WORD 0x02 |
#define SMM_IO_TYPE_IN_DX 0x1 |
#define SMM_IO_TYPE_IN_IMMEDIATE 0x9 |
SMRAM Save State Map IOMisc I/O Instruction Type Values
#define SMM_IO_TYPE_INS 0x3 |
#define SMM_IO_TYPE_OUT_DX 0x0 |
#define SMM_IO_TYPE_OUT_IMMEDIATE 0x8 |
#define SMM_IO_TYPE_OUTS 0x2 |
#define SMM_IO_TYPE_REP_INS 0x7 |
#define SMM_IO_TYPE_REP_OUTS 0x6 |
#define SMRAM_SAVE_STATE_MAP_OFFSET 0xfc00 |
Offset of SMRAM Save State Map from SMBASE
#define SMRAM_SAVE_STATE_MIN_REV_ID_IOMISC 0x30004 |
Minimum SMM Revision ID that supports IOMisc field in SMRAM Save State Map