| Submitter | Kevin O'Connor |
|---|---|
| Date | Feb. 18, 2013, 5:44 p.m. |
| Message ID | <20130218174459.GA21352@morn.localdomain> |
| Download | mbox | patch |
| Permalink | /patch/221425/ |
| State | New |
| Headers | show |
Comments
Patch
--- a/src/resume.c +++ b/src/resume.c @@ -129,6 +129,12 @@ tryReboot(void) { dprintf(1, "Attempting a hard reboot\n"); + dprintf(1, "before val=%x/%x\n", HaveRunPost, *(int*)((void*)&HaveRunPost + 0xfff00000)); + barrier(); + HaveRunPost = 2; + barrier(); + dprintf(1, "after val=%x/%x\n", HaveRunPost, *(int*)((void*)&HaveRunPost + 0xfff00000)); + // Setup for reset on qemu. qemu_prep_reset();