RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Data Structures | Macros | Functions | Variables

This source file contains the definition of _Objects_Local_node, _Objects_Maximum_nodes, _Objects_MP_Maximum_global_objects and the implementation of _Objects_MP_Handler_early_initialization(), _Objects_MP_Handler_initialization(), _Objects_MP_Open(), _Objects_MP_Allocate_and_open(), _Objects_MP_Close(), _Objects_MP_Global_name_search(), _Objects_MP_Is_remote(), _Objects_MP_Allocate_global_object(), and _Objects_MP_Free_global_object(). More...

#include <rtems/score/objectimpl.h>
#include <rtems/score/interr.h>
#include <rtems/score/isrlock.h>
#include <rtems/config.h>

Data Structures

struct  Objects_MP_Name_and_node
 

Macros

#define OBJECTS_MP_CONTROL_OF_ID_LOOKUP_NODE(node)    RTEMS_CONTAINER_OF( node, Objects_MP_Control, Nodes.Active.Id_lookup )
 
#define OBJECTS_MP_CONTROL_OF_NAME_LOOKUP_NODE(node)    RTEMS_CONTAINER_OF( node, Objects_MP_Control, Nodes.Active.Name_lookup )
 

Functions

void _Objects_MP_Handler_early_initialization (void)
 Intializes the global object node number used in the ID field of all objects.
 
void _Objects_MP_Handler_initialization (void)
 Intializes the inactive global object chain based on the maximum number of global objects configured.
 
void _Objects_MP_Open (Objects_Information *information, Objects_MP_Control *the_global_object, uint32_t the_name, Objects_Id the_id)
 Place the specified global object in the specified information table.
 
bool _Objects_MP_Allocate_and_open (Objects_Information *information, uint32_t the_name, Objects_Id the_id, bool is_fatal_error)
 Allocates a global object control block and places it in the specified information table.
 
void _Objects_MP_Close (Objects_Information *information, Objects_Id the_id)
 Removes a global object from the specified information table.
 
Status_Control _Objects_MP_Global_name_search (const Objects_Information *information, Objects_Name the_name, uint32_t nodes_to_search, Objects_Id *the_id)
 Looks for the object with the_name in the global object tables indicated by information.
 
bool _Objects_MP_Is_remote (Objects_Id the_id, const Objects_Information *information)
 Checks if the object identifier is in the global object identifier cache of the specified object information.
 
Objects_MP_Control * _Objects_MP_Allocate_global_object (void)
 This function allocates a Global Object control block.
 
void _Objects_MP_Free_global_object (Objects_MP_Control *the_global_object)
 This routine deallocates a Global Object control block.
 

Variables

uint16_t _Objects_Local_node
 
uint16_t _Objects_Maximum_nodes
 
uint32_t _Objects_MP_Maximum_global_objects
 

Detailed Description

This source file contains the definition of _Objects_Local_node, _Objects_Maximum_nodes, _Objects_MP_Maximum_global_objects and the implementation of _Objects_MP_Handler_early_initialization(), _Objects_MP_Handler_initialization(), _Objects_MP_Open(), _Objects_MP_Allocate_and_open(), _Objects_MP_Close(), _Objects_MP_Global_name_search(), _Objects_MP_Is_remote(), _Objects_MP_Allocate_global_object(), and _Objects_MP_Free_global_object().