Advertisement
Guest User

Untitled

a guest
Jan 21st, 2019
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. /* Single CIA access = 1 E-clock */
  2. void ata_WaitNano(ULONG ns, struct ataBase *base)
  3. {
  4. ns /= 2;
  5. while (ns >= 65536 * 4) {
  6. busywait(65535);
  7. ns -= 65536 * 4;
  8. }
  9. if (ns >= 4)
  10. busywait(ns / 4);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement