SEC_BD_W0_DONE
while ((ooo_write != ooo_read) && msg->w0 & SEC_BD_W0_DONE) {
msg->w0 &= ~SEC_BD_W0_DONE;