coreint cxl_mem_downstream_port_managing
API Reference Manual  /  4 Model-to-Model Interfaces  / 

cxl_map

Description
This interface is used to claim ranges in CXL address spaces.

Functions add_map and del_map are used to add and remove maps, map_obj will be mapped in the address space indicated by type according to the information in info.

Note: This interface is considered tech-preview and may change without notice.

typedef enum {
        CXL_Type_Not_Set,
        CXL_Type_Io,
        CXL_Type_Mem,
        CXL_Type_Cache,
        CXL_Type_Other,
} cxl_type_t;

SIM_INTERFACE(cxl_map)
{
        void (*add_map)(conf_object_t *obj, conf_object_t *map_obj,
                        map_info_t info, cxl_type_t type);
        void (*del_map)(conf_object_t *obj, conf_object_t *map_obj,
                        physical_address_t base, cxl_type_t type);
};

#define CXL_MAP_INTERFACE "cxl_map"

Execution Context
Cell Context for all methods.

coreint cxl_mem_downstream_port_managing