Re: VirtualAlloc generates Undefined Instruction exception
- From: "Steve Maillet \(eMVP\)" <nospam1@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 1 Aug 2006 12:33:18 -0700
1) NEVER change the common code, ALWAYS clone it before modifying it.
2) Don't use VirtualAlloc directly unless you absolutely have no other
option (That would be a truly exceptionally rare case)
3) It's likely that code is being called before it is safe to call
VirtualAlloc, you, therefore, need to create static mapping entries in
OEMAddressTable and access the device via it's uncached static mapped
address.
--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com
.
- Follow-Ups:
- Re: VirtualAlloc generates Undefined Instruction exception
- From: Richard Lee eMVP
- Re: VirtualAlloc generates Undefined Instruction exception
- Prev by Date: Re: VGA
- Next by Date: Re: "Building" CF2 C# apps in PB
- Previous by thread: VGA
- Next by thread: Re: VirtualAlloc generates Undefined Instruction exception
- Index(es):
Relevant Pages
|