fxzhang <[email protected]> writes:

>>   
>>> you can use mfc0/dmfc0 to read the 'count' cp0 register.
>>>     
>>
>> afaik these instructions can't be used in userspace.
>>   
> You're right:) Although some time ago I do hacked the kernel to
> eliminate the switch of user mode/kernel mode to enable this.

hmm.. would have been better if you had emulated the mfc0
instruction like it's done for rdhwr imho :)

Arnaud


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to