Last change
on this file since 628bd9b was
628bd9b,
checked in by Joel Sherrill <joel@…>, on 03/22/22 at 19:40:34
|
cpukit/: Update Eric Norum contact info and normalize file headers
|
-
Property mode set to
100644
|
File size:
786 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief Termios Initialization |
---|
5 | * @ingroup Termios |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * Copyright (c) 1997 Eric Norum <eric@norum.ca> |
---|
10 | * |
---|
11 | * The license and distribution terms for this file may be |
---|
12 | * found in the file LICENSE in this distribution or at |
---|
13 | * http://www.rtems.org/license/LICENSE. |
---|
14 | */ |
---|
15 | |
---|
16 | #ifdef HAVE_CONFIG_H |
---|
17 | #include "config.h" |
---|
18 | #endif |
---|
19 | |
---|
20 | #include <rtems/termiostypes.h> |
---|
21 | |
---|
22 | void |
---|
23 | rtems_termios_device_lock_acquire_default( |
---|
24 | rtems_termios_device_context *ctx, |
---|
25 | rtems_interrupt_lock_context *lock_context |
---|
26 | ) |
---|
27 | { |
---|
28 | rtems_interrupt_lock_acquire (&ctx->lock.interrupt, lock_context); |
---|
29 | } |
---|
30 | |
---|
31 | void |
---|
32 | rtems_termios_device_lock_release_default( |
---|
33 | rtems_termios_device_context *ctx, |
---|
34 | rtems_interrupt_lock_context *lock_context |
---|
35 | ) |
---|
36 | { |
---|
37 | rtems_interrupt_lock_release (&ctx->lock.interrupt, lock_context); |
---|
38 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.