cedarhouse1@comcast.net has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/38520 )
Change subject: arch/x86/include/arch: Add smm_segs.h ......................................................................
arch/x86/include/arch: Add smm_segs.h
Contains the segment defines for the SMI handler. Currently used for the STM setup.
Change-Id: Ifd163a1687b7e6bd4345895b6349d716b8b3b5c2 Signed-off-by: Eugene D. Myers edmyers@tycho.nsa.gov --- A src/arch/x86/include/arch/smm_segs.h 1 file changed, 22 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/20/38520/1
diff --git a/src/arch/x86/include/arch/smm_segs.h b/src/arch/x86/include/arch/smm_segs.h new file mode 100644 index 0000000..0c72761 --- /dev/null +++ b/src/arch/x86/include/arch/smm_segs.h @@ -0,0 +1,22 @@ +/* + * This file is part of the coreboot project. + * + * 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 of the License. + * + * 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. + */ + +#ifndef SMM_SEGS_H +#define SMM_SEGS_H + +#define SMM_CODE_SEG 0x08 +#define SMM_DATA_SEG 0x10 +#define SMM_CODE_SEG64 0x18 + +#endif /* SMM_SEGS_H */ +