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
216d4214
Commit
216d4214
authored
Feb 27, 2003
by
ml
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
d1cb910c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
5 deletions
+18
-5
src/lib/rt/src/rt_ndc.c
src/lib/rt/src/rt_ndc.c
+15
-5
src/lib/rt/src/rt_net.x
src/lib/rt/src/rt_net.x
+3
-0
No files found.
src/lib/rt/src/rt_ndc.c
View file @
216d4214
...
@@ -620,7 +620,10 @@ static pwr_tBoolean (*encode[pwr_eTix_])() = {
...
@@ -620,7 +620,10 @@ static pwr_tBoolean (*encode[pwr_eTix_])() = {
};
};
#endif
#endif
/* . */
/**
* @note There is now support for double and it's a little tricky to fix
* if we want backward compatibility..
*/
pwr_tBoolean
pwr_tBoolean
ndc_ConvertData
(
ndc_ConvertData
(
...
@@ -639,12 +642,19 @@ ndc_ConvertData (
...
@@ -639,12 +642,19 @@ ndc_ConvertData (
int
base
;
int
base
;
gdb_sAttribute
*
ap
;
gdb_sAttribute
*
ap
;
if
(
np
->
fm
.
m
==
gdbroot
->
my_node
->
fm
.
m
)
{
/* The new way, convert if different co_mFormat
if
(
tp
!=
sp
)
* The old way, always convert if different OS
memcpy
(
tp
,
sp
,
size
);
*/
return
TRUE
;
if
((
np
->
netver
>=
net_cFirstCclassVersion
&&
np
->
fm
.
m
==
gdbroot
->
my_node
->
fm
.
m
)
||
(
np
->
netver
<
net_cFirstCclassVersion
&&
np
->
os
==
gdbroot
->
my_node
->
os
&&
np
->
fm
.
b
.
bo
==
gdbroot
->
my_node
->
fm
.
b
.
bo
))
{
if
(
tp
!=
sp
)
memcpy
(
tp
,
sp
,
size
);
return
TRUE
;
}
}
cid
.
pwr
=
arp
->
Body
;
cid
.
pwr
=
arp
->
Body
;
cid
.
c
.
bix
=
0
;
/* To get the class id. */
cid
.
c
.
bix
=
0
;
/* To get the class id. */
...
...
src/lib/rt/src/rt_net.x
View file @
216d4214
...
@@ -32,6 +32,9 @@
...
@@ -32,6 +32,9 @@
%
%
%#define net_cVersion 8
%#define net_cVersion 8
%
%
% /** @note DO NOT change this number */
%#define net_cFirstCclassVersion 8
%
%#define net_cSendRcvTmo 20000 /* Timeout (ms) used in pams_rcv_msgw calls */
%#define net_cSendRcvTmo 20000 /* Timeout (ms) used in pams_rcv_msgw calls */
%#define net_cProcHandler 110
%#define net_cProcHandler 110
%#define net_cMsgClass 200
%#define net_cMsgClass 200
...
...
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