2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>

* rtems.adb, rtems.ads: Correct binding to Object_Get_Name. Now works.
This commit is contained in:
Joel Sherrill
2008-02-04 17:18:23 +00:00
parent 3ca942abf8
commit 209f190f90
3 changed files with 8 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb, rtems.ads: Correct binding to Object_Get_Name. Now works.
2008-02-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems.adb, rtems.ads: Object_Get_Name now has a proper implementation

View File

@@ -2012,13 +2012,13 @@ package body RTEMS is
procedure Object_Get_Name(
ID : in RTEMS.ID;
Name : out String;
Result : out RTEMS.Status_Codes
Result : out RTEMS.Address
) is
function Object_Get_Name_Base (
ID : RTEMS.ID;
Length : RTEMS.Unsigned32;
Name : System.Address
) return RTEMS.Status_Codes;
Name : RTEMS.Address
) return RTEMS.Address;
pragma Import (C, Object_Get_Name_Base, "rtems_object_get_name");
begin
Name := (others => ASCII.Nul);

View File

@@ -1280,7 +1280,7 @@ pragma Elaborate_Body (RTEMS);
procedure Object_Get_Name(
ID : in RTEMS.ID;
Name : out String;
Result : out RTEMS.Status_Codes
Result : out RTEMS.Address
);
procedure Object_Set_Name(