Closed yoogx closed 7 years ago
In taste there are two places that relate to this limitation:
1) The DataView.aadl
files (generated by DMT
) contain:
DATA IMPLEMENTATION HugeMsg_Buffer.impl
-- Buffer to hold a marshalled data of type HugeMsg
SUBCOMPONENTS
Buffer : data HugeMsg_Buffer_Max.impl;
Length : data Base_Types::Unsigned_16;
PROPERTIES
2) And the wrapper code in Ada (generated by buildsupport
) has a hardcoded use of Unsigned_16
:
Value.OUTPORT_image_DATA.Length := PolyORB_HI_Generated.Types.Unsigned_16 (IN_nice_picture_size);
Let me know if/when we should change these.
Solution on your end is to change Length to be Unsigned_32, I'll handle the other parts in the runtime
Ok the changes are committed on DMT and buildsupport sides
Implementation of this ticket move to openaadl/ocarina#99
In its current implementation, PolyORB-HI/Ada is limited to packed of size < 64KiB. This should be changed to 4GiB