[0] = {
.op = CPU_MEMCPY_OP,
.len = len,
- .u.memcpy_op.dst = (unsigned long)old,
- .u.memcpy_op.src = (unsigned long)v,
- .u.memcpy_op.expect_fault_dst = 0,
- .u.memcpy_op.expect_fault_src = 0,
+ .u.memcpy_op = {
+ .dst = (unsigned long)old,
+ .src = (unsigned long)v,
+ .expect_fault_dst = 0,
+ .expect_fault_src = 0,
+ },
},
[1] = {
.op = CPU_COMPARE_EQ_OP,
.len = len,
- .u.compare_op.a = (unsigned long)v,
- .u.compare_op.b = (unsigned long)expect,
- .u.compare_op.expect_fault_a = 0,
- .u.compare_op.expect_fault_b = 0,
+ .u.compare_op = {
+ .a = (unsigned long)v,
+ .b = (unsigned long)expect,
+ .expect_fault_a = 0,
+ .expect_fault_b = 0,
+ },
},
[2] = {
.op = CPU_MEMCPY_OP,
.len = len,
- .u.memcpy_op.dst = (unsigned long)v,
- .u.memcpy_op.src = (unsigned long)n,
- .u.memcpy_op.expect_fault_dst = 0,
- .u.memcpy_op.expect_fault_src = 0,
+ .u.memcpy_op = {
+ .dst = (unsigned long)v,
+ .src = (unsigned long)n,
+ .expect_fault_dst = 0,
+ .expect_fault_src = 0,
+ },
},
};
[0] = {
.op = CPU_ADD_OP,
.len = len,
- .u.arithmetic_op.p = (unsigned long)v,
- .u.arithmetic_op.count = count,
- .u.arithmetic_op.expect_fault_p = 0,
+ .u.arithmetic_op = {
+ .p = (unsigned long)v,
+ .count = count,
+ .expect_fault_p = 0,
+ },
},
};
[0] = {
.op = CPU_COMPARE_EQ_OP,
.len = sizeof(intptr_t),
- .u.compare_op.a = (unsigned long)v,
- .u.compare_op.b = (unsigned long)&expect,
- .u.compare_op.expect_fault_a = 0,
- .u.compare_op.expect_fault_b = 0,
+ .u.compare_op = {
+ .a = (unsigned long)v,
+ .b = (unsigned long)&expect,
+ .expect_fault_a = 0,
+ .expect_fault_b = 0,
+ },
},
[1] = {
.op = CPU_MEMCPY_OP,
.len = sizeof(intptr_t),
- .u.memcpy_op.dst = (unsigned long)v,
- .u.memcpy_op.src = (unsigned long)&newv,
- .u.memcpy_op.expect_fault_dst = 0,
- .u.memcpy_op.expect_fault_src = 0,
+ .u.memcpy_op = {
+ .dst = (unsigned long)v,
+ .src = (unsigned long)&newv,
+ .expect_fault_dst = 0,
+ .expect_fault_src = 0,
+ },
},
};
[0] = {
.op = CPU_COMPARE_EQ_OP,
.len = sizeof(intptr_t),
- .u.compare_op.a = (unsigned long)v,
- .u.compare_op.b = (unsigned long)&expect,
- .u.compare_op.expect_fault_a = 0,
- .u.compare_op.expect_fault_b = 0,
+ .u.compare_op = {
+ .a = (unsigned long)v,
+ .b = (unsigned long)&expect,
+ .expect_fault_a = 0,
+ .expect_fault_b = 0,
+ },
},
[1] = {
.op = CPU_MEMCPY_OP,
.len = sizeof(intptr_t),
- .u.memcpy_op.dst = (unsigned long)v,
- .u.memcpy_op.src = (unsigned long)newp,
- .u.memcpy_op.expect_fault_dst = 0,
- /* Return EAGAIN on src fault. */
- .u.memcpy_op.expect_fault_src = 1,
+ .u.memcpy_op = {
+ .dst = (unsigned long)v,
+ .src = (unsigned long)newp,
+ .expect_fault_dst = 0,
+ /* Return EAGAIN on src fault. */
+ .expect_fault_src = 1,
+ },
},
};
[0] = {
.op = CPU_COMPARE_EQ_OP,
.len = sizeof(intptr_t),
- .u.compare_op.a = (unsigned long)v,
- .u.compare_op.b = (unsigned long)&expect,
- .u.compare_op.expect_fault_a = 0,
- .u.compare_op.expect_fault_b = 0,
+ .u.compare_op = {
+ .a = (unsigned long)v,
+ .b = (unsigned long)&expect,
+ .expect_fault_a = 0,
+ .expect_fault_b = 0,
+ },
},
[1] = {
.op = CPU_MEMCPY_OP,
.len = sizeof(intptr_t),
- .u.memcpy_op.dst = (unsigned long)v2,
- .u.memcpy_op.src = (unsigned long)&newv2,
- .u.memcpy_op.expect_fault_dst = 0,
- .u.memcpy_op.expect_fault_src = 0,
+ .u.memcpy_op = {
+ .dst = (unsigned long)v2,
+ .src = (unsigned long)&newv2,
+ .expect_fault_dst = 0,
+ .expect_fault_src = 0,
+ },
},
[2] = {
.op = CPU_MEMCPY_OP,
.len = sizeof(intptr_t),
- .u.memcpy_op.dst = (unsigned long)v,
- .u.memcpy_op.src = (unsigned long)&newv,
- .u.memcpy_op.expect_fault_dst = 0,
- .u.memcpy_op.expect_fault_src = 0,
+ .u.memcpy_op = {
+ .dst = (unsigned long)v,
+ .src = (unsigned long)&newv,
+ .expect_fault_dst = 0,
+ .expect_fault_src = 0,
+ },
},
};
[0] = {
.op = CPU_COMPARE_EQ_OP,
.len = sizeof(intptr_t),
- .u.compare_op.a = (unsigned long)v,
- .u.compare_op.b = (unsigned long)&expect,
- .u.compare_op.expect_fault_a = 0,
- .u.compare_op.expect_fault_b = 0,
+ .u.compare_op = {
+ .a = (unsigned long)v,
+ .b = (unsigned long)&expect,
+ .expect_fault_a = 0,
+ .expect_fault_b = 0,
+ },
},
[1] = {
.op = CPU_MEMCPY_OP,
.len = sizeof(intptr_t),
- .u.memcpy_op.dst = (unsigned long)v2,
- .u.memcpy_op.src = (unsigned long)&newv2,
- .u.memcpy_op.expect_fault_dst = 0,
- .u.memcpy_op.expect_fault_src = 0,
+ .u.memcpy_op = {
+ .dst = (unsigned long)v2,
+ .src = (unsigned long)&newv2,
+ .expect_fault_dst = 0,
+ .expect_fault_src = 0,
+ },
},
[2] = {
.op = CPU_MEMCPY_RELEASE_OP,
.len = sizeof(intptr_t),
- .u.memcpy_op.dst = (unsigned long)v,
- .u.memcpy_op.src = (unsigned long)&newv,
- .u.memcpy_op.expect_fault_dst = 0,
- .u.memcpy_op.expect_fault_src = 0,
+ .u.memcpy_op = {
+ .dst = (unsigned long)v,
+ .src = (unsigned long)&newv,
+ .expect_fault_dst = 0,
+ .expect_fault_src = 0,
+ },
},
};
[0] = {
.op = CPU_COMPARE_EQ_OP,
.len = sizeof(intptr_t),
- .u.compare_op.a = (unsigned long)v,
- .u.compare_op.b = (unsigned long)&expect,
- .u.compare_op.expect_fault_a = 0,
- .u.compare_op.expect_fault_b = 0,
+ .u.compare_op = {
+ .a = (unsigned long)v,
+ .b = (unsigned long)&expect,
+ .expect_fault_a = 0,
+ .expect_fault_b = 0,
+ },
},
[1] = {
.op = CPU_COMPARE_EQ_OP,
.len = sizeof(intptr_t),
- .u.compare_op.a = (unsigned long)v2,
- .u.compare_op.b = (unsigned long)&expect2,
- .u.compare_op.expect_fault_a = 0,
- .u.compare_op.expect_fault_b = 0,
+ .u.compare_op = {
+ .a = (unsigned long)v2,
+ .b = (unsigned long)&expect2,
+ .expect_fault_a = 0,
+ .expect_fault_b = 0,
+ },
},
[2] = {
.op = CPU_MEMCPY_OP,
.len = sizeof(intptr_t),
- .u.memcpy_op.dst = (unsigned long)v,
- .u.memcpy_op.src = (unsigned long)&newv,
- .u.memcpy_op.expect_fault_dst = 0,
- .u.memcpy_op.expect_fault_src = 0,
+ .u.memcpy_op = {
+ .dst = (unsigned long)v,
+ .src = (unsigned long)&newv,
+ .expect_fault_dst = 0,
+ .expect_fault_src = 0,
+ },
},
};
[0] = {
.op = CPU_COMPARE_EQ_OP,
.len = sizeof(intptr_t),
- .u.compare_op.a = (unsigned long)v,
- .u.compare_op.b = (unsigned long)&expect,
- .u.compare_op.expect_fault_a = 0,
- .u.compare_op.expect_fault_b = 0,
+ .u.compare_op = {
+ .a = (unsigned long)v,
+ .b = (unsigned long)&expect,
+ .expect_fault_a = 0,
+ .expect_fault_b = 0,
+ },
},
[1] = {
.op = CPU_MEMCPY_OP,
.len = len,
- .u.memcpy_op.dst = (unsigned long)dst,
- .u.memcpy_op.src = (unsigned long)src,
- .u.memcpy_op.expect_fault_dst = 0,
- .u.memcpy_op.expect_fault_src = 0,
+ .u.memcpy_op = {
+ .dst = (unsigned long)dst,
+ .src = (unsigned long)src,
+ .expect_fault_dst = 0,
+ .expect_fault_src = 0,
+ },
},
[2] = {
.op = CPU_MEMCPY_OP,
.len = sizeof(intptr_t),
- .u.memcpy_op.dst = (unsigned long)v,
- .u.memcpy_op.src = (unsigned long)&newv,
- .u.memcpy_op.expect_fault_dst = 0,
- .u.memcpy_op.expect_fault_src = 0,
+ .u.memcpy_op = {
+ .dst = (unsigned long)v,
+ .src = (unsigned long)&newv,
+ .expect_fault_dst = 0,
+ .expect_fault_src = 0,
+ },
},
};
[0] = {
.op = CPU_COMPARE_EQ_OP,
.len = sizeof(intptr_t),
- .u.compare_op.a = (unsigned long)v,
- .u.compare_op.b = (unsigned long)&expect,
- .u.compare_op.expect_fault_a = 0,
- .u.compare_op.expect_fault_b = 0,
+ .u.compare_op = {
+ .a = (unsigned long)v,
+ .b = (unsigned long)&expect,
+ .expect_fault_a = 0,
+ .expect_fault_b = 0,
+ },
},
[1] = {
.op = CPU_MEMCPY_OP,
.len = len,
- .u.memcpy_op.dst = (unsigned long)dst,
- .u.memcpy_op.src = (unsigned long)src,
- .u.memcpy_op.expect_fault_dst = 0,
- .u.memcpy_op.expect_fault_src = 0,
+ .u.memcpy_op = {
+ .dst = (unsigned long)dst,
+ .src = (unsigned long)src,
+ .expect_fault_dst = 0,
+ .expect_fault_src = 0,
+ },
},
[2] = {
.op = CPU_MEMCPY_RELEASE_OP,
.len = sizeof(intptr_t),
- .u.memcpy_op.dst = (unsigned long)v,
- .u.memcpy_op.src = (unsigned long)&newv,
- .u.memcpy_op.expect_fault_dst = 0,
- .u.memcpy_op.expect_fault_src = 0,
+ .u.memcpy_op = {
+ .dst = (unsigned long)v,
+ .src = (unsigned long)&newv,
+ .expect_fault_dst = 0,
+ .expect_fault_src = 0,
+ },
},
};