新聞中心

EEPW首頁 > 嵌入式系統(tǒng) > 設計應用 > s3c2410內核的起始地址

s3c2410內核的起始地址

作者: 時間:2016-11-10 來源:網絡 收藏
在linux-2.6.24.4/arch/arm/kernel/head.S中有這樣的一段話。

* swapper_pg_dir is the virtual address of the initial page table.

本文引用地址:http://www.2s4d.com/article/201611/317275.htm

* We place the page tables 16K below KERNEL_RAM_VADDR.Therefore, we must

* make sure that KERNEL_RAM_VADDR is correctly set.Currently, we expect

* the least significant 16 bits to be 0x8000, but we could probably

* relax this restriction to KERNEL_RAM_VADDR >= PAGE_OFFSET + 0x4000.

大致的意思是,在KERNEL_RAM_VADDR(內核的在RAM中的地址)下面16K(16bit,也就是說是32Kb,0x8000)的地方放著初始化頁表的虛擬地址,因此至少在RAM的起始地址還有偏移0x8000才能開始放內核。



評論


技術專區(qū)

關閉