wince大内存支持与永久(Wince large memory support with permanent).docVIP

  • 7
  • 0
  • 约9.61千字
  • 约 9页
  • 2017-10-06 发布于河南
  • 举报

wince大内存支持与永久(Wince large memory support with permanent).doc

wince大内存支持与永久(Wince large memory support with permanent)

wince大内存支持与永久(Wince large memory support with permanent) Large memory support and permanent storage registry in WinCE customization Increasing support for large volumes of physical memory and permanent storage registries are a common problem in customizing kernel work. This article will explain these two aspects of the relevant knowledge and guide readers how to implement in pb. Support for large capacity physical memory It is very convenient to add physical memory on the PC. After you plug in the memory, the desktop operating system can support as long as the self-test program identifies it. And on CE based products, its not that simple. If physical memory is greater than 64MB, you need to do some work when you customize the kernel. Once the memory management unit (MMU) began to work, CPU will no longer direct access to physical memory, to run on the x86 and Arm Series CPU CE kernel, must first establish the physical memory address mapping relationship with the virtual memory address. This relationship is actually defined in a table called oemaddresstable. This table has been mentioned in the previous article. CE provides two virtual address mapping methods, static mapping and dynamic mapping, which belong to static mapping methods. The virtual address space of the static mapping can only be accessed by the kernel, while the dynamically mapped address space can be accessed by user mode applications. Oemaddresstable is in file%_winceroot%\public\common\oak\csp\i486\oal\oeminit.asm. There is a section of code at the end of this file: Ram; 0size 64M - 0 DD,, 0, DD 0, 0, 0 This code indicates that virtual addressis mapped to physical address 0, size 64mb. Change to actual physical memory size, and save it. Then click the Pb menu build - open build release directory, in the command line, first use the CD command to enter the above directory, such as: CD%_winceroot%\public\common\oak\csp\i486\oal Then type the

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档