add cpu cap functions
v0.4.0
Merge branch 'lib_zoncaps'