History log of /barrelfish-master/usr/monitor/capops/delete.c
Revision Date Author Comments
# 9bd8d1d5 03-Apr-2019 Reto Achermann <reto.achermann@inf.ethz.ch>

replacing umlaute and fixing address in headers Haldeneggsteig -> Universitaetsstrasse

Signed-off-by: Reto Achermann <reto.achermann@inf.ethz.ch>


# 8d1f5982 06-Oct-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: tracing: add more info to trace points

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# fb334e85 06-Oct-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: tracing: add more info to trace points

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# de01a39c 04-Oct-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: capops: add TRACE-points in delete

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# bc368879 04-Oct-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: capops: add TRACE-points in delete

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 8e8f1b61 14-Sep-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: capops: delete: do not use state after freeing it

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# ef84f84e 14-Sep-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: capops: delete: do not use state after freeing it

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 34b5e355 14-Sep-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: capops: delete: do not use state after freeing it

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 538ec806 28-Aug-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: capops: ownership xfer, delete, retype, revoke: delete temp capabilities when operations done

The monitor domain did not cleanup root cnode capabilities which it receives
on a temporary basis during some of the distributed capability operations.
Depending on operation order this led to a steadily growing number of
capabilities on some cores.

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 3bb4e237 02-May-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

capops: add some more DEBUG_CAPOPS in delete code

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 8778446b 02-May-2017 Simon Gerber <simon.gerber@inf.ethz.ch>

T245: capops: fix distributed delete

Fix distributed delete for the case where the cap to delete is already locked
when we enter capops_delete(). In that case we need to actually continue the
delete and queue it for retrying rather than returning the error to the
caller.

Closes T245.

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 244ab29c 27-Feb-2017 Adam Turowski <adam.turowski@inf.ethz.ch>

flounder: merging rpc client with a binding layer

Signed-off-by: Adam Turowski <adam.turowski@inf.ethz.ch>


# 857c5a9b 19-Oct-2016 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: capops: Remove no-longer-needed capops/magic.[ch]

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 3f7e537d 05-Aug-2016 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: capops/delete: properly check slot_free() return value

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 0f4a966b 05-Aug-2016 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: capops: delete: fix case where we delete last owned copy after doing full remote delete

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 74da3dd5 02-Aug-2016 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor/capops: add more DEBUG_CAPOPS() statements in delete code

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# e0bd0525 02-Aug-2016 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor/capops: add more DEBUG_CAPOPS() in delete_trylock_cont

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 17948f60 22-Jul-2016 Simon Gerber <simon.gerber@inf.ethz.ch>

T258, T264, T270: Implement two-level cspace layout using L1/L2 CNode objects.

distops functionality is NYI.

This commit also makes the root cnodes explicit for sys_map(), closes T270.

Notable changes:
* LRPC LMP endpoints are regular capabilities in L2 cnode, no longer in root
cnode.
* Capability operations take a capability address for the root cnode relative
to which capability addresses are to be resolved. The root cnode capability
address must be resolvable in the current domains cspace.

Closes T264.

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# f82f611c 29-Jun-2016 Simon Gerber <simon.gerber@inf.ethz.ch>

T259: monitor: properly initialize capops delete state

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 2d6614ea 23-May-2016 Simon Gerber <simon.gerber@inf.ethz.ch>

T242: handle FLOUNDER_ERR_TX_BUSY for all capops

Closes T242.

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# fc7fc8de 16-Dec-2015 Simon Gerber <simon.gerber@inf.ethz.ch>

T191: change PhysAddr, RAM, Frame, DevFrame and VNode_* cap types to have size in bytes

This only changes the actual struct capability reprensentation for these
types. Most of the code dealing with these types now uses log2ceil(bits) to
set the new `bytes` field.

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# 8e91faf6 06-May-2015 Simon Gerber <simon.gerber@inf.ethz.ch>

distops: fix typos and small bugs in delete state machine.

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>


# d9d57e99 05-Nov-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

