summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/llabs.c
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2009-02-27 12:08:24 +0000
committerraj <raj@FreeBSD.org>2009-02-27 12:08:24 +0000
commitb86fc6783988150fa890cbba0bbd1c3547e6360d (patch)
tree8b41f61a7208bd8888ebad2d80a7da1d913c93f4 /lib/libc/stdlib/llabs.c
parent01cc5b6616afb7ff0d494ccddc3dc721ad54ef68 (diff)
downloadFreeBSD-src-b86fc6783988150fa890cbba0bbd1c3547e6360d.zip
FreeBSD-src-b86fc6783988150fa890cbba0bbd1c3547e6360d.tar.gz
Make Book-E debug register state part of the PCB context.
Previously, DBCR0 flags were set "globally", but this leads to problems because Book-E fine grained debug settings work only in conjuction with the debug master enable bit in MSR: in scenarios when the DBCR0 was set with intention to debug one process, but another one with MSR[DE] set got scheduled, the latter would immediately cause debug exceptions to occur upon execution of its own code instructions (and not the one intended for debugging). To avoid such problems and properly handle debugging context, DBCR0 state should be managed individually per process. Submitted by: Grzegorz Bernacki gjb ! semihalf dot com Reviewed by: marcel
Diffstat (limited to 'lib/libc/stdlib/llabs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud