_ioctl.s 154 B

123456789101112
  1. .sect .text; .sect .rom; .sect .data; .sect .bss
  2. .sect .text
  3. ioctl = 54
  4. .define __ioctl
  5. __ioctl:
  6. .data2 0x0000
  7. chmk $ioctl
  8. bcc 1f
  9. jmp cerror
  10. 1:
  11. ret