Date: Thu, 25 Feb 2010 16:08:48 +0100 From: Attilio Rao <attilio@freebsd.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: kostikbel@gmail.com, arch@freebsd.org, emaste@sandvine.com Subject: Re: [PATCH] Adding shared code support for ia32 and amd64 -- x86 sub-branch Message-ID: <3bbf2fe11002250708i1f36174am474e6f7ee4111e63@mail.gmail.com> In-Reply-To: <3bbf2fe11002250533i2fe71007l9b003abb277aa22a@mail.gmail.com> References: <3bbf2fe11002151610l41526f55r5e60b5e46ce42b64@mail.gmail.com> <20100216195440.GF50403@deviant.kiev.zoral.com.ua> <3bbf2fe11002240718x5182aa93w5a00c657a0fba5f6@mail.gmail.com> <20100224.210808.634347869559333650.imp@bsdimp.com> <3bbf2fe11002250533i2fe71007l9b003abb277aa22a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
2010/2/25 Attilio Rao <attilio@freebsd.org>: > 2010/2/25 M. Warner Losh <imp@bsdimp.com>: >> In message: <3bbf2fe11002240718x5182aa93w5a00c657a0fba5f6@mail.gmail.com= > >> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Attilio Rao <attilio@FreeBSD.or= g> writes: >> : 2010/2/16 Kostik Belousov <kostikbel@gmail.com>: >> : > 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 ia= 32. >> : >> 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 the= re. >> : >> With the machine/isa/* cleanup about 10 files are trimmed and I'm s= ure >> : >> more can be achieved easilly. >> : >> There are few things to discuss. One, that I had not necessity to d= ig >> : >> about still, is about how to organize headers (include/). Maybe som= e >> : >> 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. >> : > >> : > IMO the diff is unreadable. I suggest to do actual svn cp (not svn m= v) >> : > operation now, without a review, and post a diff that should be appl= ied >> : > to x86/ directory, as well as to build glue. >> : >> : I think that this patch juices out all the relevant part without noise= : >> : http://www.freebsd.org/~attilio/x86-2.diff >> >> Looks like you didn't add the required "sys/x86" files to files.pc98. > > There is still no-use for powerpc as it uses its own "isa" > implementation it seems (it should be cbus). s/powerpc/pc98, sorry. 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?3bbf2fe11002250708i1f36174am474e6f7ee4111e63>