Revision ebda377f target-i386/helper.c

b/target-i386/helper.c
99 99

  
100 100
    env->mxcsr = 0x1f80;
101 101

  
102
    env->pat = 0x0007040600070406ULL;
103

  
102 104
    memset(env->dr, 0, sizeof(env->dr));
103 105
    env->dr[6] = DR6_FIXED_1;
104 106
    env->dr[7] = DR7_FIXED_1;
......
1280 1282
void do_cpu_init(CPUState *env)
1281 1283
{
1282 1284
    int sipi = env->interrupt_request & CPU_INTERRUPT_SIPI;
1285
    uint64_t pat = env->pat;
1286

  
1283 1287
    cpu_reset(env);
1284 1288
    env->interrupt_request = sipi;
1289
    env->pat = pat;
1285 1290
    apic_init_reset(env->apic_state);
1286 1291
    env->halted = !cpu_is_bsp(env);
1287 1292
}

Also available in: Unified diff