smm.h 642 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * SMM definitions (U-Boot does not support SMM itself)
  4. *
  5. * Copyright (C) 2008-2009 coresystems GmbH
  6. * Copyright 2019 Google LLC
  7. *
  8. * Modified from coreboot smm.h
  9. */
  10. #ifndef _ASM_SMM_H
  11. #define _ASM_SMM_H
  12. #define APM_CNT 0xb2
  13. #define APM_CNT_CST_CONTROL 0x85
  14. #define APM_CNT_PST_CONTROL 0x80
  15. #define APM_CNT_ACPI_DISABLE 0x1e
  16. #define APM_CNT_ACPI_ENABLE 0xe1
  17. #define APM_CNT_MBI_UPDATE 0xeb
  18. #define APM_CNT_GNVS_UPDATE 0xea
  19. #define APM_CNT_FINALIZE 0xcb
  20. #define APM_CNT_LEGACY 0xcc
  21. #define APM_CNT_SMMSTORE 0xed
  22. #define APM_CNT_ELOG_GSMI 0xef
  23. #define APM_STS 0xb3
  24. #endif /* _ASM_SMM_H */