12.07.2015 Views

RealView - ARM Information Center

RealView - ARM Information Center

RealView - ARM Information Center

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

使 用 分 散 加 载 描 述 文 件5.4.2 类 型 2, 一 个 加 载 区 和 几 个 不 连 续 的 执 行 区此 类 映 像 由 加 载 视 图 中 的 单 个 加 载 区 以 及 执 行 视 图 中 的 三 个 执 行 区 组 成 。 它 与类 型 1 映 像 相 似 , 但 RW 执 行 区 与 RO 执 行 区 不 相 邻 。--ro-base address1 指 定 包 含 RO 输 出 节 的 区 的 加 载 和 执 行 地 址 。--rw-baseaddress2 指 定 RW 执 行 区 的 执 行 地 址 。示 例 5-25 说 明 了 与 使 用 --ro-base 0x010000 --rw-base 0x040000 等 效 的 分 散 加 载 描述 。示 例 5-25 单 个 加 载 区 和 多 个 执 行 区LR_1 0x010000{ER_RO +0}; Defines the load region name as LR_1; The first execution region is called ER_RO and starts at end of previous region.; Since there is no previous region, the address is 0x010000.{* (+RO) ; All RO sections are placed consecutively into this region.}ER_RW 0x040000 ; Second execution region is called ER_RW and starts at 0x040000.{* (+RW) ; All RW sections are placed consecutively into this region.}ER_ZI +0; The last execution region is called ER_ZI.; The address is 0x040000 + size of ER_RW region.{* (+ZI) ; All ZI sections are placed consecutively here.}此 描 述 创 建 一 个 映 像 , 其 中 包 含 一 个 名 为 LR_1 的 加 载 区 , 其 加 载 地 址 是0x010000。该 映 像 包 含 三 个 名 为 ER_RO、ER_RW 和 ER_ZI 的 执 行 区 , 它 们 分 别 包 含 RO、RW 和ZI 输 出 节 。 RO 区 是 根 区 。 ER_RO 的 执 行 地 址 是 0x010000。ER_RW 执 行 区 与 ER_RO 不 相 邻 。 其 执 行 地 址 是 0x040000。ER_ZI 执 行 区 紧 靠 上 一 个 执 行 区 ER_RW 后 面 放 置 。5-48 版 权 所 有 © 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!