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


# dec56e53 06-Oct-2017 Roni Häcki <roni.haecki@inf.ethz.ch>

proc_mgmt: merged proc management client with spawnd client

Signed-off-by: Roni Häcki <roni.haecki@inf.ethz.ch>


# 0d01b285 09-Jun-2017 Razvan Damachi <razvan.damachi@gmail.com>

Refactor process manager to enable spawnd discovery.

The process manager now allocates a special LMP endpoint for monitor.0 and
gives said endpoint to monitor.0 as part of the export_cb. After monitor.0
spawns spawnd, it uses that endpoint to send the new spawnd's iref to the
process manager. The latter then binds with spawnd, to keep track of its state.

For app cores, a similar workflow applies, except inter-monitor communication
is now performed. Namely, the new app core's monitor sends the new app core's
spawnd to monitor.0, which forwards it to the process manager. The latter then
binds with the app core's spawnd just the same.

Diagrams for the discovery protocol can be found at https://goo.gl/eJE37u.

Signed-off-by: Razvan Damachi <razvan.damachi@gmail.com>


# dde2ba50 19-Jun-2017 Adam Turowski <adam.turowski@inf.ethz.ch>

libc: removing newlib, adding BSD libc
posixcompat: moving gettimeofday to libc
harness: adding a simple math test
lwip, lwip2: moving includes to /include, compiling with BSD headers

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


# a8c4d257 22-Feb-2017 Adam Turowski <adam.turowski@inf.ethz.ch>

flounder: making const pointers in receiving handlers, using CONST_CAST as a temporary solution in few places but finally it should be removed

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


# efb0e595 02-Sep-2016 Adam Turowski <adam.turowski@inf.ethz.ch>

monitor: fixing reordering of LMP messages during UMP cap transfer

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


# 14d7f20a 22-Aug-2016 Simon Gerber <simon.gerber@inf.ethz.ch>

Move canonical definitions of MIN/MAX macros to bitmacros.h, remove duplicated definitions in lib and usr

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


# eadd9d4c 26-Jul-2016 Adam Turowski <adam.turowski@inf.ethz.ch>

Adjustments of IPC to match new convention (static buffers).
(Flounder) Fixing a token passing in 32-bit architectures.

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


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

monitor: remove unnecessary log2ceil and 2^ for span_domain_request()


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


# 891a4bf5 21-Nov-2014 Gerd Zellweger <mail@gerdzellweger.com>

Remove dead code.


# 3fbc040b 21-Nov-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

Added missing include in usr/monitor/inter.c


# dc60088c 05-Nov-2014 Gerd Zellweger <mail@gerdzellweger.com>

Integrating coreboot for 32bit.


# 17524730 23-Apr-2014 Gerd Zellweger <mail@gerdzellweger.com>

Not quite sure why we do monitor_initialize after remove kcb?


# 4d9969b1 28-Jan-2014 Gerd Zellweger <mail@gerdzellweger.com>

Only send back somethign if binding looks valid.


# 976d3546 25-Jan-2014 Gerd Zellweger <mail@gerdzellweger.com>

Version for Benchmarking.

- Added ap_dispatch lock to measure time to update.
- Benchmark main in x86boot.


# 23d83008 24-Jan-2014 Gerd Zellweger <mail@gerdzellweger.com>

Inform other monitors of new monitor again.


# 4b99a8e2 23-Jan-2014 Gerd Zellweger <mail@gerdzellweger.com>

Implemented give.


# 550216a9 23-Jan-2014 Gerd Zellweger <mail@gerdzellweger.com>

Give KCB should work like this.


# 6201a1f0 22-Jan-2014 Gerd Zellweger <mail@gerdzellweger.com>

Remove most of the printfs for debugging.


# 1cc9e21d 16-Jan-2014 Gerd Zellweger <mail@gerdzellweger.com>

up & down works again.


# 0f860427 15-Jan-2014 Gerd Zellweger <mail@gerdzellweger.com>

Revert "[HACK] changes some measurements and makes code compile."

This reverts commit a5704d79a0ec8fb150b27c7e200708bb448b43ba.
Was not intended to push this.


# 4d3237cb 15-Jan-2014 Gerd Zellweger <mail@gerdzellweger.com>

[HACK] changes some measurements and makes code compile.

