Ralf Baechle wrote: > On Sat, Jul 14, 2001 at 07:36:34PM +0200, Thiemo Seufer wrote: > > > - A real 64bit Kernel image without linker crashes etc. > > No objcopy tricks, the Kernel is loaded at 0xa800000000000000. > > Using the assembler in 32-bit mode results in better code also. ITYM more compact and possibly faster. The 'faster' part depends on what is done in the Kernel, since there are 64bit syscalls it can't be true for everything. To the 'more compact' part: text + data of my kernel is about 2.0 MB, including the standard drivers for an I2 (except newport). an roughly comparable kernel (2.4.3 from ftp.rfc822.org) which supports newport but keeps some other things in modules needs about 1.6 MB. IMHO that's not too much difference, I2's aren't that low on memory. Anyway, the Firmware of newer I2 does not load 32bit kernels, so a 64bit Kernel is needed there. > So > while I came up with the objcopy trick as a way to kludge around the > kernel bugs it has become the way of choice for the Origin. How much is the performance difference there? Do you have some estimates? Supporting both sorts of kernels would require really ugly ifdef'ing for most of the low-level assembly code. Thiemo