Message ID | 20130218174459.GA21352@morn.localdomain |
---|---|
State | New |
Headers | show |
--- 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();