30.12.2013 Views

T-Kernel Specification (1.B0.02)

T-Kernel Specification (1.B0.02)

T-Kernel Specification (1.B0.02)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

202 CHAPTER 4. T-KERNEL/OS FUNCTIONS<br />

they assign these numbers, doing so in a systematic way. In that way the combination of maker code<br />

and prid becomes a unique identifier of the T-<strong>Kernel</strong> type.<br />

[prid]<br />

prid<br />

Figure 4.12: prid Field Format<br />

The upper 4 bits of spver give the TRON specification series. The low 12 bits indicate the T-<strong>Kernel</strong><br />

specification version implemented. The format of spver is shown in Figure 4.13.<br />

If, for example, a product conforms to the T-<strong>Kernel</strong> specification Ver 1.02.xx, spver is as follows.<br />

MAGIC = 0x7 (T-<strong>Kernel</strong>)<br />

SpecVerS = 0x102 (Ver 1.02)<br />

spver = 0x7102<br />

If a product implements the T-<strong>Kernel</strong> specification draft version Ver 1.B0.xx, spver is as follows.<br />

MAGIC = 0x7 (T-<strong>Kernel</strong>)<br />

SpecVerS = 0x1B0 (Ver 1.B0)<br />

spver = 0x71B0<br />

[spver]<br />

MAGIC<br />

SpecVer<br />

MAGIC: A number identifying the TRON specification series<br />

0x0<br />

0x1<br />

0x2<br />

0x3<br />

0x4<br />

0x5<br />

0x6<br />

0x7<br />

TRON common (TAD, etc.)<br />

ITRON1, ITRON2<br />

BTRON<br />

CTRON<br />

reserved<br />

µITRON<br />

µBTRON<br />

T-<strong>Kernel</strong><br />

SpecVer: The version of the TRON specification on which the product is based. This is given as a<br />

three-digit packed-format BCD code. In the case of a draft version, the letter A, B, or C may<br />

appear in the second digit. In this case the corresponding hexadecimal form of A, B, or C is<br />

inserted.<br />

Figure 4.13: spver Field Format<br />

Copyright c○ 2002, 2003 by T-Engine Forum<br />

T-<strong>Kernel</strong> <strong>1.B0.02</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!