1 //
2 // Copyright (c) 2010-2024 Antmicro
3 //
4 //  This file is licensed under the MIT License.
5 //  Full license text is available in 'licenses/MIT.txt'.
6 //
7 namespace Antmicro.Renode.Plugins.CoSimulationPlugin.Connection.Protocols
8 {
9     // ActionType must be in sync with the cosimulation library.
10     // Append new actions to the end to preserve compatibility.
11     public enum ActionType
12     {
13         InvalidAction = 0,
14         TickClock,
15         WriteToBus, //obsolete
16         ReadFromBus, //obsolete
17         ResetPeripheral,
18         LogMessage,
19         Interrupt,
20         Disconnect,
21         Error,
22         OK,
23         Handshake,
24         PushDoubleWord,
25         GetDoubleWord,
26         PushWord,
27         GetWord,
28         PushByte,
29         GetByte,
30         IsHalted,
31         RegisterGet,
32         RegisterSet,
33         SingleStepMode,
34         ReadFromBusByte,
35         ReadFromBusWord,
36         ReadFromBusDoubleWord,
37         ReadFromBusQuadWord,
38         WriteToBusByte,
39         WriteToBusWord,
40         WriteToBusDoubleWord,
41         WriteToBusQuadWord,
42         PushQuadWord,
43         GetQuadWord,
44         PushConfirmation,
45         Step = 100, //all custom action type numbers must not fall in this range
46     }
47 }
48