Skip to content
Commit 8ac992bf authored by Sarath R Nair's avatar Sarath R Nair Committed by Andrew Boie
Browse files

quark_se: Save/restore debug registers.



In order to set breakpoints after waking up from sleep,
it is needed to save DR0/DR1/DR2/DR3 and DR6/DR7.

As DR4/DR5 are reserved or mapped to DR6/DR7, they are not saved.

Patch2 : Added compile time checks for debug build or soc_watch
build for Intel Energy analysis.

Patch3 : Avoid clobbering of edx.

JIRA: ZEP-1681

Change-Id: I62fbedca16953d57196420ecae4fb93c785bb4a5
Signed-off-by: default avatarSarath R Nair <sarath.nandu.ramachandran.nair@intel.com>
parent 72040037
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment