diff options
| author | Robert Norton | 2016-04-27 12:54:16 +0100 |
|---|---|---|
| committer | Robert Norton | 2016-04-27 12:54:16 +0100 |
| commit | 654e9fbc68f6e253af41e91bb91edeaba204a9b8 (patch) | |
| tree | 9c488ab4f44f68301bd64168bfcb4e8b09b2257c /mips/mips_wrappers.sail | |
| parent | d9f4c62a3e4ee6d74580a9168040b3dace7b384f (diff) | |
cheri: add translation and bounds checking of PC via PCC. Slightly clunky implementation for now and exceptions not properly handled.
Diffstat (limited to 'mips/mips_wrappers.sail')
| -rw-r--r-- | mips/mips_wrappers.sail | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mips/mips_wrappers.sail b/mips/mips_wrappers.sail index 799b8cc0..d77f176c 100644 --- a/mips/mips_wrappers.sail +++ b/mips/mips_wrappers.sail @@ -5,3 +5,5 @@ function bool effect {wmem} MEMw_conditional_wrapper(addr, size, data) = function bit[64] addrWrapper((bit[64]) addr, (MemAccessType) accessType, (WordType) width) = addr +function (option<Exception>, option<bit[64]>) TLBTranslate ((bit[64]) vAddr, (MemAccessType) accessType) = + TLBTranslate(vAddr, accessType) |
