cpn: Generic wrapper for injection point
As for the pandaboard to navigate fast to the injection instruction we need to deliver a hop chain to the fail-client, this commit adds a generic wrapper for a injection point. For now we have only the two options hop chain and instruction offset, so it is activated via a cmake ON/OFF switch. Change-Id: Ic01a07a30ac386d4316e6d6d271baf1549db966a
This commit is contained in:
23
src/core/comm/InjectionPointHopsMessage.proto
Normal file
23
src/core/comm/InjectionPointHopsMessage.proto
Normal file
@ -0,0 +1,23 @@
|
||||
message InjectionPointMessage {
|
||||
// Costs of the hop chain on the PandaBoard
|
||||
// ToDo: Could be eliminated, but it is nice for evaluation
|
||||
optional uint32 costs = 3;
|
||||
|
||||
// If checkpoint must be used for this hop chain, id is set properly
|
||||
optional uint32 checkpoint_id = 1;
|
||||
|
||||
// Repeated groups can't be defined as notempty, so a manual
|
||||
// non-empty check is required at usage
|
||||
|
||||
// As we assume hops to always watch addresses of length 1, we
|
||||
// don't encode the length in here
|
||||
repeated group Hops = 2 {
|
||||
required uint64 address = 1;
|
||||
enum AccessType {
|
||||
EXECUTE = 1;
|
||||
READ = 2;
|
||||
WRITE = 3;
|
||||
}
|
||||
required AccessType accesstype = 2;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user