*参照元 [#od595285]
#backlinks

*説明 [#n54fb340]
-パス: [[linux-4.4.1/arch/arm/include/asm/thread_info.h]]

-FIXME: これは何?
--説明


**参考 [#s5209190]


*実装 [#m649aa7c]
 /*
  * low level task data that entry.S needs immediate access to.
  * __switch_to() assumes cpu_context follows immediately after cpu_domain.
  */
 struct thread_info {
         unsigned long           flags;          /* low level flags */
         int                     preempt_count;  /* 0 => preemptable, <0 => bug */
         mm_segment_t            addr_limit;     /* address limit */
-
--[[linux-4.4.1/mm_segment_t]]

         struct task_struct      *task;          /* main task structure */
-
--[[linux-4.4.1/task_struct]]

         __u32                   cpu;            /* cpu */
         __u32                   cpu_domain;     /* cpu domain */
         struct cpu_context_save cpu_context;    /* cpu context */
-
--[[linux-4.4.1/cpu_context_save]]

         __u32                   syscall;        /* syscall number */
         __u8                    used_cp[16];    /* thread used copro */
         unsigned long           tp_value[2];    /* TLS registers */
 #ifdef CONFIG_CRUNCH
         struct crunch_state     crunchstate;
 #endif
-
--[[linux-4.4.1/CONFIG_CRUNCH]]
--[[linux-4.4.1/crunch_state]]

         union fp_state          fpstate __attribute__((aligned(8)));
         union vfp_state         vfpstate;
-
--[[linux-4.4.1/fp_state]]
--[[linux-4.4.1/vfp_state]]

 #ifdef CONFIG_ARM_THUMBEE
         unsigned long           thumbee_state;  /* ThumbEE Handler Base register */
 #endif
-
--[[linux-4.4.1/CONFIG_ARM_THUMBEE]]

 };


*コメント [#da362dad]


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS