delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/29/05:00:07

Xref: news2.mv.net comp.os.msdos.djgpp:6519
From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: __attribute__((section))
Date: Sat, 27 Jul 1996 14:39:15 GMT
Lines: 21
Message-ID: <838478248.10640.0@abwillms.demon.co.uk>
References: <Pine DOT NEB DOT 3 DOT 93 DOT 960726171833 DOT 18376B-100000 AT ananke DOT amu DOT edu DOT pl>
NNTP-Posting-Host: abwillms.demon.co.uk
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp


While we're at it, if we can put things easily into different
sections, wouldn't that provide a nice easy method of locking memory
for hardware interrupt handlers? Stick everything in a '.lock'
section, with sentinel labels in it so that a "lock_everything()" call
could lock the entire (guaranteed contiguous) section?

BTW, is there a better way of getting the extent of a section? Some
trickery with the linker ADDR and SIZE commands?

Regards,


ABW
--
I have become... Comfortably numb...

Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk
<A HREF="http://www.hardcafe.co.uk/Alaric/">http://www.hardcafe.co.uk/Alaric/</A>

- Raw text -


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