summaryrefslogtreecommitdiff
path: root/cheri/sail_latex/sailfnexecuteCGetPCCSetOffset.tex
diff options
context:
space:
mode:
Diffstat (limited to 'cheri/sail_latex/sailfnexecuteCGetPCCSetOffset.tex')
-rw-r--r--cheri/sail_latex/sailfnexecuteCGetPCCSetOffset.tex14
1 files changed, 0 insertions, 14 deletions
diff --git a/cheri/sail_latex/sailfnexecuteCGetPCCSetOffset.tex b/cheri/sail_latex/sailfnexecuteCGetPCCSetOffset.tex
deleted file mode 100644
index b9af822e..00000000
--- a/cheri/sail_latex/sailfnexecuteCGetPCCSetOffset.tex
+++ /dev/null
@@ -1,14 +0,0 @@
-function clause #\hyperref[zexecute]{execute}# (#\hyperref[zCGetPCCSetOffset]{CGetPCCSetOffset}#(cd, rs)) =
-{
- #\hyperref[zcheckCPtwousable]{checkCP2usable}#();
- if (#\hyperref[zregisterzyinaccessible]{register\_inaccessible}#(cd)) then
- #\hyperref[zraisezyctwozyexception]{raise\_c2\_exception}#(CapEx_AccessSystemRegsViolation, cd)
- else
- let pcc = (#\hyperref[zcapRegToCapStruct]{capRegToCapStruct}#(PCC)) in
- let rs_val = #\hyperref[zrGPR]{rGPR}#(rs) in
- let (success, newPCC) = #\hyperref[zsetCapOffset]{setCapOffset}#(pcc, rs_val) in
- if (success) then
- #\hyperref[zwriteCapReg]{writeCapReg}#(cd, newPCC)
- else
- #\hyperref[zwriteCapReg]{writeCapReg}#(cd, #\hyperref[zintzytozycap]{int\_to\_cap}#(rs_val));
-}