Ядро Linux в комментариях

       

Arch/i386/kernel/init_task.c


575 #include <linux/mm.h> 576 #include <linux/sched.h> 577 578 #include <asm/uaccess.h> 579 #include <asm/pgtable.h> 580 #include <asm/desc.h> 581 582 static struct vm_area_struct init_mmap = INIT_MMAP; 583 static struct fs_struct init_fs = INIT_FS; 584 static struct file * init_fd_array[NR_OPEN] = { NULL, }; 585 static struct files_struct init_files = INIT_FILES; 586 static struct signal_struct init_signals = INIT_SIGNALS; 587 struct mm_struct init_mm = INIT_MM; 588 589 /* Initial task structure. 590 * We need to make sure that this is 8192-byte aligned 591 * due to the way process stacks are handled. This is 592 * done by having a special "init_task" linker map 593 * entry.. */ 594 union task_union init_task_union 595 __attribute__((__section__(".data.init_task"))) = 596 { INIT_TASK }; 597



Содержание раздела