File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,14 @@ if the reservation is still valid and the reservation set contains the
6666bytes being written. If the SC.W succeeds, the instruction writes the
6767word in _rs2_ to memory, and it writes zero to _rd_. If the SC.W fails,
6868the instruction does not write to memory, and it writes a nonzero value
69- to _rd_. For the purposes of memory protection, a failed SC.W may be
70- treated like a store. Regardless of success or failure, executing an
69+ to _rd_.
70+ No SC.W instruction shall retire unless it passes memory permission checks,
71+ but it is UNSPECIFIED whether any side effects of implicit address translation
72+ and protection memory accesses (such as setting a page-table entry D bit)
73+ occur on a failed SC.W.
74+ For the purposes of memory protection, a failed SC.W may be
75+ treated like a store.
76+ Regardless of success or failure, executing an
7177SC.W instruction invalidates any reservation held by this hart. LR.D and
7278SC.D act analogously on doublewords and are only available on RV64. For
7379RV64, LR.W and SC.W sign-extend the value placed in _rd_.
You can’t perform that action at this time.
0 commit comments