Memory Management
The processes of dynamic allocation, which consists of committing and freeing virtual memory directly by using a designated API (VirtualXxxx), provide an opportunity to utilize the maximum capability of the virtual memory architecture. However, the use of those functions implies that you have knowledge of the structure and virtual memory architecture of Windows Embedded CE 6.0 and, possibly, of the processor physical architecture.
Table 3–4 describes the main API for working with virtual memory and its purpose.
Table 3–4. Functions for virtual memory API.
Function | Purpose |
---|---|
Enables you to modify memory attributes on a page level. | |
VirtualSetAttributesEx | Accessible only in kernel mode. |
VirtualProtectEx | Sets access protection for the page ... |
Get Windows® Embedded CE 6.0 Fundamentals now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.