History log of /barrelfish-master/usr/monitor/capops/copy.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>


# 284fea9b 08-Oct-2018 Adam Turowski <adam.turowski@inf.ethz.ch>

Fixing some debug messages

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


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

monitor: capops: copy: add DEBUG_CAPOPS and clearer messages in forwarding path

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


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

monitor: capops: copy: properly zero copy state structs on allocation

This change fixes an issue where the owning core was trying to delete stale
caprefs when forwarding a lot of capability copy operations in a short span of
time.

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


# d2b045f7 25-Jul-2016 Simon Gerber <simon.gerber@inf.ethz.ch>

T273: monitor: cleanup variable and argument names for cspace level

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>


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

T242: handle FLOUNDER_ERR_TX_BUSY in usr/monitor/capops/copy.c

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


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

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


# 11067a97 20-Mar-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

changed some debug prints in monitor and removed non-necessary debug output in fish and flounder stubs.


# d2d9862d 20-Mar-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

turn off monitor and spawn client debugging.


# a1a50bef 19-Mar-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

Hacked x-core cap transfer to short-circuit on null caps.


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

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


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

monitor debug stuff + other debug msgs.


# b054b365 24-Jul-2012 Mark Nevill <nevillm@ethz.ch>

Keep cptrs right-shifted throughout capops.


# 5aa5bd8e 09-Jun-2012 Mark Nevill <nevillm@ethz.ch>

Include local and remote relations when xferring ownership.


# 81f9c4e1 09-Jun-2012 Mark Nevill <nevillm@ethz.ch>

Fixed not setting "to" field of copy capop state.


# 1e0ec12e 07-Jun-2012 Mark Nevill <nevillm@ethz.ch>

Consistently use conts to avoid duplicate error handling code in copy op.


# fd7c2891 03-Jun-2012 Mark Nevill <nevillm@ethz.ch>

Improved naming & cleanup in copy capop.


# 8055af74 25-May-2012 Mark Nevill <nevillm@ethz.ch>

Implemented support for "give_away" transfers in capops_copy.


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

Added function to initialize intermon rx_vtbl capop entries.


# f0f90877 16-May-2012 Mark Nevill <nevillm@ethz.ch>

Added individual remote relations bits for copies/ancestors/descendants.


# 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!


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

Fixed "copy" to properly clean up temporary caps and set copied cap to remote.


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

Added and fixed various debug printfs related to cap operations.


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

Changed copy result to cnode & slot.


# 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.


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

Added valid bits param to cap copy result.


# 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.


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

Integrated capops with monitor_cap_create.

Note that cap_create_from_existing does not currently check that the
supplied owner matches existing local copies of the cap.


# 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.


# 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.


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

Implemented delete op, added broadcast helpers.


# d3b90907 29-Feb-2012 Mark Nevill <nevillm@ethz.ch>

Implemented move, put "transport" functions in own .c file.


# 57e7a0fb 29-Feb-2012 Mark Nevill <nevillm@ethz.ch>

Pseudo-implemented "copy" operation.