(os: 6.828): add cpu alarm implementation.