AMD64 port

Noah yan noah.yan at gmail.com
Sat Jul 14 22:09:11 PDT 2007


Matt and Simon,

i am still hanging in the cross compiling part (simon helps me a lot
in irc) and it is a learning process for me. some questions about the
building infra.
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.
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
thanks

Noah



On 7/4/07, Simon 'corecode' Schubert <corecode at fs.ei.tum.de> wrote:
[redirected to kernel@]

Noah yan wrote:
> I have a quick and offline discussion with Matt about the status of
> AMD64 port; and I am starting doing the port. My first task is to get
> the kernel source compiled for the 64-bit target. Not sure who else
> are currently or interested in working on this and we should
> coordinate on the efforts.
very cool!  the system used to build a 64bit world (including compiler), but I think this was broken again(!).  So really that's the first step.  I know I did fix it before.

So considering that a release is coming up, we shouldn't commit porting efforts right now.  Instead I suggest using another version control system like mercurial or git, where you can commit your changes localy and also share them.  There is an experimental git repository feed at <http://repo.or.cz/w/dragonfly.git> (manually updated), which you could use, like Joe did for the vkernel-mp work [1].

The reason why I am suggesting this is that it will be much easier to review your changes lateron and commit changes to sensitive parts of the kernel piecemeal, instead of shoving the whole bunch of changes in and then having a hard time to find the bugs.

Please keep us in the loop, maybe somebody can help or at least learn something!  (We) guys on IRC [2] are always eager to help/ask as well.

cheers,
 simon
[1] http://repo.or.cz/w/dragonfly/vkernel-mp.git
[2] EFNet/#dragonflybsd





More information about the Kernel mailing list