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: 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 http://www.hardcafe.co.uk/Alaric/