summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2003-06-26 03:55:58 +0000
committermarcel <marcel@FreeBSD.org>2003-06-26 03:55:58 +0000
commita6cc46f9c7752bbd15729e684d4428adbefd4069 (patch)
treeb0fde455c2721227a455a501f893666d59d73cf2 /sys/kern/kern_clock.c
parent96a2974d03abdc99936766ffe10848a8b7fb509f (diff)
downloadFreeBSD-src-a6cc46f9c7752bbd15729e684d4428adbefd4069.zip
FreeBSD-src-a6cc46f9c7752bbd15729e684d4428adbefd4069.tar.gz
Implement _thr_enter_uts() and _thr_switch() as inline functions to
minimize the amount and complexity of assembly code that needs to be written. This way the core functionality is spread over 3 elementary functions that don't have to do anything that can more easily and more safely be done in C. As such, assembly code will only have to know about the definition of mcontext_t. The runtime cost of not having these functions being inlined is less important than the cleanliness and maintainability of the code at this stage of the implementation.
Diffstat (limited to 'sys/kern/kern_clock.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud