没有合适的资源?快使用搜索试试~ 我知道了~
首页CSR Bluelab开发文档——VM Memory Mapping and Memory Usage
资源详情
资源评论
资源推荐

_äìÉ`çêÉ»
VM Memory Mapping and Memory Usage
Application Note
November 2006
CSR
Cambridge Science Park
Milton Road
Cambridge CB4 0WH
United Kingdom
Registered in England 4187346
Tel: +44 (0)1223 692000
Fax: +44 (0)1223 692001
www.csr.com
CS-110364-ANP1
© CSR plc 2006
This material is subject to CSR’s non-disclosure agreement.

Contents
Contents
1 Introduction....................................................................................................................................................3
1.1 XAP Processor ........................................................................................................................................3
2 The VM Memory Map .....................................................................................................................................4
2.1 Description of Regions ............................................................................................................................5
2.1.1 Slots Region.................................................................................................................................5
2.1.2 Constants Region.........................................................................................................................5
2.1.3 Sink, Source and Header Regions...............................................................................................5
2.1.4 Scratch Region.............................................................................................................................5
3 C Source Code and Memory .........................................................................................................................6
_äìÉi~Ä™ VM Memory Mapping and Usage
3.1 How Much Memory Is Safe During Runtime............................................................................................7
4 Memory Protection.........................................................................................................................................8
5 FAQs ...............................................................................................................................................................9
Terms and Definitions ........................................................................................................................................11
Document History ...............................................................................................................................................12
List of Figures
Figure 2.1: VM Memory Map...................................................................................................................................4
CS-110364-ANP1
© CSR plc 2006
This material is subject to CSR’s non-disclosure agreement.
Page 2 of 12

Introduction
1 Introduction
This document describes the VM memory map as seen by BlueLab applications.
1.1 XAP Processor
Before considering how the RAM memory is presented to BlueLab applications, it is important to understand
some physical and architectural properties of BlueCore’s XAP:
BlueCore’s XAP processor has 16-bit registers.
Data fetches are 16bit wide.
_äìÉi~Ä™ VM Memory Mapping and Usage
The xap has a Harvard architecture, which maximises efficiency from the small program and data
memory available on the chip, by keeping code out of the data address space.
The firmware controls the chip memory and allocates requested memory to the VM in blocks if it is
available.
The VM controls the applications view of the RAM available to it.
The VM prevents corruption of sensitive registers or firmware data structures.
CS-110364-ANP1
© CSR plc 2006
This material is subject to CSR’s non-disclosure agreement.
Page 3 of 12
剩余11页未读,继续阅读















安全验证
文档复制为VIP权益,开通VIP直接复制

评论5