Oct. 15, 2011
12:22 a.m.
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. Thanks Vaibhav Jain