mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 20:10:27 +08:00
Support for variable length names added to Object Handler. This supports
both fixed length "raw" names and strings from the API's point of view. Both inline and macro implementations were tested.
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rtems/types.h>
|
||||
#include <rtems/object.h>
|
||||
#include <rtems/thread.h>
|
||||
|
||||
@@ -32,7 +33,7 @@ extern "C" {
|
||||
*/
|
||||
|
||||
typedef struct {
|
||||
Objects_Name name; /* task name */
|
||||
rtems_name name; /* task name */
|
||||
unsigned32 stack_size; /* task stack size */
|
||||
rtems_task_priority initial_priority; /* task priority */
|
||||
rtems_attribute attribute_set; /* task attributes */
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rtems.h>
|
||||
#include <rtems/object.h>
|
||||
#include <rtems/userext.h>
|
||||
|
||||
@@ -72,7 +73,7 @@ void _Extension_Manager_initialization(
|
||||
*/
|
||||
|
||||
rtems_status_code rtems_extension_create(
|
||||
Objects_Name name,
|
||||
rtems_name name,
|
||||
rtems_extensions_table *extension_table,
|
||||
Objects_Id *id
|
||||
);
|
||||
@@ -89,7 +90,7 @@ rtems_status_code rtems_extension_create(
|
||||
*/
|
||||
|
||||
rtems_status_code rtems_extension_ident(
|
||||
Objects_Name name,
|
||||
rtems_name name,
|
||||
Objects_Id *id
|
||||
);
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <rtems/types.h>
|
||||
#include <rtems/config.h>
|
||||
#include <rtems/intr.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user