DragonFly BSD
DragonFly kernel List (threaded) for 2003-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: trap.c: Why do we save tf_edx in sysmsg_fds[1]?


From: "David P. Reese, Jr." <daver@xxxxxxxxxxxx>
Date: Mon, 10 Nov 2003 02:19:30 -0800

On Mon, Nov 10, 2003 at 02:09:44AM -0800, Matthew Dillon wrote:
>     Now, practically speaking matter edx is not a saved-used register so it
>     shouldn't matter if it gets munged on return, so theoretically we can
>     get rid of the edx assigned.  But that could break some obscure
>     bit of compatibility so I'd rather leave things as is.

I thought it would be really cool to pull the zero %edx on exec cruft
into trap.c.  I guess one hack that we know works is better than
a different hack that causes gross uncertainty.

-- 
   David P. Reese, Jr.                                     daver@xxxxxxxxxxxx
                                               http://www.gomerbud.com/daver/



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]