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

Re: AMD64 port


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Sun, 15 Jul 2007 12:12:54 +0200

Noah yan wrote:
we assume the amd64 as the TARGET_ARCH, but i found another one,
TARGET_PLATFORM, also need to set as pc64 (a wired name, suggest a
better name). that Makefile also need to set in the platform (pc64)
folder. I thing that is what the building infra is. just double check.

We absolutely need to rename the platform (again!)! It is simply _not_ pc32, but it is "x86". The platform can be used for both 64bit x86 and 32bit x86. Only the cpu part changes.


And while we're there we should also rename "amd64" to "x86-64" (that's the name which gets used nowadays) and "i386" to "x86-32" (to keep consistency).

the header file under /usr/include, the *.h files under
/usr/include/cpu and /usr/include/machine. my understanding is the the
sys/cpu/amd64/include/*.h go to /usr/include/cpu and
sys/platform/pc64/include/*.h go to /usr/include/machine. but seems
other files to to machine folder too

which files are you seeing there as well?


cheers
 simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \



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