📄 idle0_task.c
字号:
#include <xen/config.h>#include <xen/sched.h>#include <asm/desc.h>#define IDLE_VCPU(_v) \{ \ processor: 0, \ domain: 0 \}/* * Initial task structure. * * We need to make sure that this is properly aligned due to the way process stacks are * handled. This is done by having a special ".data.init_task" section... */union { struct { struct vcpu task; } s; unsigned long stack[KERNEL_STACK_SIZE/sizeof (unsigned long)];} init_task_mem asm ("init_task") __attribute__((section(".data.init_task"))) = {{ .task = IDLE_VCPU(init_task_mem.s.task)}};EXPORT_SYMBOL(init_task);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -