1. A computer system, comprising: a first subsystem including a first processor configured to run applications; a second subsystem including a second separate processor configured to run security firmware; and peripherals connected to the second subsystem, wherein access to the peripherals by the applications is controlled by the security firmware running on the second processor which emulates corresponding peripheral connections of the first subsystem.