Hacker News new | past | comments | ask | show | jobs | submit login

I see how this is an abstraction of register memory. but how does it help against a constantly moving kernel?

Also, wouldn't this make an otherwise simple code much harder to read and understand?




It's not the kernel that's constantly moving, it's the hardware. The idea of regmaps is that when you get a device revision B, rather than having to sprinkle "if(revision == ...)" all over your code you just look it up in a table.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: