Commit Graph

34 Commits

Author SHA1 Message Date
Peter Rugg
bc9f058976 Add incOffset as option for setOffset 2019-09-05 11:14:14 +01:00
Alexandre Joannou
06fbe6d31d Merge pull request #1 from ivanmgribeiro/master
Set default build to 64-bit capabilities and fix typo in CHERICC_Fat
2019-08-02 15:58:57 +01:00
Ivan Ribeiro
ff28e6fa95 Fix typo, acces_sys_regs -> access_sys_regs 2019-08-02 15:53:50 +01:00
Ivan Ribeiro
f948e576d9 Default to CAP64 and RISCV architecture 2019-08-02 15:51:06 +01:00
Jonathan Woodruff
fdc1cbee2e Revert a somewhat recent change that broke SetBounds.
This was done to agree with Sail, so we need to explore this difference.
2019-07-24 19:29:57 +01:00
Alexandre Joannou
350a7939cc Updated verilog wrapping 2019-07-18 12:48:51 +01:00
Alexandre Joannou
c04a30cd88 Fold in setAddress fix from svn 2019-06-27 17:42:03 +01:00
Alexandre Joannou
fa664bbc01 Added some wrapping modules for individual class methods to help generate the verilog 2019-06-14 19:53:58 +01:00
Alexandre Joannou
fcef9c3744 adding toplevel LICENCE file 2019-06-03 11:00:42 +01:00
Peter Rugg
c1f08cf56b Allow compilation of CHERI-64 2019-06-02 18:59:03 +01:00
Peter Rugg
3390da4446 Fix reporting of exact in setBounds 2019-05-28 15:23:55 +01:00
Peter Rugg
e0020327a7 Fix representability check 2019-05-27 18:20:42 +01:00
Peter Rugg
1c3acdc58d Rework Kind reporting to match specified behaviour of CGetSealed and CGetType 2019-05-26 16:27:53 +01:00
Peter Rugg
a425686321 Move flags field in cap representation to match sail 2019-05-26 16:26:56 +01:00
Peter Rugg
4003a436fc Add XOR with null cap when casting to/from memory cap 2019-05-25 14:30:31 +01:00
Peter Rugg
124c4bbd6b Remove reserved field from HPerms 2019-05-25 14:29:58 +01:00
Alexandre Joannou
4d4001af8d Added toMem/fromMem class methods 2019-05-22 14:52:06 +01:00
Alexandre Joannou
5063a8d9e3 Fix CC_Fat ResW value to account for flags 2019-05-22 11:30:15 +01:00
Peter Rugg
a8974231eb Add tag bit checks for fully unpacked capabilities 2019-05-13 23:35:34 +01:00
Peter Rugg
652f8335eb Fold in changes from SVN into CHERICC_Fat up to r34827 2019-05-08 16:57:27 +01:00
Alexandre Joannou
5a35cc6f2e Added get/setFlags to CC_Fat and to the typeclass 2019-04-30 17:30:26 +01:00
Peter Rugg
3546becbd3 Fold in changes from SVN into CHERICC_Fat up to r34410 2019-03-26 12:40:58 +00:00
Peter Rugg
34c9bea6d6 Fix precision bug (Jon) 2019-03-22 00:06:54 +00:00
Peter Rugg
3d9c6cc2ce Fold in changes from SVN into CHERICC_Fat up to r34349 2019-03-20 12:39:59 +00:00
Peter Rugg
671804575f Fix copy-paste error on permissions 2019-03-19 18:02:43 +00:00
Peter Rugg
1d81dc3596 Fix representability check of setOffset on untagged caps 2019-03-19 18:02:07 +00:00
Peter Rugg
9524138c09 Add validAsType 'static' typeclass function 2019-03-19 18:00:54 +00:00
Peter Rugg
aaa150091f Add SetCID permission bit 2019-03-19 17:59:54 +00:00
Peter Rugg
5504d1380e Update CapPipe to be struct rather than tuple 2019-03-19 17:57:37 +00:00
Peter Rugg
193c0e3258 Add exports required to use Cap types 2019-03-19 17:46:28 +00:00
Peter Rugg
af71c8e8ce Add typeclass function for getting combined permissions 2019-03-19 17:45:18 +00:00
Alexandre Joannou
f3c9f5972a Merged Capability128ccLibs.bsv and CHERICC128Cap.bsv into CHERICC_Fat.bsv and added a CHERICC.bsv library (not currently working) 2019-03-05 16:50:35 +00:00
Peter Rugg
5c4a81b12e Add existing microarchitecture-friendly cap library, typeclass definition and typeclass instance 2019-03-05 12:12:38 +00:00
Alexandre Joannou
d9416fe321 Adding a readme 2019-03-05 11:29:53 +00:00