CVSROOT: /cvs Module name: src Changes by: mlar...@cvs.openbsd.org 2013/05/31 14:00:00
Modified files: sys/arch/amd64/amd64: hibernate_machdep.c sys/arch/amd64/include: hibernate.h sys/arch/i386/i386: hibernate_machdep.c sys/arch/i386/include: hibernate.h sys/kern : subr_hibernate.c Log message: We need to halt the APs on MP hibernate resume or else they will be executing code possibly causing side effects during the image unpack operation. But before we can halt the APs, we need to complete their init (as they will be hatched but idling, possibly with interrupts off). Introduces MD function hibernate_quiesce_cpus to do this, called from the MI hibernate resume code. ok deraadt