RTEMS 5.2
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
extensionimpl.h
Go to the documentation of this file.
1
9/*
10 * COPYRIGHT (c) 1989-1999.
11 * On-Line Applications Research Corporation (OAR).
12 *
13 * The license and distribution terms for this file may be
14 * found in the file LICENSE in this distribution or at
15 * http://www.rtems.org/license/LICENSE.
16 */
17
18#ifndef _RTEMS_EXTENSIONIMPL_H
19#define _RTEMS_EXTENSIONIMPL_H
20
21#include <rtems/extensiondata.h>
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
36RTEMS_INLINE_ROUTINE Extension_Control *_Extension_Allocate( void )
37{
39}
40
41RTEMS_INLINE_ROUTINE void _Extension_Free (
42 Extension_Control *the_extension
43)
44{
45 _Objects_Free( &_Extension_Information, &the_extension->Object );
46}
47
49{
50 return (Extension_Control *)
52}
53
56#ifdef __cplusplus
57}
58#endif
59
60#endif
61/* end of include file */
Classic User Extensions Data Structures.
Objects_Information _Extension_Information
The Classic Extensions objects information.
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:66
RTEMS_INLINE_ROUTINE void _Objects_Free(Objects_Information *information, Objects_Control *the_object)
Frees an object.
Definition: objectimpl.h:930
Objects_Control * _Objects_Allocate(Objects_Information *information)
Allocates an object.
Definition: objectallocate.c:42
uint32_t Objects_Id
Definition: object.h:80
Objects_Control * _Objects_Get_no_protection(Objects_Id id, const Objects_Information *information)
Maps object ids to object control blocks.
Definition: objectgetnoprotection.c:23
Inlined Routines in the Object Handler.
Definition: extensiondata.h:35