xref: /openbmc/qemu/include/hw/acpi/cxl.h (revision 118d4ed0)
1 /*
2  * Copyright (C) 2020 Intel Corporation
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8 
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13 
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #ifndef HW_ACPI_CXL_H
19 #define HW_ACPI_CXL_H
20 
21 #include "hw/acpi/bios-linker-loader.h"
22 #include "hw/cxl/cxl.h"
23 
24 void cxl_build_cedt(GArray *table_offsets, GArray *table_data,
25                     BIOSLinker *linker, const char *oem_id,
26                     const char *oem_table_id, CXLState *cxl_state);
27 void build_cxl_osc_method(Aml *dev);
28 
29 #endif
30