DragonFly kernel List (threaded) for 2007-07
Re: AMD64 port
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?
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 / \