Add support for emulating the slave PIC.

Reviewed by:	grehan, jhb
Approved by:	grehan (co-mentor)