]> git.proxmox.com Git - mirror_edk2.git/blob - Vlv2DeviceRefCodePkg/ValleyView2Soc/NorthCluster/Include/Valleyview.h
Vlv2TbltDevicePkg/Vlv2DeviceRefCodePkg:
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / ValleyView2Soc / NorthCluster / Include / Valleyview.h
1
2 /*++
3
4 Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved
5
6 This program and the accompanying materials are licensed and made available under
7 the terms and conditions of the BSD License that accompanies this distribution.
8 The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php.
10
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13
14
15
16 Module Name:
17
18 Valleyview.h
19
20 Abstract:
21
22 This header file provides common definitions just for Valleyview-SOC using to avoid including extra module's file.
23 --*/
24
25 #ifndef _MC_H_INCLUDED_
26 #define _MC_H_INCLUDED_
27 /*
28 < Extended Configuration Base Address.*/
29 #define EC_BASE 0xE0000000
30
31 //
32 // DEVICE 0 (Memroy Controller Hub)
33 //
34 #define MC_BUS 0x00
35 #define MC_DEV 0x00
36 #define MC_DEV2 0x02
37 #define MC_FUN 0x00
38 // NC DEV 0 Vendor and Device IDs
39 #define MC_VID 0x8086
40 #define MC_DID_OFFSET 0x2 //Device Identification
41 #define MC_GGC_OFFSET 0x50 //GMCH Graphics Control Register
42
43 //
44 // Device 2 Register Equates
45 //
46 #define IGD_BUS 0x00
47 #define IGD_DEV 0x02
48 #define IGD_FUN_0 0x00
49 #define IGD_FUN_1 0x01
50 #define IGD_DEV_FUN (IGD_DEV << 3)
51 #define IGD_BUS_DEV_FUN (MC_BUS << 8) + IGD_DEV_FUN
52 #define IGD_VID 0x8086
53 #define IGD_DID 0xA001
54 #define IGD_MGGC_OFFSET 0x0050 //GMCH Graphics Control Register 0x50
55 #define IGD_BSM_OFFSET 0x005C //Base of Stolen Memory
56 #define IGD_SWSCI_OFFSET 0x00E0 //Software SCI 0xE0 2
57 #define IGD_ASLE_OFFSET 0x00E4 //System Display Event Register 0xE4 4
58 #define IGD_ASLS_OFFSET 0x00FC // ASL Storage
59 #define IGD_DID_QS 0x0BE2 //RCOverride -a: Fix the DID error
60
61 #endif