Commit 48ab1182 by Thomas Quinot Committed by Arnaud Charlet

exp_dist.adb (Build_General_Calling_Stubs): New formal parameter RACW_Type, used…

exp_dist.adb (Build_General_Calling_Stubs): New formal parameter RACW_Type, used in the PolyORB version.

2004-10-26  Thomas Quinot  <quinot@act-europe.fr>

	* exp_dist.adb (Build_General_Calling_Stubs): New formal parameter
	RACW_Type, used in the PolyORB version.
	Rename RCI_Info to RCI_Locator, for consistency between the PolyORB
	version and the GARLIC version.

	* snames.ads, snames.adb, s-parint.ads, s-parint.adb:
	Rename RCI_Info to RCI_Locator for better consistency between the
	GARLIC and PolyORB versions of the distributed systems annex.
	(DSA_Implementation_Name): This enumeration lists the possible
	implementations of the Partition Communication Subsystem for the
	Distributed Systems Annex (DSA). The three available implementations
	are the dummy stub implementation (No_DSA), and two versions based on
	two different distribution runtime libraries: GARLIC and PolyORB. Both
	the GARLIC PCS and the PolyORB PCS are part of the GLADE distribution
	technology.
	Change the literal GLADE_DSA to GARLIC_DSA to accurately describe
	that organization.

	* rtsfind.ads: Rename RCI_Info to RCI_Locator for better consistency
	between the GARLIC and PolyORB versions of the distributed systems
	annex.
	Remove RE_Unbounded_Reclaim_Pool since it is unused.

