Searched refs:stack_vaddr (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/tools/testing/selftests/kvm/lib/s390x/ |
D | processor.c | 162 uint64_t stack_vaddr; in vm_arch_vcpu_add() local 171 stack_vaddr = __vm_vaddr_alloc(vm, stack_size, in vm_arch_vcpu_add() 179 regs.gprs[15] = stack_vaddr + (DEFAULT_STACK_PGS * getpagesize()) - 160; in vm_arch_vcpu_add()
|
/Linux-v6.6/tools/testing/selftests/kvm/lib/riscv/ |
D | processor.c | 285 unsigned long stack_vaddr; in vm_arch_vcpu_add() local 292 stack_vaddr = __vm_vaddr_alloc(vm, stack_size, in vm_arch_vcpu_add() 314 vcpu_set_reg(vcpu, RISCV_CORE_REG(regs.sp), stack_vaddr + stack_size); in vm_arch_vcpu_add()
|
/Linux-v6.6/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 570 vm_vaddr_t stack_vaddr; in vm_arch_vcpu_add() local 573 stack_vaddr = __vm_vaddr_alloc(vm, DEFAULT_STACK_PGS * getpagesize(), in vm_arch_vcpu_add() 577 stack_vaddr += DEFAULT_STACK_PGS * getpagesize(); in vm_arch_vcpu_add() 588 TEST_ASSERT(IS_ALIGNED(stack_vaddr, PAGE_SIZE), in vm_arch_vcpu_add() 590 stack_vaddr -= 8; in vm_arch_vcpu_add() 599 regs.rsp = stack_vaddr; in vm_arch_vcpu_add()
|
/Linux-v6.6/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 351 uint64_t stack_vaddr; in aarch64_vcpu_add() local 356 stack_vaddr = __vm_vaddr_alloc(vm, stack_size, in aarch64_vcpu_add() 362 vcpu_set_reg(vcpu, ARM64_CORE_REG(sp_el1), stack_vaddr + stack_size); in aarch64_vcpu_add()
|