ia64/xen-unstable

view xen/arch/ia64/xen/idle0_task.c @ 16785:af3550f53874

[IA64] domheap: Don't pin xenheap down. Now it's unnecessary.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Thu Jan 17 12:05:43 2008 -0700 (2008-01-17)
parents fd56e24b07c8
children
line source
1 #include <xen/config.h>
2 #include <xen/sched.h>
3 #include <asm/desc.h>
5 #define IDLE_VCPU(_v) \
6 { \
7 processor: 0, \
8 domain: 0 \
9 }
11 /*
12 * Initial task structure.
13 *
14 * We need to make sure that this is properly aligned due to the way process
15 * stacks are handled.
16 * This is done by having a special ".data.init_task" section...
17 *
18 * init_task_mem shouldn't be used directly. the corresponding address in
19 * the identity mapping area should be used.
20 * I.e. __va(ia64_tpa(init_task_mem)) should be used.
21 */
22 union {
23 struct {
24 struct vcpu task;
25 } s;
26 unsigned long stack[KERNEL_STACK_SIZE/sizeof (unsigned long)];
27 } init_task_mem __attribute__((section(".data.init_task"))) = {{
28 .task = IDLE_VCPU(init_task_mem.s.task)
29 }};