DirectHW is a software compatibility layer for Mac OS X. It provides a kernel driver and framework that emulates the most commonly used hardware access functions on x86 machines, such as:
- iopl
- inb, inw, inl, outb, outw, outl
- rdmsr, wrmsr
- mmap() of physical address space
This package was originally intended to get the coreboot® utilities running on Mac OS X. But you're encouraged to use it for many more opportunities.
Visit http://www.coresystems.de/ for more information.
Disable SIP if it's not already disabled. Then simply:
git clone https://github.com/sigma-1/directhw.git
cd directhw
make && sudo make install