1 /*
2 * Copyright (c) 2008 Texas Instruments and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 * Texas Instruments - initial implementation
10 *
11 * */
12 /*
13 * ======== ExeContext.xdc ========
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 metaonlymodule 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 * @(#) xdc.platform; 1, 0, 1, 0,292; 9-14-2010 16:36:23; /db/ztree/library/trees/xdc/xdc-v49x/src/packages/
47 */
48