[DO NOT MERGE] add hwdetect module to detect efi/bios