Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
PolyORB-HI-C
Commits
418ba04c
Commit
418ba04c
authored
Jul 06, 2017
by
yoogx
Browse files
* Adjust functions to support larger message size
For openaadl/ocarina#99
parent
8c2af7d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/po_hi_messages.c
View file @
418ba04c
...
...
@@ -99,9 +99,9 @@ int __po_hi_msg_should_swap (__po_hi_msg_t* msg)
return
0
;
}
void
__po_hi_msg_swap_value
(
void
*
from
,
void
*
dest
,
__po_hi_uint
8
_t
size
)
void
__po_hi_msg_swap_value
(
void
*
from
,
void
*
dest
,
__po_hi_uint
32
_t
size
)
{
__po_hi_uint
8
_t
tmp
;
__po_hi_uint
32
_t
tmp
;
__po_hi_uint8_t
*
udest
;
__po_hi_uint8_t
*
ufrom
;
...
...
src/po_hi_types.c
View file @
418ba04c
...
...
@@ -5,7 +5,7 @@
*
* For more informations, please visit http://taste.tuxfamily.org/wiki
*
* Copyright (C) 2007-2009 Telecom ParisTech, 2010-201
4
ESA & ISAE.
* Copyright (C) 2007-2009 Telecom ParisTech, 2010-201
7
ESA & ISAE.
*/
#include
<po_hi_config.h>
...
...
@@ -14,12 +14,12 @@
#include
<po_hi_returns.h>
/* Header files in PolyORB-HI */
#include
<types.h>
#include
<types.h>
/* Header files from generated code */
#include
<string.h>
void
__po_hi_copy_array
(
void
*
dst
,
void
*
src
,
__po_hi_uint
16
_t
size
)
void
__po_hi_copy_array
(
void
*
dst
,
void
*
src
,
__po_hi_uint
32
_t
size
)
{
memcpy
(
dst
,
src
,
size
);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment