From 8ca35ffbfbe675ac3b58ebd73a3765ffa8ec6dfe Mon Sep 17 00:00:00 2001 From: Assaf Carlsbad Date: Wed, 24 Feb 2021 09:56:00 +0200 Subject: [PATCH] Add GPL license. --- chipsec/modules/common/smm_code_chk.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/chipsec/modules/common/smm_code_chk.py b/chipsec/modules/common/smm_code_chk.py index 819130f1..7089288e 100644 --- a/chipsec/modules/common/smm_code_chk.py +++ b/chipsec/modules/common/smm_code_chk.py @@ -1,3 +1,19 @@ +# CHIPSEC: Platform Security Assessment Framework +# Copyright (c) 2021, SentinelOne +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation; Version 2. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + """ SMM_Code_Chk_En is a bit found in the MSR_SMM_FEATURE_CONTROL register. Once set to '1', any CPU that attempts to execute SMM code not within the ranges defined by the SMRR will assert an unrecoverable MCE.