DO not commit upstream.


# 6d52afc2 15-Jan-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

Fixed x86boot 'take' operation implementation.


# f7f0d859 14-Jan-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

Added moving kcb off shared cpu driver, currently crashes in newly started kernel on target core.


# 5334f369 13-Jan-2014 Gerd Zellweger <mail@gerdzellweger.com>

x86boot can give kcb from a core to core 0.

invoke by calling: x86boot auto give 1 0
Give kcb to other cores than 0 currently untested, and probably does not yet
work.


# 28a9f55f 09-Jan-2014 Gerd Zellweger <mail@gerdzellweger.com>

Fix some code, able to do benchmarks.


# f8692f79 19-Dec-2013 Gerd Zellweger <mail@gerdzellweger.com>

sys_suspend addition compiles.


# fac688a5 18-Dec-2013 Gerd Zellweger <mail@gerdzellweger.com>

Using sys_suspend syscall to halt a core and resume later.

Also adding user-level part where we do something similar to sys_yield, ie. save
the context for enabled dispatcher while disabled and set the dispatcher to
enabled again in the kernel. This ensures we will jump back to the right part
when scheduling without ever returning from the syscall.


# d0d3f2f7 13-Dec-2013 Gerd Zellweger <mail@gerdzellweger.com>

Keyboard working.


# a9805c82 10-Dec-2013 Gerd Zellweger <mail@gerdzellweger.com>

Can halt/resume cores again using monitor/mwait.


# 2300ab30 05-Dec-2013 Gerd Zellweger <mail@gerdzellweger.com>

Added sane printf.


# 04be4824 27-Nov-2013 Gerd Zellweger <mail@gerdzellweger.com>

Debug prints.


# 7269e994 20-Nov-2013 Gerd Zellweger <mail@gerdzellweger.com>

Working on a multihop power-down method for remote cores.


# e7c45b19 20-Nov-2013 Gerd Zellweger <mail@gerdzellweger.com>

Working on power-down over monitor.


# c15eee7e 24-Oct-2013 Gerd Zellweger <mail@gerdzellweger.com>

Change boot_core_request / boot_core_reply.

Core bootstrap driver now sends boot_core_request to monitor with the UMP
channel cap. Monitor replies as soon as it has confirmation from newly booted
monitor that it's up.

I probably want to rename those messages 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.


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

monitor debug stuff + other debug msgs.


# 62c38457 05-Mar-2014 Simon Gerber <simon.gerber@inf.ethz.ch>

Mark's capabilities merged with upstream.

Test Plan: Run all harness tests

Reviewers: zgerd

Differential Revision: https://code.systems.ethz.ch/D1


# feb0b870 15-Oct-2013 Gerd Zellweger <mail@gerdzellweger.com>

Removing the boot_initialize_request call.


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

Rewrote distributed revoke and delete handling.


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

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


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

Added function to initialize intermon rx_vtbl capop entries.


# dab919fc 21-May-2012 Mark Nevill <nevillm@ethz.ch>

Added layer to encapsulate transferring caps across intermon.


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

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


# 56e2d1d6 10-May-2012 Mark Nevill <nevillm@ethz.ch>

Use give_away_cap to implicitly delete caps being sent to local domains for a channel.


# fd1295ab 10-May-2012 Mark Nevill <nevillm@ethz.ch>

Fixed inconsistent rx handler names in capops.


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

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


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

First stage of integrating "copy" into ump cap transfer.


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

Split up and moved around monitor's private includes.


# b600a240 08-Mar-2013 Kornilios Kourtis <kkourt@inf.ethz.ch>

New tracing infrastructure

This is a Distributed Systems Lab project by
Alexander Grest <agrest@student.ethz.ch> and David Stolz <stolzda@ethz.ch>


# 16a29a96 27-Feb-2012 Gerd Zellweger <zgerd@student.ethz.ch>

Some debug output changes.


# 84337f97 27-Feb-2012 Gerd Zellweger <zgerd@student.ethz.ch>

Continuation for boot_core_reply_handler in monitor.


# c259de4d 27-Feb-2012 Gerd Zellweger <zgerd@student.ethz.ch>

Small addition that allows booting cores in parallel. We track
where we sent notifications to avoid duplicates and we don't send
notifications to monitors that are not completely up yet (to
avoid memory allocation errors).


