Re: Problem using .zerofill / -segaddr to create very large segments
Re: Problem using .zerofill / -segaddr to create very large segments
- Subject: Re: Problem using .zerofill / -segaddr to create very large segments
- From: Jay Reynolds Freeman <email@hidden>
- Date: Mon, 21 Sep 2009 15:20:21 -0700
The purpose of this stuff -- the .zerofills and the use of -segaddr --
is indeed to set up to use mmap, but I get problems before my code
gets to that point. I have mmap working for me, but somewhere between
the use of the assembler and the completion of launching the
application, something goes haywire.
-- Jay Reynolds Freeman
---------------------
email@hidden
http://web.mac.com/jay_reynolds_freeman (personal web site)
On Sep 21, 2009, at 2:50 PM, Nat! wrote:
Am 21.09.2009 um 20:12 schrieb Jay Reynolds Freeman:
My problem concerns keeping a block of memory out of the clutches of
the storage allocator (malloc, new, et cetera), so that I can use it
for mmap.
I don't understand the problem completely, but I'd be trying to use
mmap + MAP_FIXED to map the region, just right after load. Or doesn't
that work as expected ?
Ciao
Nat!
---------------------------------------------------
Ansgar, Sie sind nicht disziplinierbar, und wir
werden Ärger bekommen. Doch wenn Sie ihre Leistung
bringen, stehe ich hinter Ihnen. -- B. Möhlmann
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden