blob: 0188927e3add2e637b290d7eaac1f6d8401d2b77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "PR/os_internal.h"
#include "siint.h"
// TODO: this comes from a header
#ident "$Revision: 1.17 $"
int __osSiDeviceBusy() {
register u32 stat = IO_READ(SI_STATUS_REG);
if (stat & (SI_STATUS_DMA_BUSY | SI_STATUS_RD_BUSY)) {
return TRUE;
} else {
return FALSE;
}
}
|