aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/xen/elf.h
Commit message (Collapse)AuthorAgeFilesLines
* Move libelf headers out of xen public header dir.Keir Fraser2009-01-081-1/+1
| | | | Signed-off-by: Jan Beulich <jbeulich@novell.com>
* add libelf: an ELF binary parser library.Emmanuel Ackaouy2007-01-251-489/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a library with a small collection of helper functions to parse and load elf binaries. The library handles endianess and elfsize at runtime. The patch also shuffles around the include files a bit. Now there is *one* include file holding all the elf structures (xen/include/public/elfstructs.h) which is included by everyone who needs them. It's dead code with this patch only, putting the code into use happens in followup patches. Signed-off-by: Gerd Hoffmann <kraxel@suse.de> --- tools/libxc/xc_elf.h | 525 ----------------------------------- xen/arch/x86/boot/mkelf32.c | 2 xen/common/Makefile | 2 xen/common/libelf/Makefile | 4 xen/common/libelf/README | 1 xen/common/libelf/libelf-dominfo.c | 420 ++++++++++++++++++++++++++++ xen/common/libelf/libelf-loader.c | 156 ++++++++++ xen/common/libelf/libelf-private.h | 51 +++ xen/common/libelf/libelf-relocate.c | 345 +++++++++++++++++++++++ xen/common/libelf/libelf-tools.c | 225 +++++++++++++++ xen/include/public/elfstructs.h | 527 ++++++++++++++++++++++++++++++++++++ xen/include/public/libelf.h | 238 ++++++++++++++++ xen/include/xen/elf.h | 490 --------------------------------- 13 files changed, 1972 insertions(+), 1014 deletions(-)
* [XEN] Consolidate multiple defintions of ELFNOTE_* accessor macrosIan Campbell2007-01-221-0/+5
| | | | Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* Introduce _DOMF_compat and infrastructure as well as several conditionalsEmmanuel Ackaouy2007-01-051-0/+9
| | | | | | | dealing with operations that need to distinguish between native and compatibility mode guests. Signed-off-by: Jan Beulich <jbeulich@novell.com>
* Improve consistency of type-attribute usage (volatile/const).kfraser@localhost.localdomain2006-12-211-1/+1
| | | | | From: Christoph Egger <Christoph.Egger@amd.com> Signed-off-by: Keir Fraser <keir@xensource.com>
* [XEN] Kexec / Kdump: Generic codeIan Campbell2006-11-301-12/+4
| | | | | | | This patch implements the generic portion of the Kexec / Kdump port to Xen. Signed-Off-By: Magnus Damm <magnus@valinux.co.jp> Signed-Off-By: Simon Horman <horms@verge.net.au>
* [XEN/LINUX] Define Xen ELF notes in kernel header and update dom0 builder.Ian Campbell2006-08-231-0/+4
| | | | | | | | | | ELF notes provide a cleaner interface for passing Xen specific information from the kernel to the domain builder than the existing __xen_guest section string. The __xen_guest string is retained in kernels built with 3.0.2 compatability for domU however dom0 requires the new interface. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
* [TOOLS][BUILDER] Extend Elf header checks for multiple architectures.kfraser@dhcp93.uk.xensource.com2006-06-131-1/+1
| | | | | | Based on a patch from Hollis Blanchard. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1236.1.206 (424fd1e3OF1dIgDtN9JonRnCv2YHrQ)kaf24@viper.(none)2005-04-031-3/+2
| | | | | | Clean up symtab loading in elf loader. Signed-off-by: Keir Fraser <keir@xensource.com>
* bitkeeper revision 1.1236.1.202 (424f0f028PbpGAMdxoGmEzj3n3SehQ)cl349@firebug.cl.cam.ac.uk[cl349]2005-04-021-0/+1
|\ | | | | | | | | | | | | | | | | Merge 2.0-testing change: From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> Add support to domain0 builder to load a (Net)BSD symtab for domain0. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
| * bitkeeper revision 1.1159.258.88 (424f0cd9Oldi24NGanGDdr82_K9qpQ)cl349@firebug.cl.cam.ac.uk[cl349]2005-04-021-0/+1
| | | | | | | | | | | | | | | | From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp> Add support to domain0 builder to load a (Net)BSD symtab for domain0. Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
* | bitkeeper revision 1.1236.1.138 (4244ed89pK9JAW8qk2zpDrj3rXVcow)kaf24@firebug.cl.cam.ac.uk2005-03-251-0/+1
| | | | | | | | | | Add PPC64 to the Elf architecture enumeration.
* | bitkeeper revision 1.1159.240.1 (42025e61IuxB-TOGFWNyIT0-7gRIuw)kaf24@scramble.cl.cam.ac.uk2005-02-031-0/+4
|/ | | | | | | | | More x86_64 progress: currently churning through construct_dom0. Then will need a few extensions to entry.S and I can jump to ring 3. To get hypercalls working I will need a SYSCALL entry point and also to add uaccess.h/usercopy.S functionality. Signed-off-by: keir.fraser@cl.cam.ac.uk
* bitkeeper revision 1.1159.1.135 (413e190eP4v_o8snM-gc3l9__yG40g)kaf24@freefall.cl.cam.ac.uk2004-09-071-0/+1
| | | | | Fix a compile warning.
* bitkeeper revision 1.1159.1.129 (413d868bPMWkW0lZg_MuAYIrmx7XDQ)cl349@freefall.cl.cam.ac.uk2004-09-071-3/+1
| | | | | Make writable pagetables a domain creation option.
* bitkeeper revision 1.1082 (40f5427bJQEFqTSPn7NWKEkiQ-CC9g)kaf24@scramble.cl.cam.ac.uk2004-07-141-2/+3
| | | | | | Allow loading of kernel images with virtual-memory base different from kernel-image load base.
* bitkeeper revision 1.1062.1.8 (40f2b4a7XA6Vy0Lq6nLBErX9_qDhcQ)kaf24@scramble.cl.cam.ac.uk2004-07-121-0/+8
| | | | | | Various cleanups, and fix a domain-destruct bug that left GDT references hanging.
* bitkeeper revision 1.825.3.18 (406aeeb6EYYfLTekemoWDRaWO8SuEQ)kaf24@scramble.cl.cam.ac.uk2004-03-311-0/+523
highmem.c, highmem.h: new file Many files: New bootstrap layout for DOM0 and for all Linux domains. Xenolinux now support CONFIG_HIGHMEM for up to 4GB allocated to a Xenolinux domain. .del-highmem.h~c3cf3f6856a90f6: Delete: xenolinux-2.4.25-sparse/include/asm-xen/highmem.h elf.h: Rename: xen/include/asm-i386/elf.h -> xen/include/xen/elf.h .del-elf.h~57347596c85127ef: Delete: xen/include/asm-x86_64/elf.h