- 186 -
[
[[
[
F
Fu
un
nc
ct
ti
io
on
na
al
l
d
de
es
sc
cr
ri
ip
pt
ti
io
on
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
Ex
xa
am
mp
pl
le
e
p
pr
ro
og
gr
ra
am
m
s
st
ta
at
te
em
me
en
nt
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
: