We have discussed the BIOS access on embedded devices numerous times in the NG.
For instance, read through this thread:
http://groups.google.com/group/micr...d/browse_thread/thread/26ae0402f1c7adf1?hl=en
The baseline: you are doing a user mode application, you can only get down to BIOS IO registers with a helper driver like DirectIO
or similar (here I listed a few:
http://km-dev.blogspot.com/2007/03/xpe-tip5-direct-io-operations-from.html).
Your best bet is a driver. Although even there it may not be that easy to access particular BIOS functions. Read DDK docs for more
info.