aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/arch
Commit message (Collapse)AuthorAgeFilesLines
...
* minios: fix case when _text is not 0Keir Fraser2008-01-221-5/+5
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: make time interface POSIXKeir Fraser2008-01-212-18/+21
| | | | | | | timespec uses tv_sec and tv_nsec too. gettimeofday takes a tz argument. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: support COW for a zero pageKeir Fraser2008-01-182-1/+49
| | | | | Permits to support sparse data. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: extend map_frames into being able to map a series ofKeir Fraser2008-01-182-22/+49
| | | | | | | | contiguous frames, or the same frame several times, aligned, from another domain, with specific protection, and with potential failures. 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-183-4/+89
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
* minios: make stack size configurableKeir Fraser2008-01-175-13/+15
| | | | | Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com> Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* mini-os: No -fpic when building for x86.Keir Fraser2007-12-041-1/+1
| | | | Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
* [Mini-OS] Catch NULL dereferencesKeir Fraser2007-11-281-0/+3
| | | | | | Unmap page 0 (only used early at boot) so as to catch NULL dereferences. Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
* [Mini-OS] Permit x86_64 trap handlers to returnKeir Fraser2007-11-241-0/+1
| | | | | | | Trap handlers sometimes fix the problem, so they need to be able to return. Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
* [Mini-OS] Make bind_virq return the portKeir Fraser2007-11-231-1/+1
| | | | | | | Make bind_virq() return the port bound to the irq, which is useful e.g. for masking/unmasking it. Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
* [Mini-OS] Fix x86 arch_switch_threadKeir Fraser2007-11-232-0/+38
| | | | | | | | | Fix x86 arch_switch_thread by making it pure assembly. There were missing general register clobbers for x86_64, and BP should theorically be clobbered too, but gcc does not believe that, so the only simple safe solution is to use pure assembly. Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
* [Mini-OS] Fix stack closuresKeir Fraser2007-11-232-0/+5
| | | | | | | | So as to make backtracing tools happy, correctly close x86 stacks for new threads as well as on callback in the x86_32 case since there is no unwind marker. Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
* [Mini-OS] Fix x86 initial stack alignmentKeir Fraser2007-11-233-4/+6
| | | | | | | | | This fixes the initial stack alignment for x86, which is required for current to return a fine NULL instead of a random value or possibly crash during initialization. Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk> Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
* minios: Remove unnecessary padding and unused sections from x86/64Keir Fraser2007-09-251-9/+0
| | | | | linker script. Signed-off-by: Keir Fraser <keir@xensource.com>
* merge with xen-unstable.hgAlex Williamson2007-08-122-3/+6
|\
| * [MINIOS] fix x86_64 p2m map and CFLAGSTim Deegan2007-08-022-3/+6
| | | | | | | | Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
* | [IA64][MINIOS] PKR supportAlex Williamson2007-07-303-5/+34
|/ | | | | | | | - adds optimization feature for region 7 identity mapping - adds protection keys to region 5 and region 7 addresses, may be used for testing the hypervisor protection key support Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* [MINIOS][IA64] mini-os without linux-optimization in hypervisorAlex Williamson2007-06-262-21/+31
| | | | | | | Make mini-os runnable again without the special linux optimization for the identity mapping in the hypervisor. Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* merge with xen-unstable.hgawilliam@xenbuild2.aw2007-03-201-2/+2
|\
| * minios: Fix an extern declaration and add an extra 'const' tokfraser@localhost.localdomain2007-03-151-2/+2
| | | | | | | | | | | | definition of a constant set of constant error strings. Issues identified by Armand Puccetti. Signed-off-by: Keir Fraser <keir@xensource.com>
* | [IA64][MINIOS] Make Endian-ness build changeable on the command lineawilliam@xenbuild2.aw2007-03-201-1/+1
| | | | | | | | | | | | Now you can do 'BIGENDIAN=y make' Signed-off-by: Alex Williamson <alex.williamson@hp.com>
* | [IA64][MINIOS] Fixed some big-endian bugs and add HYPERVISOR_suspendawilliam@xenbuild2.aw2007-03-205-5/+57
| | | | | | | | Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* | [IA64][MINIOS] cleanup ia64_boot_paramP and add ARCH_LDFLAGSawilliam@xenbuild2.aw2007-03-122-1/+6
| | | | | | | | Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* | merge with xen-unstable.hgawilliam@xenbuild2.aw2007-03-074-6/+52
|\|
| * Create P2M map during Mini-OS boot (fixes 'xm dump-core').kfraser@localhost.localdomain2007-03-012-0/+47
| | | | | | | | Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
| * Fix PAE Mini-OS build.kfraser@localhost.localdomain2007-03-012-6/+5
| | | | | | | | Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* | [IA64][MINIOS] Make mini-os ia64 cross compile-ableawilliam@xenbuild2.aw2007-02-282-55/+22
| | | | | | | | Signed-off-by: Tristan Gingold <tgingold@free.fr>
* | [IA64][MINIOS] Build fixawilliam@xenbuild2.aw2007-02-231-1/+1
|/ | | | | | Fix specifier changed in common minios makerules. Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* merge with xen-unstable.hgawilliam@xenbuild2.aw2007-02-202-6/+4
|\
| * minios: build system cleanups.kfraser@localhost.localdomain2007-02-152-6/+4
| | | | | | | | | | | | | | | | | | | | - 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>
* | [IA64][MINIOS] Port of mini-os to ia64awilliam@xenbuild2.aw2007-02-1518-0/+3834
|/ | | | | | | | | | | | | | | ia64 specific parts of mini-os. Minimal config: # Kernel image file. kernel = "mini-os.gz" # Initial memory allocation (in megabytes) for the new domain. memory = 64 # A name for your domain. name = "Mini-OS" Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* minios: Fix ret_from_exception routine. Stack consistency is now preserved.kfraser@localhost.localdomain2007-02-021-5/+4
| | | | Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
* [MINIOS] More cleanups for the ia64 port.kfraser@localhost.localdomain2007-01-192-17/+228
| | | | Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* [MINIOS] Fix compile warnings with -O.kfraser@localhost.localdomain2007-01-191-0/+1
| | | | Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* [MINIOS] New make structure to support different architectures.kfraser@localhost.localdomain2007-01-176-0/+828
| | | | Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* [MINIOS] Refactored mm.c and sched.c. x86 arch specific code got moved tokfraser@localhost.localdomain2006-11-222-0/+578
| | | | | | | | | 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] Added a new file arc/x86/setup.c and moved some x86 specifickfraser@localhost.localdomain2006-09-231-0/+108
| | | | | | | initialization stuff from kernel.c there. Two new functions are added to handle this. Signed-off-by: Dietmar Hahn <dietmar.hahn@fujitsu-siemens.com>
* [MINIOS] A first step to re-architecture mini-os for a port to ia64.kfraser@localhost.localdomain2006-08-101-0/+229
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>