12a3282c6SBen Widawsky /* 22a3282c6SBen Widawsky * Copyright (C) 2020 Intel Corporation 32a3282c6SBen Widawsky * 42a3282c6SBen Widawsky * This program is free software; you can redistribute it and/or modify 52a3282c6SBen Widawsky * it under the terms of the GNU General Public License as published by 62a3282c6SBen Widawsky * the Free Software Foundation; either version 2 of the License, or 72a3282c6SBen Widawsky * (at your option) any later version. 82a3282c6SBen Widawsky 92a3282c6SBen Widawsky * This program is distributed in the hope that it will be useful, 102a3282c6SBen Widawsky * but WITHOUT ANY WARRANTY; without even the implied warranty of 112a3282c6SBen Widawsky * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 122a3282c6SBen Widawsky * GNU General Public License for more details. 132a3282c6SBen Widawsky 142a3282c6SBen Widawsky * You should have received a copy of the GNU General Public License along 152a3282c6SBen Widawsky * with this program; if not, see <http://www.gnu.org/licenses/>. 162a3282c6SBen Widawsky */ 172a3282c6SBen Widawsky 182a3282c6SBen Widawsky #ifndef HW_ACPI_CXL_H 192a3282c6SBen Widawsky #define HW_ACPI_CXL_H 202a3282c6SBen Widawsky 213d6a69b6SBen Widawsky #include "hw/acpi/bios-linker-loader.h" 2251359805SJonathan Cameron #include "hw/cxl/cxl.h" 233d6a69b6SBen Widawsky 2451359805SJonathan Cameron void cxl_build_cedt(GArray *table_offsets, GArray *table_data, 253d6a69b6SBen Widawsky BIOSLinker *linker, const char *oem_id, 2651359805SJonathan Cameron const char *oem_table_id, CXLState *cxl_state); 272a3282c6SBen Widawsky void build_cxl_osc_method(Aml *dev); 286cdd46f6SDave Jiang void build_cxl_dsm_method(Aml *dev); 292a3282c6SBen Widawsky 302a3282c6SBen Widawsky #endif 31