From-SVN: r89652
parent faf3cf91
...@@ -1017,7 +1017,7 @@ package Rtsfind is ...@@ -1017,7 +1017,7 @@ package Rtsfind is
RE_Raise_Program_Error_Unknown_Tag, -- System.Partition_Interface RE_Raise_Program_Error_Unknown_Tag, -- System.Partition_Interface
RE_Register_Passive_Package, -- System.Partition_Interface RE_Register_Passive_Package, -- System.Partition_Interface
RE_Register_Receiving_Stub, -- System.Partition_Interface RE_Register_Receiving_Stub, -- System.Partition_Interface
RE_RCI_Info, -- System.Partition_Interface RE_RCI_Locator, -- System.Partition_Interface
RE_RCI_Subp_Info, -- System.Partition_Interface RE_RCI_Subp_Info, -- System.Partition_Interface
RE_RCI_Subp_Info_Array, -- System.Partition_Interface RE_RCI_Subp_Info_Array, -- System.Partition_Interface
RE_Subprogram_Id, -- System.Partition_Interface RE_Subprogram_Id, -- System.Partition_Interface
...@@ -1025,8 +1025,6 @@ package Rtsfind is ...@@ -1025,8 +1025,6 @@ package Rtsfind is
RE_Global_Pool_Object, -- System.Pool_Global RE_Global_Pool_Object, -- System.Pool_Global
RE_Unbounded_Reclaim_Pool, -- System.Pool_Local
RE_Stack_Bounded_Pool, -- System.Pool_Size RE_Stack_Bounded_Pool, -- System.Pool_Size
RE_Do_Apc, -- System.RPC RE_Do_Apc, -- System.RPC
...@@ -1077,7 +1075,6 @@ package Rtsfind is ...@@ -1077,7 +1075,6 @@ package Rtsfind is
RE_Get_Local_Address, -- System.PolyORB_Interface RE_Get_Local_Address, -- System.PolyORB_Interface
RE_Get_Reference, -- System.PolyORB_Interface RE_Get_Reference, -- System.PolyORB_Interface
RE_Local_Oid_To_Address, -- System.PolyORB_Interface RE_Local_Oid_To_Address, -- System.PolyORB_Interface
RE_RCI_Locator, -- System.PolyORB_Interface
RE_Asynchronous_P_To_Sync_Scope, -- System.PolyORB_Interface RE_Asynchronous_P_To_Sync_Scope, -- System.PolyORB_Interface
RE_Buffer_Stream_Type, -- System.PolyORB_Interface RE_Buffer_Stream_Type, -- System.PolyORB_Interface
RE_Allocate_Buffer, -- System.PolyORB_Interface RE_Allocate_Buffer, -- System.PolyORB_Interface
...@@ -2099,7 +2096,7 @@ package Rtsfind is ...@@ -2099,7 +2096,7 @@ package Rtsfind is
RE_Raise_Program_Error_Unknown_Tag => System_Partition_Interface, RE_Raise_Program_Error_Unknown_Tag => System_Partition_Interface,
RE_Register_Passive_Package => System_Partition_Interface, RE_Register_Passive_Package => System_Partition_Interface,
RE_Register_Receiving_Stub => System_Partition_Interface, RE_Register_Receiving_Stub => System_Partition_Interface,
RE_RCI_Info => System_Partition_Interface, RE_RCI_Locator => System_Partition_Interface,
RE_RCI_Subp_Info => System_Partition_Interface, RE_RCI_Subp_Info => System_Partition_Interface,
RE_RCI_Subp_Info_Array => System_Partition_Interface, RE_RCI_Subp_Info_Array => System_Partition_Interface,
RE_Subprogram_Id => System_Partition_Interface, RE_Subprogram_Id => System_Partition_Interface,
...@@ -2147,7 +2144,6 @@ package Rtsfind is ...@@ -2147,7 +2144,6 @@ package Rtsfind is
RE_Get_Local_Address => System_PolyORB_Interface, RE_Get_Local_Address => System_PolyORB_Interface,
RE_Get_Reference => System_PolyORB_Interface, RE_Get_Reference => System_PolyORB_Interface,
RE_Local_Oid_To_Address => System_PolyORB_Interface, RE_Local_Oid_To_Address => System_PolyORB_Interface,
RE_RCI_Locator => System_PolyORB_Interface,
RE_Asynchronous_P_To_Sync_Scope => System_PolyORB_Interface, RE_Asynchronous_P_To_Sync_Scope => System_PolyORB_Interface,
RE_Buffer_Stream_Type => System_PolyORB_Interface, RE_Buffer_Stream_Type => System_PolyORB_Interface,
RE_Allocate_Buffer => System_PolyORB_Interface, RE_Allocate_Buffer => System_PolyORB_Interface,
...@@ -2234,8 +2230,6 @@ package Rtsfind is ...@@ -2234,8 +2230,6 @@ package Rtsfind is
RE_Global_Pool_Object => System_Pool_Global, RE_Global_Pool_Object => System_Pool_Global,
RE_Unbounded_Reclaim_Pool => System_Pool_Local,
RE_Stack_Bounded_Pool => System_Pool_Size, RE_Stack_Bounded_Pool => System_Pool_Size,
RE_Do_Apc => System_RPC, RE_Do_Apc => System_RPC,
......
...@@ -219,11 +219,11 @@ package body System.Partition_Interface is ...@@ -219,11 +219,11 @@ package body System.Partition_Interface is
(Program_Error'Identity, Ada.Exceptions.Exception_Message (E)); (Program_Error'Identity, Ada.Exceptions.Exception_Message (E));
end Raise_Program_Error_Unknown_Tag; end Raise_Program_Error_Unknown_Tag;
-------------- -----------------
-- RCI_Info -- -- RCI_Locator --
-------------- -----------------
package body RCI_Info is package body RCI_Locator is
----------------------------- -----------------------------
-- Get_Active_Partition_ID -- -- Get_Active_Partition_ID --
...@@ -254,7 +254,7 @@ package body System.Partition_Interface is ...@@ -254,7 +254,7 @@ package body System.Partition_Interface is
return 0; return 0;
end Get_RCI_Package_Receiver; end Get_RCI_Package_Receiver;
end RCI_Info; end RCI_Locator;
------------------------------ ------------------------------
-- Register_Passive_Package -- -- Register_Passive_Package --
......
...@@ -42,7 +42,7 @@ package System.Partition_Interface is ...@@ -42,7 +42,7 @@ package System.Partition_Interface is
pragma Elaborate_Body; pragma Elaborate_Body;
type DSA_Implementation_Name is (No_DSA, GLADE_DSA, PolyORB_DSA); type DSA_Implementation_Name is (No_DSA, GARLIC_DSA, PolyORB_DSA);
DSA_Implementation : constant DSA_Implementation_Name := No_DSA; DSA_Implementation : constant DSA_Implementation_Name := No_DSA;
-- RCI receiving stubs contain a table of descriptors for -- RCI receiving stubs contain a table of descriptors for
...@@ -97,7 +97,7 @@ package System.Partition_Interface is ...@@ -97,7 +97,7 @@ package System.Partition_Interface is
-- unit has has the same version than the caller's one. -- unit has has the same version than the caller's one.
function Get_Active_Partition_ID (Name : Unit_Name) return RPC.Partition_ID; function Get_Active_Partition_ID (Name : Unit_Name) return RPC.Partition_ID;
-- Similar in some respects to RCI_Info.Get_Active_Partition_ID -- Similar in some respects to RCI_Locator.Get_Active_Partition_ID
function Get_Active_Version (Name : Unit_Name) return String; function Get_Active_Version (Name : Unit_Name) return String;
-- Similar in some respects to Get_Active_Partition_ID -- Similar in some respects to Get_Active_Partition_ID
...@@ -114,7 +114,7 @@ package System.Partition_Interface is ...@@ -114,7 +114,7 @@ package System.Partition_Interface is
function Get_RCI_Package_Receiver function Get_RCI_Package_Receiver
(Name : Unit_Name) return Interfaces.Unsigned_64; (Name : Unit_Name) return Interfaces.Unsigned_64;
-- Similar in some respects to RCI_Info.Get_RCI_Package_Receiver -- Similar in some respects to RCI_Locator.Get_RCI_Package_Receiver
procedure Get_Unique_Remote_Pointer procedure Get_Unique_Remote_Pointer
(Handler : in out RACW_Stub_Type_Access); (Handler : in out RACW_Stub_Type_Access);
...@@ -149,10 +149,10 @@ package System.Partition_Interface is ...@@ -149,10 +149,10 @@ package System.Partition_Interface is
generic generic
RCI_Name : String; RCI_Name : String;
package RCI_Info is package RCI_Locator is
function Get_RCI_Package_Receiver return Interfaces.Unsigned_64; function Get_RCI_Package_Receiver return Interfaces.Unsigned_64;
function Get_Active_Partition_ID return RPC.Partition_ID; function Get_Active_Partition_ID return RPC.Partition_ID;
end RCI_Info; end RCI_Locator;
-- RCI package information caching -- RCI package information caching
procedure Run (Main : Main_Subprogram_Type := null); procedure Run (Main : Main_Subprogram_Type := null);
......
...@@ -122,7 +122,7 @@ package body Snames is ...@@ -122,7 +122,7 @@ package body Snames is
"text_io#" & "text_io#" &
"wide_text_io#" & "wide_text_io#" &
"no_dsa#" & "no_dsa#" &
"glade_dsa#" & "garlic_dsa#" &
"polyorb_dsa#" & "polyorb_dsa#" &
"addr#" & "addr#" &
"async#" & "async#" &
......
...@@ -238,7 +238,7 @@ package Snames is ...@@ -238,7 +238,7 @@ package Snames is
-- Names of implementations of the distributed systems annex -- Names of implementations of the distributed systems annex
Name_No_DSA : constant Name_Id := N + 064; Name_No_DSA : constant Name_Id := N + 064;
Name_GLADE_DSA : constant Name_Id := N + 065; Name_GARLIC_DSA : constant Name_Id := N + 065;
Name_PolyORB_DSA : constant Name_Id := N + 066; Name_PolyORB_DSA : constant Name_Id := N + 066;
-- Names of identifiers used in expanding distribution stubs -- Names of identifiers used in expanding distribution stubs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment