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

Re: Future of the s390 port



On Sun, Oct 11, 2009 at 02:24:50PM +0200, Bastian Blank wrote:
> The addresses are specified this way:
> | #ifndef __s390x__
> | #define IPL_DEVICE        (*(unsigned long *)  (0x10404))
> | #define INITRD_START      (*(unsigned long *)  (0x1040C))
> | #define INITRD_SIZE       (*(unsigned long *)  (0x10414))
> | #else /* __s390x__ */
> | #define IPL_DEVICE        (*(unsigned long *)  (0x10400))
> | #define INITRD_START      (*(unsigned long *)  (0x10408))
> | #define INITRD_SIZE       (*(unsigned long *)  (0x10410))
> | #endif /* __s390x__ */
> | #define COMMAND_LINE      ((char *)            (0x10480))
> 
> So the addresses for the initrd differs between the 31 and 64bit kernel.

Flawed observation. This way you can load the 32bit long addresses
always at the same location, regardless of the type.

Bastian

-- 
Only a fool fights in a burning house.
		-- Kank the Klingon, "Day of the Dove", stardate unknown


Reply to: