Re: RFR: Port of FreeBSD *context routines to DFly
Oh. I am going to commit the mcontext structural changes right now. In fact, since I have already ripped up the signal context, I am going to make the same changes to struct sigcontext. That is, adding the mc_len, mc_fpformat, and mc_ownedfp fields. This also properly aligns the FP context in the structure and will allow better handling of the floating point state. -Matt Matthew Dillon <[EMAIL PROTECTED]>
Re: RFR: Port of FreeBSD *context routines to DFly
: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 Yes, you are absolutely correct... its because there WAS no cpu hierarchy a few weeks ago... it was a machine-only hiearchy. I created the cpu hiearchy and I've been slowly moving the cpu-specific code from pc32 into it on an as-needed basis (i.e. code that both VKERNEL and PC32 need). I'm going to hold off on any commits for a day or two so we can discuss the system-call vs userland issues a bit more. I am not leaning to either side, really. In my view it is ok to have a few system calls that later become obsolete... that's what the COMPAT options in the kernel build are for. -Matt Matthew Dillon <[EMAIL PROTECTED]>
Re: RFR: Port of FreeBSD *context routines to DFly
> > :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
Re: RFR: Port of FreeBSD *context routines to DFly
And also, has anything been done yet to get powerdns-recursor working? Petr Matt Emmerton wrote: 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
Re: RFR: Port of FreeBSD *context routines to DFly
: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. -Matt Matthew Dillon <[EMAIL PROTECTED]>
RFR: Port of FreeBSD *context routines to DFly
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