RFR: Port of FreeBSD *context routines to DFly

Matt Emmerton matt at gsicomp.on.ca
Fri Jan 12 16:32:27 PST 2007


>
> :I have completed the port of [set|get|make|swap]context from FreeBSD to
> :DFly.
> :
> :The latest patch set against HEAD (current as of Jan 12, 00:00 EST) is
> :available here: http://www.gsicomp.on.ca/~matt/dfly
> :
> :I (and others) would really like to see this get into the release, so I
> :would appreciate reviews and comments.  Nothing too earth-shattering
here -
> :it's a straight port with some minor modifications due ot Matt's recent
> :VKERNEL and trapframe changes.
> :
> :Regards,
> :--
> :Matt Emmerton
>
>     I will put it into the release.  It looks good.  The only thing I
>     would change is to put the new context code you added to
>     machine/pc32/i386/machdep.c into a new file in cpu/i386/misc instead,
>     so it can be used by both the VKERNEL and the PC32 builds.
>
>     Unless you say otherwise, I will commit it later this evening.

This sounds fine by me.  I will let you do this -- it seems to me that there
are other functions in machdep.c that really belong in the cpu/ hierarchy as
well, although I don't have a very keen eye for the cpu/machine distinction
(at least on i386).

Regards,
--
Matt Emmerton






More information about the Users mailing list