[PATCH 1/2] introduced some necessary read/write csr/bcr functions