Changeset 910372a in mainline


Ignore:
Timestamp:
2006-07-04T07:57:26Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a6dd361
Parents:
5eabe73
Message:

initial support for Xen

Files:
46 added
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r5eabe73 r910372a  
    9696endif
    9797ifeq ($(ARCH),amd64)
     98        DEFS += -DCONFIG_VESA_WIDTH=$(CONFIG_VESA_WIDTH)
     99        DEFS += -DCONFIG_VESA_HEIGHT=$(CONFIG_VESA_HEIGHT)
     100        DEFS += -DCONFIG_VESA_BPP=$(CONFIG_VESA_BPP)
     101endif
     102ifeq ($(ARCH),xen32)
    98103        DEFS += -DCONFIG_VESA_WIDTH=$(CONFIG_VESA_WIDTH)
    99104        DEFS += -DCONFIG_VESA_HEIGHT=$(CONFIG_VESA_HEIGHT)
  • kernel.config

    r5eabe73 r910372a  
    99@ "ppc64" PowerPC 64-bit
    1010@ "sparc64" Sun UltraSPARC
     11@ "xen32" Xen 32-bit
    1112! ARCH (choice)
    1213
     
    3637@ "athlon-mp" Athlon MP
    3738@ "prescott" Prescott
    38 ! [ARCH=ia32] IA32_CPU (choice)
     39! [ARCH=ia32|ARCH=xen32] IA32_CPU (choice)
    3940
    4041# MIPS Machine type
     
    4748
    4849# Framebuffer support
    49 ! [(ARCH=mips32&MIPS_MACHINE=lgxemul)|(ARCH=mips32&MIPS_MACHINE=bgxemul)|(ARCH=ia32)|(ARCH=amd64)] CONFIG_FB (y/n)
     50! [(ARCH=mips32&MIPS_MACHINE=lgxemul)|(ARCH=mips32&MIPS_MACHINE=bgxemul)|(ARCH=ia32)|(ARCH=amd64)|(ARCH=xen32)] CONFIG_FB (y/n)
    5051
    5152# Framebuffer width
     
    6061@ "1600"
    6162@ "2048"
    62 ! [(ARCH=ia32|ARCH=amd64)&CONFIG_FB=y] CONFIG_VESA_WIDTH (choice)
     63! [(ARCH=ia32|ARCH=amd64|ARCH=xen32)&CONFIG_FB=y] CONFIG_VESA_WIDTH (choice)
    6364
    6465# Framebuffer height
     
    7677@ "1200"
    7778@ "1536"
    78 ! [(ARCH=ia32|ARCH=amd64)&CONFIG_FB=y] CONFIG_VESA_HEIGHT (choice)
     79! [(ARCH=ia32|ARCH=amd64|ARCH=xen32)&CONFIG_FB=y] CONFIG_VESA_HEIGHT (choice)
    7980
    8081# Framebuffer depth
     
    8283@ "16"
    8384@ "24"
    84 ! [(ARCH=ia32|ARCH=amd64)&CONFIG_FB=y] CONFIG_VESA_BPP (choice)
     85! [(ARCH=ia32|ARCH=amd64|ARCH=xen32)&CONFIG_FB=y] CONFIG_VESA_BPP (choice)
    8586
    8687
    8788
    8889# Support for SMP
    89 ! [ARCH=ia32|ARCH=amd64] CONFIG_SMP (y/n)
     90! [ARCH=ia32|ARCH=amd64|ARCH=xen32] CONFIG_SMP (y/n)
    9091
    9192# Improved support for hyperthreading
    92 ! [(ARCH=ia32|ARCH=amd64)&CONFIG_SMP=y] CONFIG_HT (y/n)
     93! [(ARCH=ia32|ARCH=amd64|ARCH=xen32)&CONFIG_SMP=y] CONFIG_HT (y/n)
    9394
    9495# Simics BIOS AP boot fix
    95 ! [(ARCH=ia32|ARCH=amd64)&CONFIG_SMP=y] CONFIG_SIMICS_FIX (y/n)
     96! [(ARCH=ia32|ARCH=amd64|ARCH=xen32)&CONFIG_SMP=y] CONFIG_SIMICS_FIX (y/n)
    9697
    9798# Lazy FPU context switching
    98 ! [(ARCH=mips32&MIPS_MACHINE!=msim&MIPS_MACHINE!=simics)|ARCH=amd64|ARCH=ia32|ARCH=ia64] CONFIG_FPU_LAZY (y/n)
     99! [(ARCH=mips32&MIPS_MACHINE!=msim&MIPS_MACHINE!=simics)|ARCH=amd64|ARCH=ia32|ARCH=ia64|ARCH=xen32] CONFIG_FPU_LAZY (y/n)
    99100
    100101# Power off on halt
     
    110111
    111112# Watchpoint on rewriting AS with zero
    112 ! [CONFIG_DEBUG=y&(ARCH=amd64|ARCH=ia32)] CONFIG_DEBUG_AS_WATCHPOINT (y/n)
     113! [CONFIG_DEBUG=y&(ARCH=amd64|ARCH=ia32|ARCH=xen32)] CONFIG_DEBUG_AS_WATCHPOINT (y/n)
    113114
    114115# Save all interrupt registers
    115 ! [CONFIG_DEBUG=y&(ARCH=amd64|ARCH=mips32|ARCH=ia32)] CONFIG_DEBUG_ALLREGS (y/n)
     116! [CONFIG_DEBUG=y&(ARCH=amd64|ARCH=mips32|ARCH=ia32|ARCH=xen32)] CONFIG_DEBUG_ALLREGS (y/n)
    116117
    117118# Use VHPT
     
    131132@ "synch/semaphore1" Semaphore test 1
    132133@ "synch/semaphore2" Sempahore test 2
    133 @ [ARCH=ia32|ARCH=amd64|ARCH=ia64] "fpu/fpu1" Intel fpu test 1
    134 @ [ARCH=ia32|ARCH=amd64] "fpu/sse1" Intel Sse test 1
     134@ [ARCH=ia32|ARCH=amd64|ARCH=ia64|ARCH=xen32] "fpu/fpu1" Intel fpu test 1
     135@ [ARCH=ia32|ARCH=amd64|ARCH=xen32] "fpu/sse1" Intel Sse test 1
    135136@ [ARCH=mips32&MIPS_MACHINE!=msim&MIPS_MACHINE!=simics] "fpu/mips1" Mips FPU test 1
    136137@ "print/print1" Printf test 1
Note: See TracChangeset for help on using the changeset viewer.