# 579c556f 11-Feb-2012 Gerd Zellweger <zgerd@student.ethz.ch>

Added replication for ramfs iref among monitors.

--HG--
branch : octopus.chips-remove


# 38d67cc4 23-Jan-2012 Andrew Baumann <andrew.baumann@microsoft.com>

simplify out-of-band cap transfer to avoid asynchronously reporting errors back to the sender

As discussed on the mailing list (10.01.2012 "Proposed change to
out-of-band cap transfer"), this change changes the semantics so that
an error in delivery of the cap is reported to the receiver (rather
than asynchronously to the sender) along with a NULL capref. This
simplifies the implementation within the monitor, and results in saner
error handling on both sides.


# 70c30847 23-Jan-2012 Andrew Baumann <andrew.baumann@microsoft.com>

remove support for Beehive

see the mailing list discussion at the end of December 2011 for motivation


# b533344b 29-Dec-2011 Andrew Baumann <andrew.baumann@microsoft.com>

general cleanup of monitor internals

* start to abtract management of bindings to other monitors
(in preparation for multihop support)

* move code out of header files -- if the inlining is such a big
win, we can put it back later, but it seemed excessive

* fix a lot of irritating misnamed variables and
fields: most "closure" objects, and a lot of "st" pointers,
were in fact pointers to bindings

* deprecated num_cores_request message

* removed pingpong code from intermon interface

* removed some dead code

there should be no changes to runtime behaviour or APIs/interfaces
outside the monitor

--HG--
rename : usr/monitor/iref.h => usr/monitor/iref.c


# a6b4f894 27-Dec-2011 Andrew Baumann <andrew.baumann@microsoft.com>

rename MAX_CPUS to MAX_COREID, and increase it to 254 (to match an 8-bit coreid_t)

* Kludged around the limitations of coremask_t enough to keep rcap_db_null compiling.
* Removed the config option that allowed users to lower it. this
doesn't make much sense any more, unless we are going in for really
silly compile-time optimisations. This change requires updating
Config.hs


# 1b898a66 27-Dec-2011 Andrew Baumann <andrew.baumann@microsoft.com>

Remove old routing/group communication library.

As discussed briefly on the list (22.{02,12}.2011), the library was
unused since early this year, and has been deprecated because it:
* is unable to interface to flounder/THC
* assumes that a set of core IDs can be expressed in a single-word bitmap
* doesn't work on machines with large (> 32?) numbers of cores (but
this is probably just a bug?)

Since we have the new multihop code in the tree, and seem to have
decided that this is an architectural dead-end, I'm removing this code
in the interest of least confusion as we start building functionality
on the new multihop code.

The one major side-effect of this change is that it is no longer
possible to compile the non-NULL remote cap management database
implementations (rcap_db_central, rcap_db_twopc). The code remains in
the tree for future resurrection, however.


# e3602fe9 08-Nov-2011 Simon Peter <speter@inf.ethz.ch>

Reverted commit 34798966b84b, which was mistakenly applied twice.


# c5005e8f 16-Sep-2011 Stefan Kästle <stefan.kaestle@inf.ethz.ch>

Fixed a small bug with the multihop messaging. Other interconnect drivers written down after the multihop code intialization should be loaded as well. The return statement shouln't be there


# 94397e77 24-Aug-2011 Simon Peter <speter@inf.ethz.ch>

Fixed domain spanning under memory reclamation: Need to mark custom
created caps as remote.


# 3bea1122 24-Aug-2011 Simon Peter <speter@inf.ethz.ch>

Fixed domain spanning under memory reclamation: Need to mark custom
created caps as remote.


# 149c2066 24-Aug-2011 Simon Peter <speter@inf.ethz.ch>

Fixed domain spanning under memory reclamation: Need to mark custom
created caps as remote.


# 839a630a 16-Aug-2011 akhi akhi@inf.ethz.ch <akhi akhi@inf.ethz.ch>

Apply the multihop patch by alexander grest based on his bachelor thesis


# 559955b4 02-Aug-2011 Simon Peter <speter@inf.ethz.ch>

Merge from ASPLOS tree.


# 9299dcef 08-Jul-2011 Stefan Kästle <stefan.kaestle@inf.ethz.ch>

Initial version of public stable barrelfish repository.