enlighten.c (6e9041c6ddd6cbdc61d87bcaca8ca7bb17c28377) | enlighten.c (60e019eb37a8d989031ad47ae9810453536f3127) |
---|---|
1/* 2 * Core of Xen paravirt_ops implementation. 3 * 4 * This file contains the xen_paravirt_ops structure itself, and the 5 * implementations for: 6 * - privileged instructions 7 * - interrupt flags 8 * - segment operations --- 1543 unchanged lines hidden (view full) --- 1552 set_iopl.iopl = 1; 1553 rc = HYPERVISOR_physdev_op(PHYSDEVOP_set_iopl, &set_iopl); 1554 if (rc != 0) 1555 xen_raw_printk("physdev_op failed %d\n", rc); 1556 1557#ifdef CONFIG_X86_32 1558 /* set up basic CPUID stuff */ 1559 cpu_detect(&new_cpu_data); | 1/* 2 * Core of Xen paravirt_ops implementation. 3 * 4 * This file contains the xen_paravirt_ops structure itself, and the 5 * implementations for: 6 * - privileged instructions 7 * - interrupt flags 8 * - segment operations --- 1543 unchanged lines hidden (view full) --- 1552 set_iopl.iopl = 1; 1553 rc = HYPERVISOR_physdev_op(PHYSDEVOP_set_iopl, &set_iopl); 1554 if (rc != 0) 1555 xen_raw_printk("physdev_op failed %d\n", rc); 1556 1557#ifdef CONFIG_X86_32 1558 /* set up basic CPUID stuff */ 1559 cpu_detect(&new_cpu_data); |
1560 new_cpu_data.hard_math = 1; | 1560 set_cpu_cap(&new_cpu_data, X86_FEATURE_FPU); |
1561 new_cpu_data.wp_works_ok = 1; 1562 new_cpu_data.x86_capability[0] = cpuid_edx(1); 1563#endif 1564 1565 /* Poke various useful things into boot_params */ 1566 boot_params.hdr.type_of_loader = (9 << 4) | 0; 1567 boot_params.hdr.ramdisk_image = xen_start_info->mod_start 1568 ? __pa(xen_start_info->mod_start) : 0; --- 185 unchanged lines hidden --- | 1561 new_cpu_data.wp_works_ok = 1; 1562 new_cpu_data.x86_capability[0] = cpuid_edx(1); 1563#endif 1564 1565 /* Poke various useful things into boot_params */ 1566 boot_params.hdr.type_of_loader = (9 << 4) | 0; 1567 boot_params.hdr.ramdisk_image = xen_start_info->mod_start 1568 ? __pa(xen_start_info->mod_start) : 0; --- 185 unchanged lines hidden --- |