mmap local APIC address

Mulyadi Santosa mulyadi.santosa at gmail.com
Sat Oct 15 00:10:59 EDT 2011


hi...

On Sat, Oct 15, 2011 at 07:22, Vaibhav Jain <vjoss197 at gmail.com> wrote:
> Hi,
>
> I am trying to map local APIC on an intel system (physical address
> 0xfee00000) in a user level program using mmap
> but my mmap is failing saying "Bad file descriptor". I am not sure if this
> problem is related to apic or
> mmap. I am running the program as root.  Please help me figure this out.

could you post the code?

anyway, check "man mmap" in "errors" section....the hint could be
found there.....

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list