Re: how can I allocate memory in address 0x4800 0000 (virtual)
- From: "K. S. Huang" <ksh_AT_bsquare_DOT_com>
- Date: Tue, 26 Dec 2006 19:02:07 +0800
Do you mean you want to allocate some memory in Shared Memory Range?
If you call VirtualAlloc with dwSize >= 2 MB, flAllocationType set to
MEM_RESERVE, and flProtect set to PAGE_NOACCESS, it automatically reserves
memory at the shared memory region. This preserves per-process virtual
memory.
<yuanfei.work@xxxxxxxxx>
???????:1167127457.777869.137920@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
It looks malloc did not allocate memory in that adressrange.
thanks
.
- Follow-Ups:
- Re: how can I allocate memory in address 0x4800 0000 (virtual)
- From: luopub@xxxxxxx
- Re: how can I allocate memory in address 0x4800 0000 (virtual)
- References:
- how can I allocate memory in address 0x4800 0000 (virtual)
- From: yuanfei.work@xxxxxxxxx
- how can I allocate memory in address 0x4800 0000 (virtual)
- Prev by Date: how can I allocate memory in address 0x4800 0000 (virtual)
- Next by Date: Serial driver
- Previous by thread: how can I allocate memory in address 0x4800 0000 (virtual)
- Next by thread: Re: how can I allocate memory in address 0x4800 0000 (virtual)
- Index(es):
Relevant Pages
|
|