]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2DeviceRefCodePkg/ValleyView2Soc/NorthCluster/Include/Valleyview.h
Vlv2DeviceRefCodePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / NorthCluster / Include / Valleyview.h
1
2 /*++
3
4 Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8
9
10 Module Name:
11
12 Valleyview.h
13
14 Abstract:
15
16 This header file provides common definitions just for Valleyview-SOC using to avoid including extra module's file.
17 --*/
18
19 #ifndef _MC_H_INCLUDED_
20 #define _MC_H_INCLUDED_
21 /*
22 < Extended Configuration Base Address.*/
23 #define EC_BASE 0xE0000000
24
25 //
26 // DEVICE 0 (Memroy Controller Hub)
27 //
28 #define MC_BUS 0x00
29 #define MC_DEV 0x00
30 #define MC_DEV2 0x02
31 #define MC_FUN 0x00
32 // NC DEV 0 Vendor and Device IDs
33 #define MC_VID 0x8086
34 #define MC_DID_OFFSET 0x2 //Device Identification
35 #define MC_GGC_OFFSET 0x50 //GMCH Graphics Control Register
36
37 //
38 // Device 2 Register Equates
39 //
40 #define IGD_BUS 0x00
41 #define IGD_DEV 0x02
42 #define IGD_FUN_0 0x00
43 #define IGD_FUN_1 0x01
44 #define IGD_DEV_FUN (IGD_DEV << 3)
45 #define IGD_BUS_DEV_FUN (MC_BUS << 8) + IGD_DEV_FUN
46 #define IGD_VID 0x8086
47 #define IGD_DID 0xA001
48 #define IGD_MGGC_OFFSET 0x0050 //GMCH Graphics Control Register 0x50
49 #define IGD_BSM_OFFSET 0x005C //Base of Stolen Memory
50 #define IGD_SWSCI_OFFSET 0x00E0 //Software SCI 0xE0 2
51 #define IGD_ASLE_OFFSET 0x00E4 //System Display Event Register 0xE4 4
52 #define IGD_ASLS_OFFSET 0x00FC // ASL Storage
53 #define IGD_DID_QS 0x0BE2 //RCOverride -a: Fix the DID error
54
55 #endif