MCPcopy Create free account
hub / github.com/F-Stack/f-stack / inout_str_count

Function inout_str_count

freebsd/amd64/vmm/intel/vmx.c:1970–1983  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1968}
1969
1970static uint64_t
1971inout_str_count(struct vmx *vmx, int vcpuid, int rep)
1972{
1973 uint64_t val;
1974 int error;
1975
1976 if (rep) {
1977 error = vmx_getreg(vmx, vcpuid, VM_REG_GUEST_RCX, &val);
1978 KASSERT(!error, ("%s: vmx_getreg error %d", __func__, error));
1979 } else {
1980 val = 1;
1981 }
1982 return (val);
1983}
1984
1985static int
1986inout_str_addrsize(uint32_t inst_info)

Callers 1

vmx_exit_processFunction · 0.85

Calls 1

vmx_getregFunction · 0.85

Tested by

no test coverage detected