1 /*
2  * brddefs.h
3  *
4  * DSP-BIOS Bridge driver support functions for TI OMAP processors.
5  *
6  * Global BRD constants and types, shared between DSP API and Bridge driver.
7  *
8  * Copyright (C) 2005-2006 Texas Instruments, Inc.
9  *
10  * This package is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License version 2 as
12  * published by the Free Software Foundation.
13  *
14  * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17  */
18 
19 #ifndef BRDDEFS_
20 #define BRDDEFS_
21 
22 /* platform status values */
23 #define BRD_STOPPED     0x0	/* No Monitor Loaded, Not running. */
24 #define BRD_IDLE        0x1	/* Monitor Loaded, but suspended. */
25 #define BRD_RUNNING     0x2	/* Monitor loaded, and executing. */
26 #define BRD_UNKNOWN     0x3	/* Board state is indeterminate. */
27 #define BRD_LOADED      0x5
28 #define BRD_SLEEP_TRANSITION 0x6	/* Sleep transition in progress */
29 #define BRD_HIBERNATION 0x7	/* MPU initiated hibernation */
30 #define BRD_RETENTION     0x8	/* Retention mode */
31 #define BRD_DSP_HIBERNATION     0x9	/* DSP initiated hibernation */
32 #define BRD_ERROR		0xA	/* Board state is Error */
33 
34 /* BRD Object */
35 struct brd_object;
36 
37 #endif /* BRDDEFS_ */
38