summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/ldiv.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-11-01 15:17:43 +0000
committerkib <kib@FreeBSD.org>2012-11-01 15:17:43 +0000
commit888a8bb7701dcdb784bfaeb4cf3753264a679a60 (patch)
tree69d3617b56dc064cee33fa82a5356bb843136422 /lib/libc/stdlib/ldiv.c
parent872b317d89fc2a1a202495e2d8321c2c50b36f8c (diff)
downloadFreeBSD-src-888a8bb7701dcdb784bfaeb4cf3753264a679a60.zip
FreeBSD-src-888a8bb7701dcdb784bfaeb4cf3753264a679a60.tar.gz
Enable the new instructions for reading and writing bases for %fs,
%gs, when supported. Note that WRFSBASE and WRGSBASE are not very useful on FreeBSD right now, because a return from the kernel mode to userspace reloads the bases specified by the sysarch(2) syscall, most likely. Enable the Supervisor Mode Execution Prevention (SMEP) when supported. Since the loader(8) performs hand-off to the kernel with the page tables which contradict the SMEP, postpone enabling the SMEP on BSP until pmap switched for the proper kernel tables. Debugged with the help from: avg Tested by: avg, Michael Moll <kvedulv@kvedulv.de> MFC after: 1 month
Diffstat (limited to 'lib/libc/stdlib/ldiv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud