Files
Linux_Drivers/u-boot-2021.10/arch/x86/include/asm/smm.h
sam.xiang f8fc109960 [uboot] create uboot from github:
repo: https://github.com/u-boot/u-boot
	commit: d80bb749fab53da72c4a0e09b8c2d2aaa3103c91

Change-Id: Ie6434426e1ec15bc08bb1832798e371f3fd5fb29
2023-03-10 20:30:57 +08:00

28 lines
642 B
C

/* SPDX-License-Identifier: GPL-2.0 */
/*
* SMM definitions (U-Boot does not support SMM itself)
*
* Copyright (C) 2008-2009 coresystems GmbH
* Copyright 2019 Google LLC
*
* Modified from coreboot smm.h
*/
#ifndef _ASM_SMM_H
#define _ASM_SMM_H
#define APM_CNT 0xb2
#define APM_CNT_CST_CONTROL 0x85
#define APM_CNT_PST_CONTROL 0x80
#define APM_CNT_ACPI_DISABLE 0x1e
#define APM_CNT_ACPI_ENABLE 0xe1
#define APM_CNT_MBI_UPDATE 0xeb
#define APM_CNT_GNVS_UPDATE 0xea
#define APM_CNT_FINALIZE 0xcb
#define APM_CNT_LEGACY 0xcc
#define APM_CNT_SMMSTORE 0xed
#define APM_CNT_ELOG_GSMI 0xef
#define APM_STS 0xb3
#endif /* _ASM_SMM_H */