Chapter 3 Introduction to MR308
- 54 -
3.5.17 Extended Function (Reset Function)
The reset function is a function outside the scope of µITRON 4.0 Specification. It initializes the mailbox, data
queue, and memory pool, etc.
Clear Data Queue Area (vrst_dtq)
Initializes the data queue. If there are any tasks waiting for transmission, they are freed from WAIT-
ING state and the error code EV_RST is returned.
Clear Mailbox Area (vrst_mbx)
Initializes the mailbox.
Clear Fixed-size Memory Pool Area (vrst_mpf)
Initializes the fixed-size memory pool. If there are any tasks in WAITING state, they are freed from the
WAITING state and the error code EV_RST is returned.
Clear Variable-size Memory Pool Area (vrst_mpl)
Initializes the variable length memory pool.
Clear Short Data Queue Area (vrst_vdtq)
Initializes the short data queue. If there are any tasks waiting for transmission, they are freed from
WAITING state and the error code EV_RST is returned.