Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2010 20:59:28 +0100
From:      Attilio Rao <attilio@freebsd.org>
To:        Ed Maste <emaste@freebsd.org>
Cc:        FreeBSD Arch <arch@freebsd.org>
Subject:   Re: [PATCH] Adding shared code support for ia32 and amd64 -- x86  sub-branch
Message-ID:  <3bbf2fe11002161159l4ef33f30i7bc8eb0c2dceb943@mail.gmail.com>
In-Reply-To: <20100216185230.GA58974@sandvine.com>
References:  <3bbf2fe11002151610l41526f55r5e60b5e46ce42b64@mail.gmail.com> <20100216185230.GA58974@sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2010/2/16 Ed Maste <emaste@freebsd.org>:
> On Tue, Feb 16, 2010 at 01:10:37AM +0100, Attilio Rao wrote:
>
>> The following patch:
>> http://www.freebsd.org/~attilio/x86.diff
>>
>> starts the effort for having a shared sub-tree between amd64 and ia32.
>> In this initial pass I putted the low-hanging fruits (bios/cpufreq)
>> and what my customer was more interested in (isa/*) in order to
>> kick-off the effort and, in the future, move gradually the code there.
>> With the machine/isa/* cleanup about 10 files are trimmed and I'm sure
>> more can be achieved easilly.
>> There are few things to discuss. One, that I had not necessity to dig
>> about still, is about how to organize headers (include/). Maybe some
>> replication ala pc98 may be good.
>>
>> The patch is big but it is mostly added and removed files (look at the
>> files.X in order to understand better how files movements happened).
>>
>> Hope to see comments and reviews.
>>
>> Attilio
>
> As you'd expect I'd be very happy to see this cleanup go ahead; having
> essentially the same file duplicated in two places just adds maintenance
> burden.
>
> Upon a quick review the patch looks OK to me. =C2=A0I assume we'll "svn m=
v"
> the i386 files into x86 and then add the amd64 diffs, thus maintaining
> the history on the files in their new locations?

Yes, that is what I did for generating the patch.

Attilio


--=20
Peace can only be achieved by understanding - A. Einstein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3bbf2fe11002161159l4ef33f30i7bc8eb0c2dceb943>