-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
target/riscv: merged read/write functions to one access function #1194
base: riscv
Are you sure you want to change the base?
Conversation
@JanMatCodasip, @MarekVCodasip could you please take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (reviewed internally).
One minor note in regard to merge order.
src/target/riscv/riscv-013.c
Outdated
if (mstatus != mstatus_old && register_write_direct(target, | ||
GDB_REGNO_MSTATUS, mstatus_old) != ERROR_OK) | ||
return MEM_ACCESS_SKIPPED_REG_WRITE_FAILED; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebased
02d8718
to
a1686db
Compare
a1686db
to
25e187e
Compare
25e187e
to
fd6fd98
Compare
fd6fd98
to
2600bff
Compare
037621e
to
ef3973b
Compare
Commit merges read/write functions to access function. It allows to decrease amount of code duplication. Signed-off-by: Farid Khaydari <[email protected]>
ef3973b
to
c65ef19
Compare
Commit merges
read
/write
functions toaccess
function. It allows to decrease amount of code duplication