svn commit: r208988 - in head/sys: kern sys

Alexander Motin mav at FreeBSD.org
Fri Jun 11 09:10:10 UTC 2010


Kostik Belousov wrote:
> On Thu, Jun 10, 2010 at 04:14:05PM +0000, Alexander Motin wrote:
>> Author: mav
>> Date: Thu Jun 10 16:14:05 2010
>> New Revision: 208988
>> URL: http://svn.freebsd.org/changeset/base/208988
>>
>> Log:
>>   Store interrupt trap frame into struct thread. It allows interrupt handler
>>   to obtain both trap frame and opaque argument submitted on registrction.
>>   After kernel and all drivers get used to it, legacy hack can be removed.
>>   
>>   Reviewed by:	jhb@
> Just curious, why td_frame is not enough for your usage ? I believe td_frame
> is currently set only by traps and syscalls, and copied on forks.

I've seen that field, but I have no idea how it is used. I see a lot of
usage places and not sure that none of them called inside interrupt
filter. I didn't want to break something unexpected. If you sure - it is
easy to change.

-- 
Alexander Motin


More information about the svn-src-all mailing list