/** @file
|
Register names for IGD block
|
<b>Conventions</b>:
|
- Prefixes:
|
- Definitions beginning with "R_" are registers
|
- Definitions beginning with "B_" are bits within registers
|
- Definitions beginning with "V_" are meaningful values of bits within the registers
|
- Definitions beginning with "S_" are register sizes
|
- Definitions beginning with "N_" are the bit position
|
- In general, SA registers are denoted by "_SA_" in register names
|
- Registers / bits that are different between SA generations are denoted by
|
"_SA_[generation_name]_" in register/bit names. e.g., "_SA_HSW_"
|
- Registers / bits that are different between SKUs are denoted by "_[SKU_name]"
|
at the end of the register/bit names
|
- Registers / bits of new devices introduced in a SA generation will be just named
|
as "_SA_" without [generation_name] inserted.
|
|
Copyright (c) 2019 Intel Corporation. All rights reserved. <BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
**/
|
|
#ifndef _SA_REGS_IGD_H_
|
#define _SA_REGS_IGD_H_
|
|
///
|
/// Device 2 Register Equates
|
///
|
//
|
// The following equates must be reviewed and revised when the specification is ready.
|
//
|
#define SA_IGD_BUS 0x00
|
#define SA_IGD_DEV 0x02
|
#define SA_IGD_FUN_0 0x00
|
#define SA_IGD_DEV_FUN (SA_IGD_DEV << 3)
|
#define SA_IGD_BUS_DEV_FUN (SA_MC_BUS << 8) + SA_IGD_DEV_FUN
|
|
#define V_SA_IGD_VID 0x8086
|
#define SA_GT_APERTURE_SIZE_256MB 1 ///< 256MB is the recommanded GT Aperture Size as per BWG.
|
|
#define V_SA_PCI_DEV_2_GT2_CFL_ULT_1_ID 0x3EA0 ///< Dev2 CFL-U GT2
|
#define V_SA_PCI_DEV_2_GT1_CFL_ULT_1_ID 0x3EA1 ///< Dev2 CFL-U GT1
|
#define R_SA_IGD_VID 0x00
|
#define R_SA_IGD_DID 0x02
|
#define R_SA_IGD_CMD 0x04
|
|
#define R_SA_IGD_SWSCI_OFFSET 0x00E8
|
#define R_SA_IGD_ASLS_OFFSET 0x00FC ///< ASL Storage
|
|
#endif
|