acpi.h 638 B

123456789101112131415161718192021222324
  1. /*
  2. * From coreboot
  3. *
  4. * Copyright (C) 2004 SUSE LINUX AG
  5. * Copyright (C) 2004 Nick Barker
  6. * Copyright (C) 2008-2009 coresystems GmbH
  7. * (Written by Stefan Reinauer <stepan@coresystems.de>)
  8. *
  9. * SPDX-License-Identifier: GPL-2.0
  10. */
  11. #ifndef __ASM_ACPI_H
  12. #define __ASM_ACPI_H
  13. #define RSDP_SIG "RSD PTR " /* RSDT pointer signature */
  14. #define ACPI_TABLE_CREATOR "U-BootAC" /* Must be exactly 8 bytes long! */
  15. #define OEM_ID "U-Boot" /* Must be exactly 6 bytes long! */
  16. #define ASLC "U-Bo" /* Must be exactly 4 bytes long! */
  17. /* 0 = S0, 1 = S1 ...*/
  18. int acpi_get_slp_type(void);
  19. void apci_set_slp_type(int type);
  20. #endif