|
From: Roger B. <an...@xp...> - 2018-07-16 15:02:38
|
I'm looking at the NetUSBee code with the objective of getting a mouse driver (and later a keyboard driver) to work under TOS. In /sys/usb/src.km/ucd/netusbee/isp116x-hcd.c, I don't understand why TOS_INT_OFF/TOS_INT_ON are not used every time that MINT_INT_OFF/MINT_INT_ON are used. Both set the interrupt level to 6 to prevent device drivers (hooked off etv_timer) from being called while critical sections are running. Can someone explain why some sections of code are protected under MiNT but not under TOS? Thanks, Roger |