1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
32 33 34
35
36 package ti.sysbios.hal;
37
38 /*!
39 * ======== SysCall ========
40 * SysCall Manager proxy.
41 *
42 * @p(html)
43 * <h3> Calling Context </h3>
44 * <table border="1" cellpadding="3">
45 * <colgroup span="1"></colgroup> <colgroup span="5" align="center">
46 * </colgroup>
47 *
48 * <tr><th> Function </th><th> Hwi </th><th> Swi </th>
49 * <th> Task </th><th> Main </th><th> Startup </th></tr>
50 * <!-- -->
51 * <tr><td> {@link #enterPrivMode} </td><td> Y </td><td> Y </td>
52 * <td> Y </td><td> Y </td><td> Y </td></tr>
53 * <tr><td> {@link #enterUnprivMode} </td><td> Y </td><td> Y </td>
54 * <td> Y </td><td> Y </td><td> Y </td></tr>
55 * <tr><td colspan="6"> Definitions: <br />
56 * <ul>
57 * <li> <b>Hwi</b>: API is callable from a Hwi thread. </li>
58 * <li> <b>Swi</b>: API is callable from a Swi thread. </li>
59 * <li> <b>Task</b>: API is callable from a Task thread. </li>
60 * <li> <b>Main</b>: API is callable during any of these phases: </li>
61 * <ul>
62 * <li> In your module startup after this module is started
63 * (e.g. Hwi_Module_startupDone() returns TRUE). </li>
64 * <li> During xdc.runtime.Startup.lastFxns. </li>
65 * <li> During main().</li>
66 * <li> During BIOS.startupFxns.</li>
67 * </ul>
68 * <li> <b>Startup</b>: API is callable during any of these phases:</li>
69 * <ul>
70 * <li> During xdc.runtime.Startup.firstFxns.</li>
71 * <li> In your module startup before this module is started
72 * (e.g. Hwi_Module_startupDone() returns FALSE).</li>
73 * </ul>
74 * </ul>
75 * </td></tr>
76 *
77 * </table>
78 * @p
79 */
80
81 @CustomHeader
82
83 module SysCall inherits ti.sysbios.interfaces.ISysCall
84 {
85 /*!
86 * ======== SysCallProxy ========
87 * Target/device-specific SysCall implementation
88 */
89 proxy SysCallProxy inherits ti.sysbios.interfaces.ISysCall;
90
91 @Macro
92 override Void enterPrivMode();
93
94 @Macro
95 override Void enterUnprivMode();
96
97 @Macro
98 override Void restorePrivMode();
99 }