add bitops and inb/outb/inw/outw/inl/outl
split the low-level functions into 'hw' module
lua: use hardware cursor
scan pci bus