saving current changes

This commit is contained in:
2026-03-05 17:40:46 +00:00
parent 5d3f4c7d6d
commit e558b21723
5 changed files with 51 additions and 7132 deletions

Binary file not shown.

View 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

View File

@@ -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 :