Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UvisorBoxIndex should wrap all uVisor internal structures #414

Open
AlessandroA opened this issue Feb 21, 2017 · 1 comment
Open

UvisorBoxIndex should wrap all uVisor internal structures #414

AlessandroA opened this issue Feb 21, 2017 · 1 comment
Labels

Comments

@AlessandroA
Copy link
Contributor

We should wrap the RPC structure inside UvisorBoxIndex to improve the UvisorBssSection abstraction.


UvisorBssSections contains structures that can be accessed by user-space code. Space for these structs is allocated at runtime in each box private BSS section. The user can then access the sections via dedicated pointers.

At the moment the structure exposes the UvisorBoxIndex struct, the RPC struct, the private context and the private (static) heap. While for the private context and heap it makes sense to expose a separate pointer (we expect the user to access them individually), the RPC struct is for internal use only and should not be exposed.

Note: This is just a UX/abstraction issue. The user-space code can still access the RPC structure.

@ciarmcom
Copy link
Member

ARM Internal Ref: IOTSEC-298

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants