Lines Matching +full:0 +full:xcf8
145 eax = cpuid_eax(0x80000000); in xen_set_mtrr_data()
146 if ((eax >> 16) == 0x8000 && eax >= 0x80000008) { in xen_set_mtrr_data()
147 eax = cpuid_eax(0x80000008); in xen_set_mtrr_data()
148 width = eax & 0xff; in xen_set_mtrr_data()
151 for (reg = 0; reg < MTRR_MAX_VAR_RANGES; reg++) { in xen_set_mtrr_data()
190 xen_vcpu_info_reset(0); in xen_pv_init_platform()
198 mtrr_overwrite_state(NULL, 0, MTRR_TYPE_WRBACK); in xen_pv_init_platform()
218 unsigned int maskebx = ~0; in xen_cpuid()
219 unsigned int or_ebx = 0; in xen_cpuid()
226 case 0x1: in xen_cpuid()
229 maskebx = 0x00ffffff; in xen_cpuid()
235 *ax = 0; in xen_cpuid()
236 *bx = 0; in xen_cpuid()
241 case 0xb: in xen_cpuid()
243 maskebx = 0; in xen_cpuid()
252 : "0" (*ax), "2" (*cx)); in xen_cpuid()
289 cx = 0; in xen_check_mwait()
304 bx = 0; in xen_check_mwait()
305 cx = 0; in xen_check_mwait()
306 dx = 0; in xen_check_mwait()
313 buf[0] = ACPI_PDC_REVISION_ID; in xen_check_mwait()
319 if ((HYPERVISOR_platform_op(&op) == 0) && in xen_check_mwait()
407 return 0; in xen_store_tr()
455 if (HYPERVISOR_update_va_mapping((unsigned long)v, pte, 0)) in set_aliased_prot()
460 if (va != v && HYPERVISOR_update_va_mapping((unsigned long)va, pte, 0)) in set_aliased_prot()
482 for (i = 0; i < entries; i += entries_per_page) in xen_alloc_ldt()
491 for (i = 0; i < entries; i += entries_per_page) in xen_free_ldt()
565 if (HYPERVISOR_update_va_mapping((unsigned long)va, pte, 0)) in xen_load_gdt_boot()
593 mc = __xen_mc_entry(0); in load_TLS_descriptor()
606 loadsegment(fs, 0); in xen_load_tls()
610 load_TLS_descriptor(t, cpu, 0); in xen_load_tls()
749 for (nr = 0; nr < ARRAY_SIZE(trap_array); nr++) { in get_trap_addr()
761 *addr >= (void *)early_idt_handler_array[0] && in get_trap_addr()
763 nr = (*addr - (void *)early_idt_handler_array[0]) / in get_trap_addr()
772 if (WARN_ON(found && ist != 0 && !ist_okay)) in get_trap_addr()
784 return 0; in cvt_gate_to_trap()
790 return 0; in cvt_gate_to_trap()
826 info[1].address = 0; in xen_write_idt_entry()
828 if (cvt_gate_to_trap(entrynum, g, &info[0])) in xen_write_idt_entry()
844 for (in = out = 0; in < count; in++) { in xen_convert_trap_info()
944 mcs = xen_mc_entry(0); in xen_load_sp0()
955 .nr_ports = 0, in xen_invalidate_io_bitmap()
972 iobitmap.nr_ports = 0; in xen_update_io_bitmap()
990 if (unlikely(cr0 == 0)) { in xen_read_cr0()
1006 mcs = xen_mc_entry(0); in xen_write_cr0()
1008 MULTI_fpu_taskswitch(mcs.mc, (cr0 & X86_CR0_TS) != 0); in xen_write_cr0()
1022 u64 val = 0; /* Avoid uninitialized value for safe variant. */ in xen_do_read_msr()
1035 if (smp_processor_id() == 0) in xen_do_read_msr()
1049 if (HYPERVISOR_set_segment_base(which, base) == 0) in set_seg()
1061 * Supplying an err pointer requires err to be pre-initialized with 0.
1109 int err = 0; in xen_write_msr_safe()
1234 unsigned char reason = 0; in xen_get_nmi_reason()
1236 /* Construct a value which looks like it came from port 0x61. */ in xen_get_nmi_reason()
1262 for (nr = 0; nr < EDDMAXNR; nr++) { in xen_boot_params_init_edd()
1285 for (nr = 0; nr < EDD_MBR_SIG_MAX; nr++) { in xen_boot_params_init_edd()
1319 x86_platform.legacy.rtc = 0; in xen_domu_set_legacy_features()
1328 unsigned long initrd_start = 0; in xen_start_kernel()
1362 xen_vcpu_info_reset(0); in xen_start_kernel()
1398 xen_setup_gdt(0); in xen_start_kernel()
1403 /* Let's presume PV guests always boot on vCPU with id 0. */ in xen_start_kernel()
1404 per_cpu(xen_vcpu_id, 0) = 0; in xen_start_kernel()
1422 xen_initial_gdt = &per_cpu(gdt_page, 0); in xen_start_kernel()
1446 * early_amd_init which pokes 0xcf8 port. in xen_start_kernel()
1450 if (rc != 0) in xen_start_kernel()
1462 boot_params.hdr.type_of_loader = (9 << 4) | 0; in xen_start_kernel()
1487 xen_start_info->console.domU.mfn = 0; in xen_start_kernel()
1488 xen_start_info->console.domU.evtchn = 0; in xen_start_kernel()
1490 if (HYPERVISOR_platform_op(&op) == 0) in xen_start_kernel()
1519 xen_setup_runstate_info(0); in xen_start_kernel()
1551 return 0; in xen_cpu_up_prepare_pv()
1561 return 0; in xen_cpu_dead_pv()
1569 return 0; in xen_platform_pv()