diff options
author | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
---|---|---|
committer | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
commit | b7c51c9cf4864df6aabb99a1ae843becd577237c (patch) | |
tree | eebe9b0d0ca03062955223097e57da84dd618b9a /ReferenceCode/RapidStart/Include/RapidStartConfig.h | |
download | zprj-master.tar.xz |
Diffstat (limited to 'ReferenceCode/RapidStart/Include/RapidStartConfig.h')
-rw-r--r-- | ReferenceCode/RapidStart/Include/RapidStartConfig.h | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/ReferenceCode/RapidStart/Include/RapidStartConfig.h b/ReferenceCode/RapidStart/Include/RapidStartConfig.h new file mode 100644 index 0000000..a290606 --- /dev/null +++ b/ReferenceCode/RapidStart/Include/RapidStartConfig.h @@ -0,0 +1,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 |