Buy this book
Welcome to the website for Fan, X: Real-Time Embedded Systems: Design Principles and Engineering Practices.