saving current changes
This commit is contained in:
BIN
Tests/isa/testC
BIN
Tests/isa/testC
Binary file not shown.
5
builds/RV64ACDFIMSUxCHERI_Toooba_bluesim/checklist.org
Normal file
5
builds/RV64ACDFIMSUxCHERI_Toooba_bluesim/checklist.org
Normal file
@@ -0,0 +1,5 @@
|
||||
- [x] Get sample cheri assembly program to quit.
|
||||
- [x] Get sample get bounds program working.
|
||||
- [x] Check if the hardware handler function is called.
|
||||
- [ ] Implement new intruction as the form Cseal.
|
||||
- [ ] Sample assembler program that calls it.
|
||||
File diff suppressed because it is too large
Load Diff
Submodule libs/cheri-cap-lib updated: 6263041aa1...3c6d203186
@@ -241,6 +241,8 @@ function CapPipe capModify(CapPipe a, CapPipe b, CapModifyFunc func);
|
||||
new_hard_perms.global = new_hard_perms.global && getHardPerms(b).global;
|
||||
Bool unsealIllegal = !isValidCap(b) || getKind(b) != UNSEALED || getKind(a) == UNSEALED || a_res || getAddr(b) != a_type || !getHardPerms(b).permitUnseal || !isInBounds(b, False);
|
||||
Bool buildCapIllegal = !isValidCap(b) || getKind(b) != UNSEALED || !isDerivable(a) || (getPerms(a) & getPerms(b)) != getPerms(a) || getBase(a) < getBase(b) || getTop(a) > getTop(b); // XXX needs optimisation
|
||||
|
||||
let _ = $display("here");
|
||||
// TODO: Delta handler function
|
||||
CapPipe res = (case(func) matches
|
||||
tagged ModifyOffset .offsetOp :
|
||||
|
||||
Reference in New Issue
Block a user