aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* build: Make XEN_ROOT an absolute path.Keir Fraser2011-03-171-1/+1
| | | | | | | | Otherwise make can search the path relative to certain standard paths such as /usr/include (e.g., the line '-include $(XEN_ROOT)/.config' in Config.mk suffers from this). Signed-off-by: Keir Fraser <keir@xen.org>
* Fix mini-os ia64 compilationKeir Fraser2008-12-181-2/+6
| | | | | | | - Avoid nested function to avoid a trampoline. - Do not link mini-os_app.o when it is empty. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
* pv-grub: On x86_64, also build an x86_32 pv-grubKeir Fraser2008-08-141-2/+2
| | | | | | | This requires suffixing obj directories and having grub compiled outside sources. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: fixes to compile with qemu-xenKeir Fraser2008-07-101-1/+3
| | | | | | | | | | This adds fixes to the stub domain build into compiling Ian Jackson's qemu-xen. The most notable change is that mini-os headers now #include each other through a mini-os/ prefix, so that we can turn all -I into -isystem and still be sure that we include Mini-OS headers (and not qemu's console.h or blktaplib's list.h for instance...). Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios,stubdom: Add OBJ_DIR parameter to compile outside sources,Keir Fraser2008-06-171-20/+21
| | | | | | | which permits to easily compile mini-os in various flavors. Also clean some parts of stubdom build. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: make the build more generic by moving as many stubdom partsKeir Fraser2008-05-281-26/+7
| | | | | | | into stubdom/ as possible. That also permits to build all of ioemu, c and caml stubdoms at the same time. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: complete libxc supportKeir Fraser2008-05-231-1/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: sparse application's BSS by linking it separately first, putKeir Fraser2008-04-161-12/+17
| | | | | | | markers at its beginning and end, and then link with mini-os. That permits to stick a bit more to upstream qemu. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* stubdom: add C example targetKeir Fraser2008-03-191-1/+6
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* Add stubdomain support. See stubdom/README for usage details.Keir Fraser2008-02-121-50/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move PAGE_SIZE and STACK_SIZE into __PAGE_SIZE and __STACK_SIZE in arch_limits.h so as to permit getting them from there without pulling all the internal Mini-OS defines. - Setup a xen-elf cross-compilation environment in stubdom/cross-root - Add a POSIX layer on top of Mini-OS by linking against the newlib C library and lwIP, and implementing the Unixish part in mini-os/lib/sys.c - Cross-compile zlib and libpci too. - Add an xs.h-compatible layer on top of Mini-OS' xenbus. - Cross-compile libxc with an additional xc_minios.c and a few things disabled. - Cross-compile ioemu with an additional block-vbd, but without sound, tpm and other details. A few hacks are needed: - Align ide and scsi buffers at least on sector size to permit direct transmission to the block backend. While we are at it, just page-align it to possibly save a segment. Also, limit the scsi buffer size because of limitations of the block paravirtualization protocol. - Allocate big tables dynamically rather that letting them go to bss: when Mini-OS gets installed in memory, bss is not lazily allocated, and doing so during Mini-OS is unnecessarily trick while we can simply use malloc. - Had to change the Mini-OS compilation somehow, so as to export Mini-OS compilation flags to the Makefiles of libxc and ioemu. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: add blkfront testingKeir Fraser2008-01-221-0/+3
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: add lwIP 1.3.0 supportKeir Fraser2008-01-211-0/+26
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: set text and rodata read-only, free unused pages 0 and 1Keir Fraser2008-01-181-1/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* [MINIOS] fix x86_64 p2m map and CFLAGSTim Deegan2007-08-021-0/+4
| | | | Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
* Fix PAE Mini-OS build.kfraser@localhost.localdomain2007-03-011-2/+1
| | | | Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* minios: build system cleanups.kfraser@localhost.localdomain2007-02-151-5/+0
| | | | | | | | | | - Added ARCH_LDFLAGS for architecture specific LDFLAGS - Fixed build dependencies after changing makerule files - Fixed ARCH_CFLAGS for 64bit guest, added ARCH_ASFLAGS - Couple of variable renames Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com> Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* [MINIOS] Added domctl and sysctl hypercalls to thekfraser@localhost.localdomain2007-01-191-1/+1
| | | | | | | architecture-specific header files. Also increased the __XEN_INTERFACE_VERSION__ to 0x00030205. Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
* [MINIOS] New make structure to support different architectures.kfraser@localhost.localdomain2007-01-171-89/+71
| | | | Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* [MINIOS] Clean up final link stage of the build.kaf24@firebug.cl.cam.ac.uk2007-01-151-9/+13
| | | | | | | | | | | | | Allow extra application objects to be linked against a partial link of minios with non-global names localised. For now we assume that global names ill be assigned a xenos_ prefix in due course. We may decide to choose a different prefix. Those who wish to finish the link from an external Makefile can link their own objects against mini-os.o (which must be first in link order!) and specify the appropriate architecture linker script. Signed-off-by: Keir Fraser <keir@xensource.com>
* [MINIOS] Update __XEN_INTERFACE_VERSION__kfraser@localhost.localdomain2007-01-121-1/+1
| | | | Signed-off-by: Keir Fraser <keir@xensource.com>
* [MINIOS] Refactored mm.c and sched.c. x86 arch specific code got moved tokfraser@localhost.localdomain2006-11-221-3/+4
| | | | | | | | | arch/x86/mm.c and arch/x86/sched.c. Header files were also refactored: arch specific code got moved to include/x86/arch_mm.h and include/x86/sched_mm.h. Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com> Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* [MINIOS] Event channel hypercall update for 64-bit guests.kfraser@localhost.localdomain2006-11-171-1/+5
| | | | Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* [MINIOS] Declare a __XEN_INTERFACE_VERSION__ to fix the buildAnil Madhavapeddy2006-08-311-0/+3
|
* [MINIOS] A first step to re-architecture mini-os for a port to ia64.kfraser@localhost.localdomain2006-08-101-2/+51
| | | | | | | | Create architecture specific directories below mini-os for sources and below mini-os/include for headers. Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* Use a global build configuration file, and rework libxc Makefile for PPC.kfraser@dhcp93.uk.xensource.com2006-05-311-1/+2
| | | | | Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
* [MINIOS] Allows the use of a C library without modifying Mini-OS source files.kaf24@firebug.cl.cam.ac.uk2006-05-261-4/+5
| | | | | | From: John Ramsdell Signed-off-by: Keir Fraser <keir@xensource.com>
* [MINIOS] PAE support.kaf24@firebug.cl.cam.ac.uk2006-05-191-0/+6
| | | | | Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
* Allow linking of mini-os with application-specific object code.kaf24@firebug.cl.cam.ac.uk2006-05-151-10/+19
| | | | | | From: Jacob Gorm Hansen Signed-off-by: Keir Fraser <keir@xensource.com>
* Fix fault handler for both 32 and 64 bit architecture. Clean up unused code.kaf24@firebug.cl.cam.ac.uk2006-05-041-0/+8
| | | | | | | Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk> Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
* build: Clean up use of .PHONYkaf24@firebug.cl.cam.ac.uk2006-04-101-0/+3
| | | | | | | | | | | | * Move .PHONY directives next to targets, this makes them a lot harder to miss * Add missing .PHONY directives * Remove nonexistent .PHONY directives * Hopefully I didn'T miss anything... Signed-Off-By: Horms <horms@verge.net.au>
* Fix mini-os xenbus.kaf24@firebug.cl.cam.ac.uk2006-03-241-2/+1
| | | | | | | From: Grzegorz Milos <gm281@cam.ac.uk> Signed-off-by: Keir Fraser <keir@xensource.com>
* Implement console for Mini-os and also fix 2 bugs:kaf24@firebug.cl.cam.ac.uk2006-03-151-1/+1
| | | | | | | | | a) in initialising new page table frames b) in initialising idle thread. Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* 64 bit pagetable builder added to mm.ckaf24@firebug.cl.cam.ac.uk2006-03-091-0/+1
| | | | | | | | Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com> Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* Xenbus implementation ported from Linux to Mini-os, simple thread support ↵kaf24@firebug.cl.cam.ac.uk2005-09-091-4/+7
| | | | | | | | | | | introduced to simplify the porting. 64 bit version of Mini-os now compiles, but does not work because of the pagetables and some bits of scheduler not being written. Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* Mini-os updates from Grzegorz Milos.kaf24@firebug.cl.cam.ac.uk2005-07-061-11/+15
|
* bitkeeper revision 1.1177.1.1 (420c983eSjbjDYGF-fYWrXw_L7qkLA)kaf24@scramble.cl.cam.ac.uk2005-02-111-15/+27
| | | | | | Mini-OS cleanups. Bug fixes in x86_64 assembly code. Signed-off-by: keir.fraser@cl.cam.ac.uk
* bitkeeper revision 1.1159.142.4 (4184b6d4rc3Jd2irJimPyupm4TO06A)kaf24@freefall.cl.cam.ac.uk2004-10-311-4/+4
| | | | | | | | | | Rename Xen public interfaces. 1. hypervisor-if.h is now xen.h 2. hypervisor-ifs/ directory is now: <include/public/...> in Xen <asm/xen-public/...> in Linux <xen/...> in user space
* bitkeeper revision 1.825.3.18 (406aeeb6EYYfLTekemoWDRaWO8SuEQ)kaf24@scramble.cl.cam.ac.uk2004-03-311-10/+1
| | | | | | | | | | | | | | 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
* bitkeeper revision 1.822 (40600a0a9K2f7dR0Ky2OCGfBDHTTmQ)kaf24@scramble.cl.cam.ac.uk2004-03-231-2/+2
| | | | | | Many files: xeno -> xen renames.
* bitkeeper revision 1.695 (4017ff70oJV8517inpGbN1CixN6csw)kaf24@scramble.cl.cam.ac.uk2004-01-281-3/+1
| | | | | | Many files: Clean up compile warnings. Added stricter gcc options for Xen build.
* bitkeeper revision 1.694 (40133166fMqipwBHlUP1QVHEO6EEOg)kaf24@scramble.cl.cam.ac.uk2004-01-251-4/+11
| | | | | | Many files: From Kip Macy, we now are stricter when compiling the mini os.
* bitkeeper revision 1.520 (3f8d13d8qVVqxcYD--4cXYs5egqNyg)kaf24@scramble.cl.cam.ac.uk2003-10-151-1/+1
| | | | | | | | | | | | Many files: Fix the minos license so that it is usable for XP and BSD ports. minios.lds: Rename: extras/mini-os/vmlinux.lds -> extras/mini-os/minios.lds .del-list.h~d612a8726e8d42e: Delete: extras/mini-os/h/list.h .del-COPYING~1f9753354580bd13: Delete: extras/mini-os/COPYING
* bitkeeper revision 1.501.1.2 (3f87baa7GCRi_yatMEUW36MM6ZAyEQ)kaf24@scramble.cl.cam.ac.uk2003-10-111-0/+1
| | | | | | xen_refresh_dev.c: new file
* bitkeeper revision 1.484 (3f81a9e9NHEXcbdhSQY4okBiJfC9XA)iap10@labyrinth.cl.cam.ac.uk2003-10-061-8/+12
| | | | | mini-os Makefile improvements
* bitkeeper revision 1.483 (3f81a3e2iM-0WXaGxUS3ywM3_KZqLw)iap10@labyrinth.cl.cam.ac.uk2003-10-061-0/+40
move mini-os to extras directory