ARM System Developer's Guide
Designing and Optimizing System Software
http://sundyn6410.googlecode.com/files/ARM%20System%20Developer%27s%20Guide.pdf
its really worth reading :)
Sadly it's been removed, was it this book?
http://vatly.ucoz.com/_ld/0/36_Elsevier-ARM_Sy.pdf