Revision 0bacd130 hw/pc.c

b/hw/pc.c
1135 1135
             initrd_filename, 0, cpu_model);
1136 1136
}
1137 1137

  
1138
/* set CMOS shutdown status register (index 0xF) as S3_resume(0xFE)
1139
   BIOS will read it and start S3 resume at POST Entry */
1140
void cmos_set_s3_resume(void)
1141
{
1142
    if (rtc_state)
1143
        rtc_set_memory(rtc_state, 0xF, 0xFE);
1144
}
1145

  
1138 1146
QEMUMachine pc_machine = {
1139 1147
    .name = "pc",
1140 1148
    .desc = "Standard PC",

Also available in: Unified diff