diff options
author | cognet <cognet@FreeBSD.org> | 2009-02-12 23:23:30 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2009-02-12 23:23:30 +0000 |
commit | a4557d874cea19c85b904233ff0bc7ec8fc632ee (patch) | |
tree | 12b428cc8123665fb6db4a1437aa7d2d1f139c8c /sys/arm/include/proc.h | |
parent | fd95932030a1e694173ce5b6c7d417ad5938b302 (diff) | |
download | FreeBSD-src-a4557d874cea19c85b904233ff0bc7ec8fc632ee.zip FreeBSD-src-a4557d874cea19c85b904233ff0bc7ec8fc632ee.tar.gz |
To prevent various race conditions in the RAS code, store and restore the
values in ARM_RAS_START and ARM_RAS_END at context switch time.
MFC after: 1 week
Diffstat (limited to 'sys/arm/include/proc.h')
-rw-r--r-- | sys/arm/include/proc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/include/proc.h b/sys/arm/include/proc.h index 597c75c..c7b2a4e 100644 --- a/sys/arm/include/proc.h +++ b/sys/arm/include/proc.h @@ -51,6 +51,8 @@ struct mdthread { int md_ptrace_instr; int md_ptrace_addr; void *md_tp; + void *md_ras_start; + void *md_ras_end; }; struct mdproc { |