There's a surprising amount of code running before the OS even loads.