The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/arch/score/kernel/init_task.c

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*
    2  * arch/score/kernel/init_task.c
    3  *
    4  * Score Processor version.
    5  *
    6  * Copyright (C) 2009 Sunplus Core Technology Co., Ltd.
    7  *
    8  * This program is free software; you can redistribute it and/or modify
    9  * it under the terms of the GNU General Public License as published by
   10  * the Free Software Foundation; either version 2 of the License, or
   11  * (at your option) any later version.
   12  *
   13  * This program is distributed in the hope that it will be useful,
   14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
   15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   16  * GNU General Public License for more details.
   17  *
   18  * You should have received a copy of the GNU General Public License
   19  * along with this program; if not, see the file COPYING, or write
   20  * to the Free Software Foundation, Inc.,
   21  * 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
   22  */
   23 
   24 #include <linux/init_task.h>
   25 #include <linux/mqueue.h>
   26 
   27 static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
   28 static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
   29 
   30 /*
   31  * Initial thread structure.
   32  *
   33  * We need to make sure that this is THREAD_SIZE aligned due to the
   34  * way process stacks are handled. This is done by having a special
   35  * "init_task" linker map entry..
   36  */
   37 union thread_union init_thread_union __init_task_data =
   38         { INIT_THREAD_INFO(init_task) };
   39 
   40 /*
   41  * Initial task structure.
   42  *
   43  * All other task structs will be allocated on slabs in fork.c
   44  */
   45 struct task_struct init_task = INIT_TASK(init_task);
   46 EXPORT_SYMBOL(init_task);

Cache object: 7a178b0e553d131f030d3eeff47a3ce5


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.