1 2 3 4 5 6 7 8 9 10 11
12 13 14
15 package xdc.platform;
16
17 /*!
18 * ======== ExeContext ========
19 * Stock implementation of xdc.platform.IExeContext.
20 *
21 * This module is used by platforms to create execution contexts that
22 * must be returned by `{@link xdc.platform.IPlatform#getExeContext()}`.
23 */
24 metaonly module ExeContext inherits xdc.platform.IExeContext
25 {
26
27 instance:
28 /*!
29 * ======== create ========
30 * Create an execution context.
31 *
32 * An execution context is the "view" that an executable has of the
33 * CPU it is running on; e.g., the accessible memory map including
34 * platform specific memory or memory mapped registers.
35 *
36 * @param(cpu) an `{@link xdc.platform.IExeContext#Cpu}` structure
37 * that uniquely identifies a specific CPU
38 * @param(board) an `{@link xdc.platform.IPlatform#Board}` structure
39 * that uniquely identifies a specific board
40 */
41 create(xdc.platform.IExeContext.Cpu cpu,
42 xdc.platform.IPlatform.Board board);
43 }
44
45 46 47
48