2 HTE handling routines for MRC use.
4 Copyright (c) 2013-2015 Intel Corporation.
6 This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
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.
21 #if !defined(__GNUC__) && (__STDC_VERSION__ < 199901L)
22 typedef uint32_t UINT32
;
23 typedef uint16_t UINT16
;
24 typedef uint8_t UINT8
;
29 MrcNoHaltSystemOnError
,
31 MrcHaltHteEngineOnError
,
32 MrcNoHaltHteEngineOnError
37 MrcMemInit
, MrcMemTest
43 #define HTE_MEMTEST_NUM 2
44 #define HTE_LOOP_CNT 5 // EXP_LOOP_CNT field of HTE_CMD_CTL. This CANNOT be less than 4
45 #define HTE_LFSR_VICTIM_SEED 0xF294BA21 // Random seed for victim.
46 #define HTE_LFSR_AGRESSOR_SEED 0xEBA7492D // Random seed for aggressor.
49 MRC_PARAMS
*CurrentMrcData
,
51 UINT8 HaltHteEngineOnError
);
55 MRC_PARAMS
*CurrentMrcData
,
61 WriteStressBitLanesHTE(
62 MRC_PARAMS
*CurrentMrcData
,