*参照元 [#tec88a09]
#backlinks

*説明 [#ya5b6b80]
-パス: 複数あり
--MMU 有効の場合: [[linux-2.6.33/]]
--MMU 無効の場合(汎用): [[linux-2.6.33/]]
--MMU 無効の場合はアーキテクチャごとに定義が異なる
---OMAP, xscale, etc ...

-カーネル先頭の仮想アドレス
--説明


**参考 [#x93387db]


*実装 [#e65a9777]
 #ifdef CONFIG_MMU
 
-MMU 有効の場合
--[[linux-2.6.33/CONFIG_MMU]]

 /*
  * PAGE_OFFSET - the virtual address of the start of the kernel image
  * TASK_SIZE - the maximum size of a user space task.
  * TASK_UNMAPPED_BASE - the lower boundary of the mmap VM area
  */
 #define PAGE_OFFSET		UL(CONFIG_PAGE_OFFSET)
-
--[[linux-2.6.33/CONFIG_PAGE_OFFSET]]

 (略)
 #else /* CONFIG_MMU */
-MMU 無効の場合

 (略)
 #ifndef PAGE_OFFSET
-アーキテクチャごとの定義がない場合

 #define PAGE_OFFSET		(PHYS_OFFSET)
-
--[[linux-2.6.33/PHYS_OFFSET]]

 #endif


*コメント [#w892ce60]


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS