Renesas M3T-MR100 Network Card User Manual


 
- 186 -
[
[
[
[
F
F
u
u
n
n
c
c
t
t
i
i
o
o
n
n
a
a
l
l
d
d
e
e
s
s
c
c
r
r
i
i
p
p
t
t
i
i
o
o
n
n
]
]
]
]
This service call reads out information about the version of the currently executing kernel and returns the result to the area
pointed to by pk_rver.
The following information is returned to the packet pointed to by pk_rver.
maker
The code H’0115 denoting Renesas Technology Corporation is returned.
prid
The internal identification code IDH’0014 of the M3T-MR100 is returned.
spver
The code H’5403 denoting that the kernel is compliant with µITRON Specification Ver 4.03.00 is returned.
prver
The code H’0100 denoting the version of the M3T-MR100/4 is returned.
prno
prno[0]
Reserved for future extension.
prno[1]
Reserved for future extension.
prno[2]
Reserved for future extension.
prno[3]
Reserved for future extension.
If this service call is to be issued from task context, use ref_ver; if issued from non-task context, use iref_ver.
[
[
[
[
E
E
x
x
a
a
m
m
p
p
l
l
e
e
p
p
r
r
o
o
g
g
r
r
a
a
m
m
s
s
t
t
a
a
t
t
e
e
m
m
e
e
n
n
t
t
]
]
]
]
<<Example statement in C language>>
#include <itron.h>
#include <kernel.h>
#include “kernel_id.h”
void task()
{
T_RVER pk_rver;
ref_ver( &pk_rver );
}
<<Example statement in assembly language>>
.include mr100.inc
.GLB task
_ refver: .blkb 16
task:
:
PUSHM A1
ref_ver #_refver
: