ioctl: add interfaces for hardware access (cmos)

Signed-off-by: Alex Hung <alex.hung@canonical.com>
app: add an application to read HP BIOS debug code

Signed-off-by: Alex Hung <alex.hung@canonical.com>