www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/03/17/09:31:08

Date: Sun, 17 Mar 1996 16:26:19 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Shawn Hargreaves <slh100 AT york DOT ac DOT uk>
Cc: djgpp AT delorie DOT com
Subject: Re: "start" and "end" symbols?
In-Reply-To: <Pine.SGI.3.91.960314190441.24601E-100000@tower.york.ac.uk>
Message-Id: <Pine.SUN.3.91.960317162415.16543L-100000@is>
Mime-Version: 1.0

On Thu, 14 Mar 1996, Shawn Hargreaves wrote:

> So, is there any reason why I couldn't just lock all the memory from 
> &start, for (&end - &start) bytes, to include all the functions in my 
> program? That would prevent _any_ code from being swapped, but virtual 
> memory would still work for malloced data, and it would be a lot more 
> reliable than my current approach.

Locking code is not enough, you need also lock the data that is touched 
by the locked code.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019