Displaying 2 results from an estimated 2 matches for "dbg_dump_frame".
2020 Aug 11
2
clarifying the handling of responses for virtio-rpmb
...et;
struct __packed {
struct rpmb_ioc_seq_cmd h;
struct rpmb_ioc_cmd cmd[3];
} iseq = {};
void *frame_res = NULL;
int i;
uint32_t flags;
rpmb_dbg("RPMB OP: %s\n", rpmb_op_str(req));
dbg_dump_frame(frame_type, "In Frame: ", frames_in, cnt_in);
i = 0;
flags = RPMB_F_WRITE;
if (req == RPMB_WRITE_DATA || req == RPMB_PROGRAM_KEY)
flags |= RPMB_F_REL_WRITE;
rpmb_ioc_cmd_set(iseq.cmd[i], flags, frames_in, cnt_in);
i++;...
2020 Sep 11
0
[virtio-dev] Re: clarifying the handling of responses for virtio-rpmb
...oc_cmd cmd[3];
>>> } iseq = {};
>>>
>>> void *frame_res = NULL;
>>> int i;
>>> uint32_t flags;
>>>
>>> rpmb_dbg("RPMB OP: %s\n", rpmb_op_str(req));
>>> dbg_dump_frame(frame_type, "In Frame: ", frames_in, cnt_in);
>>>
>>> i = 0;
>>> flags = RPMB_F_WRITE;
>>> if (req == RPMB_WRITE_DATA || req == RPMB_PROGRAM_KEY)
>>> flags |= RPMB_F_REL_WRITE;
>>>...