다음을 통해 공유


Adding Support for ROM Breakpoints (Windows CE 5.0)

Send Feedback

You can set breakpoints on any ROM address that is accessible; that is, a ROM address that is not reserved for a different purpose.

To support setting ROM breakpoints, the debugger creates a mirror of ROM pages in RAM pages. To set a ROM breakpoint, the debugger must first determine if the address range of the breakpoint is within ROM.

To enable the debugger to make this determination, you must implement the OAL function OEMIsRom, and then assign your OEMIsRom implementation to its associated kernel variable pfnOEMIsRom during OEMInit.

Note: The debugger allocates a fixed number of RAM pages for tracking ROM breakpoints. Each time you set a ROM breakpoint, the debugger might use an additional RAM page. When the number of RAM pages reaches the allocation, no more ROM breakpoints can be set.

To set other ROM breakpoints, remove ROM breakpoints to free RAM pages.

For more information about how to set breakpoints, see Handling Breakpoint Behavior.

See Also

OEMIsRom| pfnOEMIsRom| OEMInit

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.