diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-19 21:41:18 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-24 09:22:36 +0100 |
commit | d6a649d5bf2a7e08ef80f9e14b9ee9a37a442fee (patch) | |
tree | 901a90a03bba7f5e077f94f51c7a19327f2c6e37 /cpukit/include/rtems/rtems/types.h | |
parent | score: Remove _CORE_barrier_Do_flush() (diff) | |
download | rtems-d6a649d5bf2a7e08ef80f9e14b9ee9a37a442fee.tar.bz2 |
rtems: Move rtems_task_priority definition
This type is not only used by Task Manager directives. This is a
preparation to move the rtems_scheduler_*() directives from
<rtems/rtems/tasks.h> to a new <rtems/rtems/scheduler.h>.
Diffstat (limited to '')
-rw-r--r-- | cpukit/include/rtems/rtems/types.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/cpukit/include/rtems/rtems/types.h b/cpukit/include/rtems/rtems/types.h index a058eedea1..bf656b623e 100644 --- a/cpukit/include/rtems/rtems/types.h +++ b/cpukit/include/rtems/rtems/types.h @@ -7,8 +7,8 @@ */ /* - * Copyright (C) 2009, 2020 embedded brains GmbH (http://www.embedded-brains.de) - * Copyright (C) 2006, 2008 On-Line Applications Research Corporation (OAR) + * Copyright (C) 2009, 2021 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 1988, 2017 On-Line Applications Research Corporation (OAR) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -254,6 +254,15 @@ typedef uint32_t rtems_name; typedef MP_packet_Prefix rtems_packet_prefix; #endif +/* Generated from spec:/rtems/type/if/priority */ + +/** + * @ingroup RTEMSAPIClassicTypes + * + * @brief This integer type represents task priorities of the Classic API. + */ +typedef uint32_t rtems_task_priority; + /* Generated from spec:/rtems/type/if/time-of-day */ /** |