4.3. Administrator Control

The MBP_INIT and MBP_SHUTDOWN messages are used for re-initializing the SA85 or PC85 card and terminating the mbpadmin administrator, respectively.

4.3.1. MBP_INIT

The MBP_INIT request tells mbpadmin to reset the SA85 or PC85 card's software. This should be done only if the card's peer processor has crashed for some reason. This should not usually happen but it is possible if some tasks of higher priority than mbpadmin have not allowed it enough CPU time to maintain the necessary interaction with the card's peer processor or if an illegal operation is attempted on one of the communication paths. Note that mbpadmin runs at default priority 24 in QNX 4. The card_down flag of the MBP_GET_STATE response indicates whether the peer processor has crashed (see MBP_GET_STATE).

The result code of the mbp_r_init response contains MBP_R_CARD_DOWN if the initialization failed. Otherwise, it contains MBP_R_OK.

4.3.2. MBP_SHUTDOWN

The MBP_SHUTDOWN request tells mbpadmin to terminate. The administrator then releases any system resources, replies MBP_R_OK to the requesting task and terminates. Although the SA85 or PC85 card still participates in the network token passing, it rejects all attempts from other nodes to communicate.