| 1 | /* |
| 2 | * QEMU CXL Host Setup |
| 3 | * |
| 4 | * Copyright (c) 2022 Huawei |
| 5 | * |
| 6 | * This work is licensed under the terms of the GNU GPL, version 2. See the |
| 7 | * COPYING file in the top-level directory. |
| 8 | */ |
| 9 | |
| 10 | #include "hw/cxl/cxl.h" |
| 11 | #include "hw/core/boards.h" |
| 12 | |
| 13 | #ifndef CXL_HOST_H |
| 14 | #define CXL_HOST_H |
| 15 | |
| 16 | void cxl_machine_init(Object *obj, CXLState *state); |
| 17 | void cxl_fmws_link_targets(Error **errp); |
| 18 | void cxl_hook_up_pxb_registers(PCIBus *bus, CXLState *state, Error **errp); |
| 19 | hwaddr cxl_fmws_set_memmap(hwaddr base, hwaddr max_addr); |
| 20 | void cxl_fmws_update_mmio(void); |
| 21 | GSList *cxl_fmws_get_all_sorted(void); |
| 22 | |
| 23 | extern const MemoryRegionOps cfmws_ops; |
| 24 | |
| 25 | #endif |