1 /*
2 * ======== fwkPort.h ========
3 */
6 #ifndef _FWK_PORT_H_
7 #define _FWK_PORT_H_
9 #include <xdc/std.h>
10 #include <xdc/runtime/LoggerBuf.h>
11 #include <ti/xdais/xdas.h>
13 // ------------------------------------- //
14 // Below is temporary for framework port //
15 // ------------------------------------- //
16 // SYS/BIOS 6.45 LOG APIs are different than BIOS 6.21
17 // log.h -- replacements
18 #define LOG_Obj LoggerBuf_Struct
19 #define LOG_disable(a)
20 #define LOG_printf(...)
22 // Not defined in SYS/BIOS 6.45
23 // sys.h -- extracted defs
24 #define SYS_OK 0 /* no error */ // packages/ti/bios/include/sys.h
25 #define SYS_EALLOC 1 /* memory allocation error */ // packages/ti/bios/include/sys.h
27 // 1st parameter for audioStream1Task().
28 // SYS/BIOS 6.45 doesn't allow more than 2 parameters for a task.
29 extern Int gBetaPrimeValue;
31 //extern LOG_Obj trace;
33 #endif /* _FWK_PORT_H_ */