monitor: fixed revoke and delete paths for single-core execution.


# c549a935 27-Mar-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

armv7: compiles.


# e56f514a 25-Mar-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

Make x86_32 compile; some of the monitor invocations are disabled right now.


# 50ceb28d 17-Mar-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

Added forwarding of free'd ram to core 0 + more debug messages


# 66b288a8 31-Jul-2013 Simon Gerber <simon.gerber@inf.ethz.ch>

More fixes in capability machinery.


# cd9c7033 03-Aug-2012 Mark Nevill <mark@nevill.ch>

Implemented monitor_delete_foreign invocation.

This invocation is used when deleting the last copy of a non-moveable
cap on its owning core. In this case, because the owner cannot be
migrated, all foreign caps must also be deleted, for which this
invocation is run on each monitor with foreign copies.


# 14e0c878 29-Jul-2012 Mark Nevill <mark@nevill.ch>

Fixed reversed condition in delete_remote handling.


# ecf04ace 27-Jul-2012 Mark Nevill <mark@nevill.ch>

Minor fixes to error handling.


# b9db7ed3 03-Jul-2012 Mark Nevill <nevillm@ethz.ch>

Rewrote distributed revoke and delete handling.


# 1a351f2c 09-Jun-2012 Mark Nevill <nevillm@ethz.ch>

Incomplete cleanup of delete capop to use conts.


# 564af333 22-May-2012 Mark Nevill <nevillm@ethz.ch>

Added function to initialize intermon rx_vtbl capop entries.


# 61f3c54d 18-May-2012 Mark Nevill <nevillm@ethz.ch>

Fixed spurious cptr shift in delete when move fails.


# e347fb0d 22-Apr-2012 Mark Nevill <nevillm@ethz.ch>

Do not engage monitors in distributed cap ops until mem alloc is setup.


# 2746c9a8 22-Apr-2012 Mark Nevill <nevillm@ethz.ch>

Properly use lock queueing when trying to delete a locked cap.


# 061b592c 02-Apr-2012 Mark Nevill <nevillm@ethz.ch>

Removed some debugging prints.


# a11229cb 02-Apr-2012 Mark Nevill <nevillm@ethz.ch>

Fixed some cap locking and other issues in capops. It boots!


# 5d526a3f 01-Apr-2012 Mark Nevill <nevillm@ethz.ch>

Handle tx_busy errors in queued send continuations.


# 82fdeec1 31-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Fixed some wrongly aligned cptrs in invocations from capops.


# 83ab1e5c 29-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Added and fixed various debug printfs related to cap operations.


# e761011d 27-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Export capop rx handlers so they can be used in vtbls.


# 088e0857 27-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Moved capops headers into monitor's include dir, added function prefix.


# 2633a91c 20-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Integrated delete & revoke handling.


# 1ba26ae6 19-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Changed API to better support caps from other domains.

In particular, this uses a (capref, capaddr, bits) tuple whenever a copy
a reference to a particular cap/slot is necessary, and thus copying the
cap in question is not possible.


# 92ab4a1c 16-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Prefix remaining unimplemented invocatios with "monitor_".


# c6ee577c 15-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Added support for cap types that do not need locality.


# 3a8e4d69 14-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Migrated capops to clearer "locking" semantics.


# 5805659c 13-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Integrated error codes into errno.fugu.


# 8c02a1f1 12-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Added invocations for distcap_get_state.


# fbfb47fb 12-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Added capop messages to intermon.if.


# b194da0f 12-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Split over-generic "send to all" with "to copies" and "to descendants".


# f7959897 12-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Suitably prefixed all "capsend" functions.


# c2274979 12-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Renamed capops/transport to capops/capsend.


# e6b79acb 07-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Added retype, made things more compilable.


# e1d0c449 07-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Added some code for revoke&delete, does not compile.


# a917d654 01-Mar-2012 Mark Nevill <nevillm@ethz.ch>

Implemented delete op, added broadcast helpers.