Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
7ed84279
Commit
7ed84279
authored
Feb 28, 2003
by
ml
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
a5849150
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
3 deletions
+32
-3
src/lib/rt/src/rt_mvol.c
src/lib/rt/src/rt_mvol.c
+32
-3
No files found.
src/lib/rt/src/rt_mvol.c
View file @
7ed84279
...
...
@@ -56,21 +56,50 @@ static pwr_tBoolean
co_eBO
bo
)
{
pwr_sParam
*
p
;
pwr_uParDef
*
up
;
if
(
co_dHostByteOrder
==
bo
)
return
YES
;
p
=
pool_Address
(
sts
,
gdbroot
->
rtdb
,
op
->
u
.
n
.
body
);
if
(
p
==
NULL
)
return
NO
;
if
(
co_dHostByteOrder
==
bo
)
return
YES
;
ENDIAN_SWAP_INTP
(
&
p
->
Info
.
Type
);
ENDIAN_SWAP_INTP
(
&
p
->
Info
.
Offset
);
ENDIAN_SWAP_INTP
(
&
p
->
Info
.
Size
);
ENDIAN_SWAP_INTP
(
&
p
->
Info
.
Flags
);
ENDIAN_SWAP_INTP
(
&
p
->
Info
.
Elements
);
ENDIAN_SWAP_INTP
(
&
p
->
Info
.
ParamIndex
);
ENDIAN_SWAP_INTP
(
&
p
->
TypeRef
);
up
=
(
pwr_uParDef
*
)
p
;
switch
(
op
->
g
.
cid
)
{
case
pwr_eClass_Param
:
ENDIAN_SWAP_INTP
(
&
p
->
TypeRef
);
break
;
case
pwr_eClass_Input
:
case
pwr_eClass_Output
:
case
pwr_eClass_Intern
:
ENDIAN_SWAP_INTP
(
&
up
->
Input
.
TypeRef
);
/* Skip the pwr_sGraph member for the moment */
break
;
case
pwr_eClass_ObjXRef
:
ENDIAN_SWAP_INTP
(
&
up
->
ObjXRef
.
XRefType
);
break
;
case
pwr_eClass_AttrXRef
:
ENDIAN_SWAP_INTP
(
&
up
->
AttrXRef
.
XRefType
);
break
;
case
pwr_eClass_Buffer
:
ENDIAN_SWAP_INTP
(
&
up
->
Buffer
.
Class
);
break
;
default:
break
;
}
op
->
u
.
n
.
flags
.
b
.
bodyDecoded
=
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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