summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/acpi.h
blob: 4872b9286058824cb6849a529b9104758c837c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * From coreboot
 *
 * Copyright (C) 2004 SUSE LINUX AG
 * Copyright (C) 2004 Nick Barker
 * Copyright (C) 2008-2009 coresystems GmbH
 * (Written by Stefan Reinauer <stepan@coresystems.de>)
 *
 * SPDX-License-Identifier:	GPL-2.0
 */

#ifndef __ASM_ACPI_H
#define __ASM_ACPI_H

#define RSDP_SIG		"RSD PTR "  /* RSDT pointer signature */
#define ACPI_TABLE_CREATOR	"U-BootAC"  /* Must be exactly 8 bytes long! */
#define OEM_ID			"U-Boot"    /* Must be exactly 6 bytes long! */
#define ASLC			"U-Bo"      /* Must be exactly 4 bytes long! */

/* 0 = S0, 1 = S1 ...*/
int acpi_get_slp_type(void);
void apci_set_slp_type(int type);

#endif