Daohub-io/cap9

Capability List: Seperate List per Capability Type

Closed this issue · 1 comments

Following #55 and #44, procedure#clist is a heterogeneous list of capability types, and requires parsing in order to access a capability by index. This makes syscalls more expensive and also doesn't take advantage of a clist that could contain multiple capabilities of the same type and size.

In order for a procedure to contain multiple capabilities of the same type, we need to seperate the procedure#clist into a list of separate lists of homogenous capability types.

While this would make indexing faster, it brings additional complexity which needs to be addressed. This should be done after #44 in a separate PR.

Closing on #118