File indexing completed on 2025-05-11 08:24:15
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #ifdef HAVE_CONFIG_H
0020 #include "config.h"
0021 #endif
0022
0023 #include <rtems/termiosdevice.h>
0024
0025 void
0026 rtems_termios_device_lock_acquire_default(
0027 rtems_termios_device_context *ctx,
0028 rtems_interrupt_lock_context *lock_context
0029 )
0030 {
0031 rtems_interrupt_lock_acquire (&ctx->lock.interrupt, lock_context);
0032 }
0033
0034 void
0035 rtems_termios_device_lock_release_default(
0036 rtems_termios_device_context *ctx,
0037 rtems_interrupt_lock_context *lock_context
0038 )
0039 {
0040 rtems_interrupt_lock_release (&ctx->lock.interrupt, lock_context);
0041 }