Skip to content

Requesting clarification wrt memory read operation in CSWP server #3

@aanuroop

Description

@aanuroop

Inside the below function : in file /target/cswp_server/cswp_impl.c
static int cswp_server_impl_mem_read

There is a line which states:

    /* Only device 0 supports mem access */
    if (deviceIndex != 0)
        return CSWP_UNSUPPORTED;

Based on my understanding , even a mem-ap device (which has a non 0 device index) supports MEM accesses. The above condition (which returns CSWP_UNSUPPORTED if it sees deviceIndex !=0 ) however has higher priority than the code written for mem-ap to handle MEM read operation.

Can you please help clarify if that is expected ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions