From: | Laurent FAILLIE |
Date: | 31 Aug 2000 at 09:18:15 |
Subject: | Re: Freeing list with Classact |
--- Allan Odgaard <Duff@DIKU.DK> a �crit : > On
30-Aug-00, Rod Schnell wrote:
Hello Allan
> That's true, Exec.doc says:
>
> MEMF_PUBLIC: Memory that must not be mapped,
> swapped,
> or otherwise made
> non-addressable. ALL
> MEMORY THAT IS REFERENCED VIA
> INTERRUPTS
> AND/OR BY OTHER TASKS MUST BE
> EITHER PUBLIC
> OR LOCKED INTO MEMORY! This
> includes both
> code and data.
>
> And MEMF_ANY means *any* memory, not restricted like
> MEMF_PUBLIC. So the
> flags are mutually exclusive, not that it matters,
> as MEMF_ANY is
> declard to 0L, but semantically it's like setting
> the font style to
> "PLAIN | BOLD"...
No, I don't think so.
MEMF_PUBLIC marks public memory ( as describe bellow
), but MEMF_ANY indicate we don't look for a special
memory : we don't bother to have memory allocated in
chips, fast or DMA-able memory.
So MEMF_PUBLIC can be ored with MEMF_ANY but MEMF_ANY
is mutually exclusive with MEMF_CHIPS, MEMF_FAST,
MEMF_... (i don't have include at work but i think you
guess what i means ;-D).
Rgds,
Lolo
=====
The misspelling master is on the Web.
_________
/ /(
/ Dico / / 100 % Dictionnary Free !
/________/ /
(#######( /
Quoi, des fautes d'orthographe! Pas possible ;-D.
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/