Ivan Ribeiro
482afd3650
Update Blarney Wrapper generator to fix bug
...
Fixes a bug in the Blarney Wrapper generator where if a function input
had an underscore in its identifier, only the last word in the
identifier would be recognized.
2020-01-28 07:24:14 +00:00
Peter Rugg
774e883a26
Fix hardcoded assumption in maskAddr that MW was 8 from CAP64
2020-01-20 14:30:31 +00:00
Jonathan Woodruff
123fe712a9
Update contribution dates.
2020-01-15 11:43:42 +00:00
Jonathan Woodruff
a0ab504ea6
Remove contribution, as this file is new.
2020-01-15 11:42:37 +00:00
Jonathan Woodruff
8146a14026
Copy copyright attributions from source file.
2020-01-15 11:41:21 +00:00
Peter Rugg
80b6ee312e
Fix address/addrBits out of sync bugs
2020-01-07 11:30:12 +00:00
Peter Rugg
796cf41c9b
Fix off-by-one in max otype
2020-01-07 11:30:12 +00:00
Peter Rugg
c2200f47cc
Make Cap FShow more concise
2019-12-10 16:36:53 +00:00
Alexandre Joannou
da397428b6
Update CHERICapWrap.bsv to reflect changes from previous commit
2019-12-09 14:39:40 +00:00
Peter Rugg
d987f2b035
Refactor to allow some operations on CapReg
2019-11-18 17:28:10 +00:00
Alexandre Joannou
5953acc8c1
Refresh readme
2019-10-22 11:30:37 +01:00
Alexandre Joannou
b3494ce8af
Adding blarney wrapper
2019-10-22 10:56:11 +01:00
Alexandre Joannou
97ee2f262b
Update set/inc/modify offset API
2019-10-22 10:43:03 +01:00
Peter Rugg
12f8cb3ed9
Provide redundant argument to setOffset
2019-09-09 15:28:57 +01:00
Peter Rugg
862bfb39bd
Fix clearing of wrong bits in maskAddress
2019-09-09 15:28:40 +01:00
Peter Rugg
a39fefd950
Add safe maskAddr function
2019-09-05 12:10:11 +01:00
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