<div>Hi,</div><div> </div><div>I am trying to map local APIC on an intel system (physical address <span style="font: small/16px arial, sans-serif; color: rgb(34, 34, 34); text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; orphans: 2; widows: 2; font-size-adjust: none; font-stretch: normal; background-color: rgb(255, 255, 255); -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="Apple-style-span">0xfee00000</span>) in a user level program using mmap</div>
<div>but my mmap is failing saying &quot;Bad file descriptor&quot;. I am not sure if this problem is related to apic or </div><div>mmap. I am running the program as root.  Please help me figure this out.</div><div> </div>
<div>Thanks</div><div>Vaibhav Jain</div>