From: Michal J. <mi...@ha...> - 2004-07-16 00:06:37
|
Another gotcha! In bproc-4.0.0pre5/clients/sys/bproc_common.h we see the following code: enum { BPROC_ARCH_X86 = 1, BPROC_ARCH_ALPHA = 2, BPROC_ARCH_PPC = 3, BPROC_ARCH_X86_64 = 4 }; #if defined(__i386__) #define BPROC_ARCH BPROC_ARCH_X86 #elif defined(__alpha__) #define BPROC_ARCH BPROC_ARCH_ALPHA #elif defined(powerpc) #define BPROC_ARCH BPROC_ARCH_PPC #elif defined(__x86_64__) #define BPROC_ARCH BPROC_ARCH_X86_64 #else .... but boot.h from beoboot-cm1.9 says #define BEOBOOT_ARCH_I386 1 .... #if defined(__i386__) || defined(__x86_64__) #define BEOBOOT_ARCH BEOBOOT_ARCH_I386 #elif .... and later nodeadd checks if four equals one, as I am trying to get that running on x86_64, leaving me scratching my head why rarp is steadfastly refusing talk to me. Sigh! I guess that an idea is that beoboot is using beboot_common.h, so we will not get out of sync like that, but unfortunately this is not the case in this moment. Watch out if you are hacking with these sources! Michal |