12.07.2015 Views

RealView - ARM Information Center

RealView - ARM Information Center

RealView - ARM Information Center

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

使 用 分 散 加 载 描 述 文 件--ro-base address1--rw-base address2指 定 包 含 RO 输 出 节 的 区 的 加 载 和 执 行 地 址 。指 定 包 含 RW 输 出 节 的 区 的 加 载 和 执 行 地 址 。--split 将 缺 省 的 单 个 加 载 区 ( 包 含 RO 和 RW 输 出 节 ) 拆 分 为 两 个 加 载 区 。一 个 加 载 区 包 含 RO 输 出 节 ; 另 一 个 加 载 区 包 含 RW 输 出 节 。示 例 5-27 说 明 了 与 使 用 --ro-base 0x010000 --rw-base 0x040000 --split 等 效 的 分 散加 载 描 述 。在 本 示 例 中 :• 此 描 述 创 建 一 个 映 像 , 其 中 包 含 两 个 名 为 LR_1 和 LR_2 的 加 载 区 , 它 们 的 加载 地 址 是 0x010000 和 0x040000。• 该 映 像 包 含 三 个 名 为 ER_RO、ER_RW 和 ER_ZI 的 执 行 区 , 它 们 分 别 包 含 RO、RW 和 ZI 输 出 节 。 ER_RO 的 执 行 地 址 是 0x010000。• ER_RW 执 行 区 与 ER_RO 不 相 邻 。 其 执 行 地 址 是 0x040000。• ER_ZI 执 行 区 紧 靠 上 一 个 执 行 区 ER_RW 后 面 放 置 。示 例 5-27 多 个 加 载 区LR_1 0x010000 ; The first load region is at 0x010000.{ER_RO +0 ; The address is 0x010000.{* (+RO)}}LR_2 0x040000 ; The second load region is at 0x040000.{ER_RW +0 ; The address is 0x040000.{* (+RW) ; All RW sections are placed consecutively into this region.}ER_ZI +0 ; The address is 0x040000 + size of ER_RW region.{* (+ZI) ; All ZI sections are placed consecutively into this region.}}5-50 版 权 所 有 © 2007 <strong>ARM</strong> 公 司 。 保 留 所 有 权 利 。 <strong>ARM</strong> DUI 0349AC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!