Liblor / advanced_operating_systems_2020

Advanced Operating System Course at ETHZ
MIT License
19 stars 4 forks source link

Implement proper URPC communication and migrate existing servers #122

Closed eikendev closed 4 years ago

eikendev commented 4 years ago
eikendev commented 4 years ago

One could use the waitset implementation to make waiting on URPC messages blocking. However, for an initial version, we will go with a non-blocking solution.

The marshalling can be adapted from the existing LMP implementations. The difference will be that we call some URPC-specific sending primitive.

One thought is that we can use the current marshalling as is, and replace the call to aos_rpc_lmp_send_message() with aos_rpc_send_message(). aos_rpc_send_message() will have to decide whether to use LMP or URPC. That way, the marshalling is completely shared. @leopoldsedev, what do you think?

abertschi commented 4 years ago

In order to implement:

Make monitorserver forward all LMP packets to the correct server over URPC

in #121 we need an API for URPC. Please let us know once you have an initial draft of an API we can work with.

eikendev commented 4 years ago

Sorry, this slipped through somehow. You can see our exposed functions at in aos_rpc_ump.h.