cxl.h 1.0 KB

123456789101112131415161718192021222324252627282930
  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. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. * You should have received a copy of the GNU General Public License along
  13. * with this program; if not, see <http://www.gnu.org/licenses/>.
  14. */
  15. #ifndef HW_ACPI_CXL_H
  16. #define HW_ACPI_CXL_H
  17. #include "hw/acpi/bios-linker-loader.h"
  18. #include "hw/cxl/cxl.h"
  19. void cxl_build_cedt(GArray *table_offsets, GArray *table_data,
  20. BIOSLinker *linker, const char *oem_id,
  21. const char *oem_table_id, CXLState *cxl_state);
  22. void build_cxl_osc_method(Aml *dev);
  23. void build_cxl_dsm_method(Aml *dev);
  24. #endif