History log of /seL4-camkes-master/projects/capdl/python-capdl-tool/capdl/Cap.py
Revision Date Author Comments
# 9f1ba467 17-Jun-2020 Gerwin Klein <gerwin.klein@data61.csiro.au>

Convert to SPDX license tags

This includes marking all documentation files CC-BY-SA-4.0.


# b8e97355 01-Oct-2019 Kent McLeod <Kent.Mcleod@data61.csiro.au>

python-capdl-tool: Handle set_mapping on frame cap

By default, the caps that get used to map frames into each component
are kept by the loader. However it is possible to describe in the spec a
mapped cap that gets moved into a target cspace. This allows components
to perform cache maintenance operations on the mapping or to unmap the
mapping if required. To make this mechanism easier to use, if a cap
passed into get_spec as an existing backing frame has had
set_mapping_deferred called on it, then the spec will call set_mapping
on the cap with the correct mapping container and slot. The loader will
then move the mapped cap into the cspace instead of copying it.


# ded20b63 01-Oct-2019 Kent McLeod <Kent.Mcleod@data61.csiro.au>

python-capdl-tool: Document Cap.set_mapping()

This function allows a mapped frame cap to be moved to a particular
cspace.


# fa63beff 25-Jun-2019 Anna Lyons <anna@gh.st>

trivial: style changed files


# dc081bd7 25-Jun-2019 Anna Lyons <anna@gh.st>

python-capdl-tool: fix errors reported by pylint3

Fix errors reported by pylint3 --errors-only on .py files in
python-capdl-tool.


# dc5535f7 19-Feb-2019 Japheth Lim <Japheth.Lim@data61.csiro.au>

Revert "python-capdl-tool: check that cap rights aren't set on incorrect cap types"

This reverts commit 2cb3b36e73a84e4221677f7fb18294d0fabf1931.


# 2cb3b36e 18-Feb-2019 Japheth Lim <Japheth.Lim@data61.csiro.au>

python-capdl-tool: check that cap rights aren't set on incorrect cap types


# 099d3b02 13-Feb-2019 Japheth Lim <Japheth.Lim@data61.csiro.au>

python-capdl-tool: slightly clean up Cap initialisation and printing


# aad29b63 05-Dec-2018 Anna Lyons <Anna.Lyons@data61.csiro.au>

Add new GrantReply right to capDL tools


# 7320eee7 12-Sep-2018 Kent McLeod <Kent.Mcleod@data61.csiro.au>

python-capdl: Refactor Cap __init__ to take kwargs

Caps can have more attributes than read, write, grant and should be
supported via construction also.


# e1ad3289 22-Apr-2018 Adrian Danis <Adrian.Danis@data61.csiro.au>

Update IOPort model

Changes the model of the IOPorts in the capdl specification and the surrounding tools
to reflect a change in the kernel model. There is now a single IO port control capability
that can produce non overlapping IO port caps. Due to the non overlapping requirement the
capdl model treats the 'object' as an IO port cap issued from the control capability and
this is then duplicated at the cap level to produce all cap references.


# d5ae4e67 04-Jun-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Fix licenses


# 8bd705cc 03-May-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Support loading sched_control caps.

This change allows sched_control caps to be placed into CNodes and
updates the capdl-loader-app to copy them.


# e44f9234 17-Apr-2016 Adrian Danis <Adrian.Danis@nicta.com.au>

python-capdl: Define x86_64 types


# bcb0ae7b 30-Nov-2015 Stephen Sherratt <Stephen.Sherratt@nicta.com.au>

[python-capdl-tool] Added mapping information to frame caps


# 39a78477 26-Nov-2015 Matthew Fernandez <matthew.fernandez@nicta.com.au>

python-capdl: Enable Python 3 compatibility settings from `__future__`.

This change enables a variety of Python 3 compatibility settings from
`__future__` when running Python 2. Essentially this forces all existing code
under Python 2 to conform to the Python 3 semantics. This makes bilingual
compatibility easier.


# 5924b144 26-Nov-2015 Matthew Fernandez <matthew.fernandez@nicta.com.au>

python-capdl: Make all intra-package imports relative.

This progresses compatibility with Python 3 to the point where this package can
be imported. I haven't explored further, but I believe the package still cannot
be used correctly under Python 3. More changes to come.


# 46b06292 26-Nov-2015 Matthew Fernandez <matthew.fernandez@nicta.com.au>

python-capdl: Change some `filter` calls to list comprehensions.

This commit converts two calls to `filter` into the corresponding list
comprehension. The motivation for this is movement towards Python 3
compatibility. In Python 3, `filter` returns a generator, not a list and so a
result that is expected to be iterated over multiple times does not function as
expected. There are many more changes needed for full Python 3 compatibility.
Python 2 functionality should be unaffected.


# 7d6dade6 18-Nov-2015 Stephen Sherratt <Stephen.Sherratt@nicta.com.au>

Moved python-capdl-tool into subdirectory