1 2 3 4 5 6 7 8
9
10 import xdc.runtime.Assert;
11
12 /*!
13 * ======== GateMPSupportNull ========
14 * Module to plug GateMP proxies
15 */
16 module GateMPSupportNull inherits ti.sdo.ipc.interfaces.IGateMPSupport
17 {
18
19 /*!
20 * Assert raised when trying to use GateMPSupportNull's enter or leave
21 */
22 config Assert.Id A_invalidAction = {
23 msg: "A_invalidAction: Cannot use ti.sdo.ipc.gates.GateMPSupportNull"
24 };
25
26 /*!
27 * Error codes returned by certain calls in GateMP
28 */
29 enum Action {
30 Action_NONE = 0,
31 Action_ASSERT = 1
32 };
33
34 /*!
35 * ======== action ========
36 * Assert if the enter and/or leave is called
37 */
38 config Action action = Action_ASSERT;
39
40 instance:
41 internal:
42
43 struct Instance_State {
44 UInt resourceId;
45 };
46
47 }