Re: [Xen-devel] Re: [RFC PATCH 07/35] Make LOAD_OFFSET defined by subarch



On Fri, May 12, 2006 at 08:47:13AM +0200, Jan Beulich wrote:
I've updated our loader to support this now, so that this patch is
no longer necessary. I have at the same time added a new field to
xen_guest which allows specifying the entry point, allowing us to have
a different entry point when running the kernel image on Xen.

Why do you need a separate entry point here? The code should be able to figure out which mode it is run in without
problems...

I think it's the cleanest way to have different startup code for
native and non-native in the same kernel. But even if that's not
needed (for Linux), then you can have it point at the same address.
It is also always pointing to a virtual address, while the elf header
one now points to a physical address which doesn't make much sense
in the environment we start the kernel.

christian

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • On-disk indexing for "Project Ideas" page
    ... The kernel usually does the lookup by starting at the beginning ... of the directory and going through, comparing each entry in turn. ... name cache described in Section 6.6. ...
    (freebsd-current)
  • [PATCH] ppc32: rename head_e500.S to head_fsl_booke.S
    ... * Kernel execution entry point code. ... Initial PowerPC version. ... -/* Note that the SPE support is closely modeled after the AltiVec ...
    (Linux-Kernel)
  • Re: Grub not right on new install.
    ... # Set the default entry to the entry number NUM. ... # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST ... ## should update-grub create alternative automagic boot options ... Linux install includes an entry for Windows in the menu.list ...
    (Ubuntu)
  • Re: how to make sure that kernel is up
    ... First I faced the problem while downloading the kernel. ... HeapInit: Entry 00, size 0576 ... OpenExe nk.exe: ROM: 8310f01c ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Synaptec connection problem
    ... Re: I'm afraid to reboot. ... Since so I went back to using the previous kernel ... # Set the default entry to the entry number NUM. ...
    (Ubuntu)