blob: a29060694a54f75b2ba0ef9ab7ed4a7b59690348 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
/** @file
Header file to define the default build options
@copyright
Copyright (c) 2011 - 2012 Intel Corporation. All rights reserved
This software and associated documentation (if any) is furnished
under a license and may only be used or copied in accordance
with the terms of the license. Except as permitted by such
license, no part of this software or documentation may be
reproduced, stored in a retrieval system, or transmitted in any
form or by any means without the express written consent of
Intel Corporation.
This file contains an 'Intel Peripheral Driver' and uniquely
identified as "Intel Reference Module" and is
licensed for Intel CPUs and chipsets under the terms of your
license agreement with Intel or your vendor. This file may
be modified by the user, subject to additional terms of the
license agreement
**/
#ifndef RAPID_START_CONFIG_H_
#define RAPID_START_CONFIG_H_
///
/// uncomment #define to enable the setting.
/// Don't just change the value to 0 to disable setting.
///
#ifndef RAPID_START_TRIM_ON_RESUME
#define RAPID_START_TRIM_ON_RESUME 1
#endif
#ifndef RAPID_START_NO_SMRAM_INTEGRITY_CHECK
#define RAPID_START_NO_SMRAM_INTEGRITY_CHECK
#endif
#ifndef RAPID_START_USE_OLD_ACPI_VARIABLE_SET
#define RAPID_START_USE_OLD_ACPI_VARIABLE_SET
#endif
#ifndef RAPID_START_WHOLE_MEMORY_CHECK
// #define RAPID_START_WHOLE_MEMORY_CHECK
#endif
#ifndef RAPID_START_ON_MEMORY_INSTALLED
#define RAPID_START_ON_MEMORY_INSTALLED
#endif
#ifndef RAPID_START_ON_START_PPI_INSTALLED
// #define RAPID_START_ON_START_PPI_INSTALLED
#endif
#ifndef RAPID_START_SCAN_ZERO_PAGE
#define RAPID_START_SCAN_ZERO_PAGE
#endif
#ifdef RAPID_START_WHOLE_MEMORY_CHECK
///
/// SW SMI callback function to check memory
///
#ifndef SW_SMI_WHOLE_MEMORY_CHECK
#define SW_SMI_WHOLE_MEMORY_CHECK 0x51
#endif
///
/// Default granularity 1MB
///
#ifndef MEMORY_CRC32_GRANULARITY
#define MEMORY_CRC32_GRANULARITY 0x100000
#endif
#endif // RAPID_START_WHOLE_MEMORY_CHECK
#endif
|