blob: ec2462f83e63cf8df69a130fc10154c05b867853 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "global.h"
s32 __osSiDeviceBusy() {
register u32 status;
status = HW_REG(SI_STATUS_REG, u32);
if (status & (SI_STATUS_DMA_BUSY | SI_STATUS_IO_READ_BUSY)) {
return true;
} else {
return false;
}
}
|