Searched refs:phys_bits (Results 1 – 14 of 14) sorted by relevance
/openbmc/qemu/target/i386/ |
H A D | host-cpu.c | 48 uint32_t phys_bits = cpu->phys_bits; in host_cpu_adjust_phys_bits() local 54 if (phys_bits != host_phys_bits && phys_bits != 0) { in host_cpu_adjust_phys_bits() 57 host_phys_bits, phys_bits); in host_cpu_adjust_phys_bits() 62 phys_bits = host_phys_bits; in host_cpu_adjust_phys_bits() 64 phys_bits > cpu->host_phys_bits_limit) { in host_cpu_adjust_phys_bits() 65 phys_bits = cpu->host_phys_bits_limit; in host_cpu_adjust_phys_bits() 69 cpu->phys_bits = phys_bits; in host_cpu_adjust_phys_bits()
|
H A D | cpu.c | 7030 *eax = cpu->phys_bits; in cpu_x86_cpuid() 7905 if (cpu->phys_bits && in x86_cpu_realizefn() 7906 (cpu->phys_bits > TARGET_PHYS_ADDR_SPACE_BITS || in x86_cpu_realizefn() 7907 cpu->phys_bits < 32)) { in x86_cpu_realizefn() 7910 TARGET_PHYS_ADDR_SPACE_BITS, cpu->phys_bits); in x86_cpu_realizefn() 7918 if (cpu->phys_bits == 0) { in x86_cpu_realizefn() 7919 cpu->phys_bits = TCG_PHYS_ADDR_BITS; in x86_cpu_realizefn() 7922 (cpu->guest_phys_bits > cpu->phys_bits || in x86_cpu_realizefn() 7926 cpu->phys_bits, cpu->guest_phys_bits); in x86_cpu_realizefn() 7933 if (cpu->phys_bits != 0) { in x86_cpu_realizefn() [all …]
|
H A D | cpu.h | 2200 uint32_t phys_bits; member
|
/openbmc/qemu/target/i386/kvm/ |
H A D | kvm-cpu.c | 31 if (cpu->guest_phys_bits > cpu->phys_bits) { in kvm_set_guest_phys_bits() 32 cpu->guest_phys_bits = cpu->phys_bits; in kvm_set_guest_phys_bits()
|
H A D | kvm.c | 4095 uint64_t phys_mask = MAKE_64BIT_MASK(0, cpu->phys_bits); in kvm_put_msrs() 4624 assert(cpu->phys_bits <= TARGET_PHYS_ADDR_SPACE_BITS); in kvm_get_msrs() 4625 mtrr_top_bits = MAKE_64BIT_MASK(cpu->phys_bits, 52 - cpu->phys_bits); in kvm_get_msrs()
|
/openbmc/qemu/target/i386/tcg/sysemu/ |
H A D | svm_helper.c | 176 if (addr & (0xfff | ((~0ULL) << env_archcpu(env)->phys_bits))) { in helper_vmrun() 275 if ((msrpm_base_pa & ~0xfff) >= (1ull << cpu->phys_bits) - SVM_MSRPM_SIZE) { in helper_vmrun() 279 if ((iopm_base_pa & ~0xfff) >= (1ull << cpu->phys_bits) - SVM_IOPM_SIZE) { in helper_vmrun() 318 (new_cr3 & ((~0ULL) << cpu->phys_bits))) { in helper_vmrun() 489 if (addr & (0xfff | ((~0ULL) << env_archcpu(env)->phys_bits))) { in helper_vmload() 550 if (addr & (0xfff | ((~0ULL) << env_archcpu(env)->phys_bits))) { in helper_vmsave()
|
H A D | misc_helper.c | 92 (t0 & ((~0ULL) << env_archcpu(env)->phys_bits))) { in helper_write_crN() 205 if (val & (0xfff | ((~0ULL) << env_archcpu(env)->phys_bits))) { in helper_wrmsr()
|
H A D | excp_helper.c | 160 rsvd_mask = ~MAKE_64BIT_MASK(0, env_archcpu(env)->phys_bits); in mmu_translate()
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | processor.h | 85 unsigned int phys_bits; member
|
/openbmc/linux/arch/sh/kernel/cpu/ |
H A D | proc.c | 124 seq_printf(m, "address sizes\t: %u bits physical\n", c->phys_bits); in show_cpuinfo()
|
H A D | init.c | 344 current_cpu_data.phys_bits = __in_29bit_mode() ? 29 : 32; in cpu_init()
|
/openbmc/linux/arch/sh/kernel/ |
H A D | setup.c | 60 .phys_bits = MAX_PHYSMEM_BITS,
|
/openbmc/qemu/hw/i386/ |
H A D | pc.c | 764 return ((hwaddr)1 << cpu->phys_bits) - 1; in pc_max_used_gpa() 860 if (cpu->phys_bits >= 40) { in pc_memory_init() 870 maxphysaddr = ((hwaddr)1 << cpu->phys_bits) - 1; in pc_memory_init() 874 maxphysaddr, maxusedaddr, cpu->phys_bits); in pc_memory_init()
|
H A D | microvm.c | 232 hwaddr phys_size = (hwaddr)1 << X86_CPU(first_cpu)->phys_bits; in microvm_devices_init()
|